CVE-2025-71395SurrealDB before 2.2.2 Memory Exhaustion via string::replace
Updated under an hour ago ()
Does this affect you?
It affects surrealdb. Add what you run to find out whether that includes you.
No exploitation reported and no EPSS estimate yet.
Do this next
Free account, 1 product
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.
- CVSS
- 7.1 HIGH (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- Weakness (CWE)
- CWE-789
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- Not loaded for this CVE
- Assigned by
- VulnCheck
- NVD analysis
- Analyzed
- Record last updated
- Oct 8, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
surrealdb surrealdb surrealdb:surrealdb (from the name) | before 2.2.2; 2.2.2 not affected | CNA record |
surrealdb surrealdb surrealdb:surrealdb | before 2.0.5; from 2.1.0 before 2.1.5; from 2.2.0 before 2.2.2 | NVD |
References
- https://github.com/surrealdb/surrealdb/security/advisories/GHSA-3633-g6mg-p6qqvendor-advisory
- https://www.vulncheck.com/advisories/surrealdb-before-memory-exhaustion-via-string-replacethird-party-advisory
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.