Answer in brief
CVE-2025-71397 records a High severity (CVSS 7.1) vulnerability in SurrealDB before 2.2.2 CPU Exhaustion via nested FOR loops. The current sources do not mark it as known exploited. The current feed maps surrealdb/surrealdb (generic), surrealdb/surrealdb (generic), surrealdb/surrealdb (generic). Check affected ranges and fixed versions before updating.
Analysis pending evidence review
HOL Guard separates source facts from reviewed analysis. See the methodology.
CVSS is 7.1. The current sources do not mark it as known exploited. Treat this as a source-backed prioritization signal, not a statement about your environment.
Analysis status
Analysis pending evidence review
Factual feed record only; HOL analysis is not approved for indexing. Read the methodology.
The current feed maps surrealdb/surrealdb (generic), surrealdb/surrealdb (generic), surrealdb/surrealdb (generic). Check affected ranges and fixed versions before updating.
| Product | Affected versions | Fixed versions |
|---|---|---|
| cpe:2.3:a:surrealdb:surrealdb:*:*:*:*:*:*:*:* | Not reported | Not reported |
| Package | Affected range | Fixed version |
|---|---|---|
| surrealdb/surrealdbgeneric | >=0 <2.2.2 | 2.2.2 |
| surrealdb/surrealdbgeneric | >=0 <2.1.5 | 2.1.5 |
| surrealdb/surrealdbgeneric | >=0 <2.0.5 | 2.0.5 |
Published upstream
Jul 18, 2026
Evidence: source:cvelist:source_dates:source-dates:recordSource modified
Oct 8, 2026
Evidence: source:cvelist:source_dates:source-dates:recordFirst seen by HOL
Aug 13, 2026
SurrealDB before 2.0.5, 2.1.x before 2.1.5, and 2.2.x before 2.2.2 allows authenticated users with OWNER or EDITOR permissions (at the root, namespace, or database level) to define custom database functions via DEFINE FUNCTION using nested FOR loops. Although a single loop's iteration count is constrained, nesting multiple loops (e.g., each with 1,000,000 iterations) is not, so an attacker can execute a function that consumes all server CPU time. Configured timeouts do not stop the execution, rendering the server unresponsive to other queries and connections until it is manually restarted.
Quoted source text, attributed separately from HOL analysis.