SurrealDB versions before 1.1.0 fail to enforce recursion depth limits when parsing nested SurrealQL statements including IF, RELATE, and attribute access idioms. Authorized attackers can submit queries with excessive nesting depth to cause stack overflow and crash the server.
CVE-2024-58370
Score 6.5 from GitHub Security Advisory (severity: HIGH) published 2026-07-18. a secondary CVSS source baseline 6.5; sources differ by 0.0.
- Lower severity and no public exploit yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 6.5
- EG Score
- 6.5(high)
- EG Risk
- 29(Track)EG Risk 29/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity65% × 45%Exploitation0% × 40%Automatability0% × 15%Action: Routine — remediate on your standard cadence. - EPSS
- 19.6%
- KEV
- Not listed
Published
July 18, 2026
Last Modified
July 22, 2026
Advisory Details (2)
Auto-updated Jul 18, 2026SurrealDB before 1.1.0 Uncontrolled Recursion Denial of Service | Advisories | VulnCheck
https://www.vulncheck.com/advisories/surrealdb-before-uncontrolled-recursion-denial-of-serviceUncontrolled Recursion in SurrealQL Parsing · Advisory · surrealdb/surrealdb · GitHub
https://github.com/surrealdb/surrealdb/security/advisories/GHSA-6r8p-hpg7-825gVendor Advisories for CVE-2024-58370(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Affected Packages
(1 across 1 ecosystem)
crates.io(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| surrealdb | — | 1.1.0 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 14× in last 7d / 14× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-23 14:17 UTCEPSS rescore
- 2026-07-23 14:17 UTCEPSS rescore
- 2026-07-23 02:45 UTCEG score recompute
- 2026-07-22 23:58 UTCEG score recompute
- 2026-07-22 23:58 UTCGHSA enrichment
- 2026-07-22 14:07 UTCEPSS rescore
- 2026-07-21 15:23 UTCEPSS rescore
- 2026-07-20 17:07 UTCEPSS rescore
- 2026-07-19 14:30 UTCEPSS rescore
- 2026-07-19 14:30 UTCEPSS rescore
- 2026-07-18 16:06 UTCEG score recompute
- 2026-07-18 16:06 UTCGHSA enrichment
- 2026-07-18 13:40 UTCEG score recompute
- 2026-07-18 13:39 UTCMITRE cvelistV5first tracked
Related CVEs(same CWE)
Frequently asked(5)
What is CVE-2024-58370?
When was CVE-2024-58370 disclosed?
Is CVE-2024-58370 actively exploited?
What is the CVSS score of CVE-2024-58370?
How do I remediate CVE-2024-58370?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2024-58370
Is Your Infrastructure Affected by CVE-2024-58370?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.