{ "dataType": "CVE_RECORD", "dataVersion": "5.2", "cveMetadata": { "cveId": "CVE-2025-71395", "assignerOrgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10", "state": "PUBLISHED", "assignerShortName": "VulnCheck", "dateReserved": "2026-07-16T12:14:41.770Z", "datePublished": "2026-07-18T13:10:13.744Z", "dateUpdated": "2026-07-28T01:48:18.301Z" }, "containers": { "cna": { "providerMetadata": { "orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10", "shortName": "VulnCheck", "dateUpdated": "2026-07-28T01:48:18.301Z" }, "datePublic": "2025-04-10T00:00:00.000Z", "title": "SurrealDB before 2.2.2 Memory Exhaustion via string::replace", "descriptions": [ { "lang": "en", "value": "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." } ], "problemTypes": [ { "descriptions": [ { "lang": "en", "description": "Memory Allocation with Excessive Size Value", "cweId": "CWE-789", "type": "CWE" } ] } ], "affected": [ { "vendor": "surrealdb", "product": "surrealdb", "defaultStatus": "unaffected", "packageURL": "pkg:cargo/SurrealDB", "versions": [ { "version": "0", "status": "affected", "versionType": "semver", "lessThan": "2.2.2" }, { "version": "2.2.2", "status": "unaffected", "versionType": "semver" } ] }, { "vendor": "surrealdb", "product": "surrealdb", "defaultStatus": "unaffected", "packageURL": "pkg:cargo/SurrealDB", "versions": [ { "version": "0", "status": "affected", "versionType": "semver", "lessThan": "2.1.5" }, { "version": "2.1.5", "status": "unaffected", "versionType": "semver" } ] }, { "vendor": "surrealdb", "product": "surrealdb", "defaultStatus": "unaffected", "packageURL": "pkg:cargo/SurrealDB", "versions": [ { "version": "0", "status": "affected", "versionType": "semver", "lessThan": "2.0.5" }, { "version": "2.0.5", "status": "unaffected", "versionType": "semver" } ] } ], "cpeApplicability": [ { "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:a:surrealdb:surrealdb:*:*:*:*:*:*:*:*", "versionEndExcluding": "2.2.2" }, { "vulnerable": true, "criteria": "cpe:2.3:a:surrealdb:surrealdb:*:*:*:*:*:*:*:*", "versionEndExcluding": "2.1.5" }, { "vulnerable": true, "criteria": "cpe:2.3:a:surrealdb:surrealdb:*:*:*:*:*:*:*:*", "versionEndExcluding": "2.0.5" } ] } ] } ], "metrics": [ { "format": "CVSS", "cvssV4_0": { "version": "4.0", "vectorString": "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", "attackVector": "NETWORK", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "LOW", "userInteraction": "NONE", "vulnConfidentialityImpact": "NONE", "vulnIntegrityImpact": "NONE", "vulnAvailabilityImpact": "HIGH", "subConfidentialityImpact": "NONE", "subIntegrityImpact": "NONE", "subAvailabilityImpact": "NONE", "baseScore": 7.1, "baseSeverity": "HIGH" } } ], "references": [ { "url": "https://github.com/surrealdb/surrealdb/security/advisories/GHSA-3633-g6mg-p6qq", "name": "GitHub Security Advisory (GHSA-3633-g6mg-p6qq)", "tags": [ "vendor-advisory" ] }, { "name": "VulnCheck Advisory: SurrealDB before 2.2.2 Memory Exhaustion via string::replace", "tags": [ "third-party-advisory" ], "url": "https://www.vulncheck.com/advisories/surrealdb-before-memory-exhaustion-via-string-replace" } ], "credits": [ { "lang": "en", "value": "cure53", "type": "reporter" } ], "x_generator": { "engine": "vulncheck-endgame" } }, "adp": [ { "metrics": [ { "other": { "type": "ssvc", "content": { "timestamp": "2026-07-22T19:09:25.666132Z", "id": "CVE-2025-71395", "options": [ { "Exploitation": "none" }, { "Automatable": "no" }, { "Technical Impact": "partial" } ], "role": "CISA Coordinator", "version": "2.0.3" } } } ], "title": "CISA ADP Vulnrichment", "providerMetadata": { "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "shortName": "CISA-ADP", "dateUpdated": "2026-07-22T19:09:37.557Z" } } ] } }