{"id":"CVE-2025-71395","aliases":[],"cve":{"records":[{"id":"CVE-2025-71395","source":"VulnCheck","state":"PUBLISHED","reasons":[],"replacements":[],"disputed":false,"unsupportedWhenAssigned":false,"reserved":"2026-07-16T12:14:41.770Z","published":"2026-07-18T13:10:13.744Z","modified":"2026-10-29T21:15:22.098Z"}],"publishers":[{"name":"VulnCheck","role":"CNA","organizationId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","modified":"2026-10-29T21:15:22.098Z"},{"name":"CISA-ADP","role":"ADP","organizationId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","modified":"2026-07-22T19:09:37.557Z"}],"references":[{"url":"https://github.com/surrealdb/surrealdb/security/advisories/GHSA-3633-g6mg-p6qq","tags":["vendor-advisory"],"source":"VulnCheck"},{"url":"https://www.vulncheck.com/advisories/surrealdb-before-memory-exhaustion-via-string-replace","tags":["third-party-advisory"],"source":"VulnCheck"}],"weaknesses":[{"id":"CWE-789","description":"Memory Allocation with Excessive Size Value","source":"VulnCheck"}],"applicability":[{"source":"VulnCheck","statements":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:surrealdb:surrealdb:*:*:*:*:*:*:*:*","versionEndExcluding":"2.2.2","versionStartIncluding":"2.2.0"},{"vulnerable":true,"criteria":"cpe:2.3:a:surrealdb:surrealdb:*:*:*:*:*:*:*:*","versionEndExcluding":"2.1.5","versionStartIncluding":"2.1.0"},{"vulnerable":true,"criteria":"cpe:2.3:a:surrealdb:surrealdb:*:*:*:*:*:*:*:*","versionEndExcluding":"2.0.5"}]}]}]}],"prioritization":[{"source":"CISA-ADP","type":"SSVC","role":"CISA Coordinator","timestamp":"2026-07-22T19:09:25.666132Z","decisions":[{"name":"Exploitation","value":"none"},{"name":"Automatable","value":"no"},{"name":"Technical Impact","value":"partial"}]}]},"title":"SurrealDB before 2.2.2 Memory Exhaustion via string::replace","titleSource":"VulnCheck","descriptionSource":"VulnCheck","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.","score":7.1,"severity":"high","published":"2026-07-18T13:10:13.744Z","modified":"2026-10-29T21:15:22.098Z","withdrawn":false,"knownExploited":false,"affected":[],"products":[{"vendor":"surrealdb","name":"surrealdb","platforms":[],"versions":[{"version":"2.2.0","status":"affected","lessThan":"2.2.2","versionType":"semver"},{"version":"2.2.2","status":"unaffected","versionType":"semver"}],"defaultStatus":"unaffected","packageURL":"pkg:cargo/surrealdb","packageIdentity":{"ecosystem":"crates.io","name":"surrealdb"},"cpes":[],"source":"VulnCheck","url":"https://www.cve.org/CVERecord?id=CVE-2025-71395"},{"vendor":"surrealdb","name":"surrealdb","platforms":[],"versions":[{"version":"2.1.0","status":"affected","lessThan":"2.1.5","versionType":"semver"},{"version":"2.1.5","status":"unaffected","versionType":"semver"}],"defaultStatus":"unaffected","packageURL":"pkg:cargo/surrealdb","packageIdentity":{"ecosystem":"crates.io","name":"surrealdb"},"cpes":[],"source":"VulnCheck","url":"https://www.cve.org/CVERecord?id=CVE-2025-71395"},{"vendor":"surrealdb","name":"surrealdb","platforms":[],"versions":[{"version":"0","status":"affected","lessThan":"2.0.5","versionType":"semver"},{"version":"2.0.5","status":"unaffected","versionType":"semver"}],"defaultStatus":"unaffected","packageURL":"pkg:cargo/surrealdb","packageIdentity":{"ecosystem":"crates.io","name":"surrealdb"},"cpes":[],"source":"VulnCheck","url":"https://www.cve.org/CVERecord?id=CVE-2025-71395"}],"remediation":[],"references":["https://github.com/surrealdb/surrealdb/security/advisories/GHSA-3633-g6mg-p6qq","https://www.vulncheck.com/advisories/surrealdb-before-memory-exhaustion-via-string-replace"],"sources":[{"name":"CVE","id":"CVE-2025-71395","modified":"2026-10-29T21:15:22.098Z","url":"https://www.cve.org/CVERecord?id=CVE-2025-71395"}],"assessments":[{"source":"VulnCheck","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","score":7.1}],"sourceAffected":[],"observedAt":"2026-10-29T21:39:20.737Z","kev":{"status":"not-listed","checkedAt":"2026-10-31T10:20:31.211Z"},"coverage":[{"source":"NVD","status":"available","checkedAt":"2026-10-30T00:35:33.489Z","attemptedAt":"2026-10-30T00:35:33.489Z"},{"source":"GHSA","status":"available","checkedAt":"2026-10-30T00:35:33.748Z","attemptedAt":"2026-10-30T00:35:33.748Z"},{"source":"EUVD","status":"available","checkedAt":"2026-10-30T00:35:32.864Z","attemptedAt":"2026-10-30T00:35:32.864Z"},{"source":"EPSS","status":"available","checkedAt":"2026-10-30T00:35:32.559Z","attemptedAt":"2026-10-30T00:35:32.559Z"}],"evidence":[{"source":"FIRST EPSS","id":"CVE-2025-71395","url":"https://www.first.org/epss/","probability":0.0045,"percentile":0.39091,"date":"2026-10-29","checkedAt":"2026-10-30T00:35:32.559Z"},{"source":"ENISA EUVD","id":"EUVD-2025-210486","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2025-210486","modified":"Oct 29, 2026, 9:15:22 PM","score":7.1,"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","checkedAt":"2026-10-30T00:35:32.864Z"},{"source":"NVD","id":"CVE-2025-71395","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-71395","modified":"2026-10-29T21:17:06.190","score":7.1,"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","checkedAt":"2026-10-30T00:35:33.489Z"},{"source":"NVD","id":"CVE-2025-71395","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-71395","modified":"2026-10-29T21:17:06.190","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","checkedAt":"2026-10-30T00:35:33.489Z"},{"source":"GitHub Advisory Database","id":"GHSA-849x-5qr7-wxfm","url":"https://github.com/advisories/GHSA-849x-5qr7-wxfm","modified":"2026-08-19T18:32:00Z","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","checkedAt":"2026-10-30T00:35:33.748Z"}],"aiSummary":{"text":"SurrealDB versions before 2.2.2 have a memory exhaustion vulnerability in the string::replace function. An authenticated attacker can cause denial of service through unbounded string allocations. The weakness is due to excessive size value in memory allocation.","model":"@cf/meta/llama-3.3-70b-instruct-fp8-fast","generatedAt":"2026-10-30T09:39:38.261Z","sources":[{"name":"CVE","url":"https://www.cve.org/CVERecord?id=CVE-2025-71395"}]}}