CVE-2025-71395 — Vulnerability in surrealdb — CVE Details
SurrealDB memory exhaustion via string::replace using regex
Summary
Advisory Timeline
- First published April 11, 2025 (549 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-789
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-71395?
- SurrealDB memory exhaustion via string::replace using regex 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-71395?
- CVE-2025-71395 affects surrealdb. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-71395 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-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
- CVE-2026-63755MEDIUM
SurrealDB: Scraping a TABLE with no available PERMISSIONS to current auth level
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies