cveboard RSS feed

CVE-2025-71397

CVE.org · Published

Historical CVEsJSONAI instructions

Record status
Published
Identifier year (not publication year)
2025
Source publication
Source updated
Imported by cveboard
Source snapshot
cve_2026-10-24_midnight_baseline ·

Plain text

CNA source text (English)

SurrealDB before 2.2.2 CPU Exhaustion via nested FOR loops

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.

Scoped product and version facts

Fix information unknown; no fixed version is derived here. Missing information does not prove that no fix exists.

Exploitation unknown; this catalogue does not assess exploitation.

surrealdb

Vendor
surrealdb
Product
surrealdb
Platforms
Unknown
Default status
unaffected
surrealdb · Scoped product and version facts
Version (version)Status (status)Version scheme (versionType)Exclusive end (lessThan)Inclusive end (lessThanOrEqual)Status changes (at → status)
0affectedsemver2.2.2UnavailableNone listed
2.2.2unaffectedsemverUnavailableUnavailableNone listed

surrealdb

Vendor
surrealdb
Product
surrealdb
Platforms
Unknown
Default status
unaffected
surrealdb · Scoped product and version facts
Version (version)Status (status)Version scheme (versionType)Exclusive end (lessThan)Inclusive end (lessThanOrEqual)Status changes (at → status)
0affectedsemver2.1.5UnavailableNone listed
2.1.5unaffectedsemverUnavailableUnavailableNone listed

surrealdb

Vendor
surrealdb
Product
surrealdb
Platforms
Unknown
Default status
unaffected
surrealdb · Scoped product and version facts
Version (version)Status (status)Version scheme (versionType)Exclusive end (lessThan)Inclusive end (lessThanOrEqual)Status changes (at → status)
0affectedsemver2.0.5UnavailableNone listed
2.0.5unaffectedsemverUnavailableUnavailableNone listed