CVE-2025-71393
EUVD-2025-21048418.07.2026, 14:17
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.Enginsight
Affected Products (NVD)
| Vendor | Product | Version |
|---|---|---|
| surrealdb | surrealdb | 𝑥 < 2.0.5 |
| surrealdb | surrealdb | 2.1.0 ≤ 𝑥 < 2.1.5 |
| surrealdb | surrealdb | 2.2.0 ≤ 𝑥 < 2.2.2 |
𝑥
= Vulnerable software versions
Common Weakness Enumeration