CVE-2025-71397
SurrealDB CPU exhaustion via custom functions result in total DoS
Summary
Remediation
Upgrade to the fixed version using your package manager.
cargo update -p surrealdb --precise 2.1.5
cargo update -p surrealdb --precise 2.2.2
cargo update -p surrealdb --precise 2.0.5
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (3)
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-835
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 6.5 score means for each attack dimension.
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
References
Frequently Asked Questions
- What is CVE-2025-71397?
- SurrealDB CPU exhaustion via custom functions result in total DoS This vulnerability has been assigned a severity rating of HIGH (CVSS score: 6.5/10).
- How do I check if my project is affected by CVE-2025-71397?
- CVE-2025-71397 affects surrealdb. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-71397 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation requires specific conditions or has limited impact. Remediate within weeks.
Also Known As
Related CVEs
- CVE-2025-71395HIGH
SurrealDB memory exhaustion via string::replace using regex
- CVE-2026-63763HIGH
SurrealDB Affected by Confused Deputy Privilege Escalation through Future Fields and Functions
- GHSA-4vgr-h27g-cf9pHIGH
SurrealDB: HTTP RPC Session Race Condition Allows Privilege Escalation
- GHSA-5qfp-32cf-69jhHIGH
SurrealDB: HTTP /rpc `sessions` method leaks attached session UUIDs, enabling full session hijack by anonymous callers
- CVE-2024-58362HIGH
Untrusted Query Object Evaluation in RPC API
- CVE-2025-71398MEDIUM
SurrealDB bypass of deny-net flags via redirect results in server-side request forgery (SSRF)
- CVE-2024-58365MEDIUM
Uncaught Exception in Macro Expecting Native Function to Exist
- CVE-2025-11060MEDIUM
SurrealDB is Vulnerable to Unauthorized Data Exposure via LIVE Query Subscriptions
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies