CVE-2025-71393 — Vulnerability in surrealdb — CVE Details
SurrealDB vulnerable to memory exhaustion via nested functions and scripts
Summary
Advisory Timeline
- First published April 10, 2025 (550 days ago).
- Last revised July 19, 2026 — 464 days after initial publication.
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)
Affects 1 ecosystem: crates.io (1).
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-674
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 6.1 score means for each attack dimension.
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
References
Frequently Asked Questions
- What is CVE-2025-71393?
- SurrealDB vulnerable to memory exhaustion via nested functions and scripts This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 6.1/10).
- How do I check if my project is affected by CVE-2025-71393?
- CVE-2025-71393 affects surrealdb. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-71393 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-2024-58362HIGH
Untrusted Query Object Evaluation in RPC API
- CVE-2026-63735HIGH
SurrealDB: Custom API route lets authenticated callers override namespace/database scope via URL path
- CVE-2024-58367HIGH
SurrealDB: Improper Authorization in Select Permissions
- 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
- CVE-2026-63740MEDIUM
SurrealDB: Array element-level (field.*) SELECT permissions leak denied elements to record users
- CVE-2024-58364MEDIUM
Uncaught Exception Handling Parsing Errors on Line Terminators
- CVE-2026-63743MEDIUM
SurrealDB: Port-specific --deny-net rules silently bypassed on HTTP redirect
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies