{"id":"CVE-2025-71395","revision":"e7ed1f08952648a8a073edd5775ab360","records":[{"revision":"e7ed1f08952648a8a073edd5775ab360","observedAt":"2026-10-31T06:45:43.126+00:00","statement":{"source":"nvd","id":"CVE-2025-71395","aliases":[],"title":"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 exh…","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.","state":0,"publishedAt":"2026-07-18T14:17:10.963+00:00","modifiedAt":"2026-10-29T21:17:06.19+00:00","affected":[],"metrics":[{"system":"CVSS 4.0 · disclosure@vulncheck.com · Secondary","vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","score":7.1,"severity":"HIGH"},{"system":"CVSS 3.1 · nvd@nist.gov · Primary","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":6.5,"severity":"MEDIUM"}],"references":["https://github.com/surrealdb/surrealdb/security/advisories/GHSA-3633-g6mg-p6qq","https://www.vulncheck.com/advisories/surrealdb-before-memory-exhaustion-via-string-replace"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2025-71395","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Analyzed","weaknesses":["CWE-789"],"productCriteria":["cpe:2.3:a:surrealdb:surrealdb:*:*:*:*:*:*:*:*"],"sourceDates":{"published":"2026-07-18T14:17:10.963","lastModified":"2026-10-29T21:17:06.190"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2025-71395","identifiers":["CVE-2025-71395"]},"retained":false,"historicalAffected":[]}],"coverage":[]}