Unrated severityNVD Advisory· Published Jul 18, 2026· Updated Jul 28, 2026
SurrealDB before 2.2.2 Memory Exhaustion via Nested Functions
CVE-2025-71393
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.
Affected products
1Patches
Vulnerability mechanics
References
2- github.com/surrealdb/surrealdb/security/advisories/GHSA-m7rc-8w7m-r9qrmitrevendor-advisory
- www.vulncheck.com/advisories/surrealdb-before-memory-exhaustion-via-nested-functionsmitrethird-party-advisory
News mentions
0No linked articles in our index yet.