{"id":"CVE-2025-71395","aliases":["GHSA-3633-g6mg-p6qq"],"url":"https://o3.security/vulnerability/CVE-2025-71395","summary":"SurrealDB before 2.2.2 Memory Exhaustion via string::replace","details":"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.","published":"2026-07-18T13:10:13.744Z","modified":"2026-08-21T03:46:22.380795336Z","cvss":null,"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"crates.io","name":"surrealdb","fixedVersion":"2.2.2"},{"ecosystem":"crates.io","name":"surrealdb","fixedVersion":"2.1.5"},{"ecosystem":"crates.io","name":"surrealdb","fixedVersion":"2.0.5"}],"fix":null,"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/71xxx/CVE-2025-71395.json"},{"type":"ADVISORY","url":"https://github.com/surrealdb/surrealdb/security/advisories/GHSA-3633-g6mg-p6qq"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-71395"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/surrealdb-before-memory-exhaustion-via-string-replace"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-21T03:46:22.380795336Z"}}