CVE-2025-71393
Severity CVSS v4.0:
MEDIUM
Type:
Unavailable / Other
Publication date:
18/07/2026
Last modified:
13/08/2026
Description
SurrealDB before 2.2.2 with scripting enabled fails to properly enforce recursion limits when native functions contain embedded JavaScript that issues new queries. Authenticated attackers can bypass the recursion limit by chaining native and JavaScript function calls to trigger infinite recursion and exhaust server memory.
Impact
Base Score 4.0
6.00
Severity 4.0
MEDIUM
Base Score 3.x
6.50
Severity 3.x
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:a:surrealdb:surrealdb:*:*:*:*:*:*:*:* | 2.0.5 (excluding) | |
| cpe:2.3:a:surrealdb:surrealdb:*:*:*:*:*:*:*:* | 2.1.0 (including) | 2.1.5 (excluding) |
| cpe:2.3:a:surrealdb:surrealdb:*:*:*:*:*:*:*:* | 2.2.0 (including) | 2.2.2 (excluding) |
To consult the complete list of CPE names with products and versions, see this page



