Unrated severityNVD Advisory· Published Jul 18, 2026· Updated Jul 28, 2026
SurrealDB before 2.2.2 Memory Exhaustion via string::replace
CVE-2025-71395
Description
SurrealDB versions before 2.2.2 contain a memory exhaustion vulnerability in the string::replace function that fails to restrict resulting string length when using regex patterns. An authenticated attacker can craft a malicious query to exhaust server memory through unbounded string allocations, causing denial of service.
Affected products
1Patches
Vulnerability mechanics
References
2- github.com/surrealdb/surrealdb/security/advisories/GHSA-3633-g6mg-p6qqmitrevendor-advisory
- www.vulncheck.com/advisories/surrealdb-before-memory-exhaustion-via-string-replacemitrethird-party-advisory
News mentions
0No linked articles in our index yet.