{ "dataType": "CVE_RECORD", "dataVersion": "5.2", "cveMetadata": { "cveId": "CVE-2025-71393", "assignerOrgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10", "state": "PUBLISHED", "assignerShortName": "VulnCheck", "dateReserved": "2026-07-16T12:14:41.770Z", "datePublished": "2026-07-18T13:10:12.360Z", "dateUpdated": "2026-07-28T01:48:16.910Z" }, "containers": { "cna": { "providerMetadata": { "orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10", "shortName": "VulnCheck", "dateUpdated": "2026-07-28T01:48:16.910Z" }, "datePublic": "2025-04-10T00:00:00.000Z", "title": "SurrealDB before 2.2.2 Memory Exhaustion via Nested Functions", "descriptions": [ { "lang": "en", "value": "SurrealDB before 2.2.2 with scripting enabled fails to properly enforce recursion limits when native functions contain embedded JavaScript that issues new queries. Authenticated attackers can bypass the recursion limit by chaining native and JavaScript function calls to trigger infinite recursion and exhaust server memory." } ], "problemTypes": [ { "descriptions": [ { "lang": "en", "description": "Uncontrolled Recursion", "cweId": "CWE-674", "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:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N", "attackVector": "NETWORK", "attackComplexity": "LOW", "attackRequirements": "PRESENT", "privilegesRequired": "LOW", "userInteraction": "NONE", "vulnConfidentialityImpact": "NONE", "vulnIntegrityImpact": "NONE", "vulnAvailabilityImpact": "HIGH", "subConfidentialityImpact": "NONE", "subIntegrityImpact": "NONE", "subAvailabilityImpact": "NONE", "baseScore": 6, "baseSeverity": "MEDIUM" } } ], "references": [ { "url": "https://github.com/surrealdb/surrealdb/security/advisories/GHSA-m7rc-8w7m-r9qr", "name": "GitHub Security Advisory (GHSA-m7rc-8w7m-r9qr)", "tags": [ "vendor-advisory" ] }, { "name": "VulnCheck Advisory: SurrealDB before 2.2.2 Memory Exhaustion via Nested Functions", "tags": [ "third-party-advisory" ], "url": "https://www.vulncheck.com/advisories/surrealdb-before-memory-exhaustion-via-nested-functions" } ], "credits": [ { "lang": "en", "value": "cure53", "type": "reporter" } ], "x_generator": { "engine": "vulncheck-endgame" } }, "adp": [ { "metrics": [ { "other": { "type": "ssvc", "content": { "timestamp": "2026-07-20T17:02:48.522453Z", "id": "CVE-2025-71393", "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-20T17:17:09.415Z" } } ] } }