Vulnerability in Surrealdb
CVE-2024-58370
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS: 0.005 (41.0th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 41st percentile — 41.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.005 · newest: 0.005 · change: 0.000
Affected products
- Surrealdb — versions 0, 1.1.0
Weakness classification (CWE)
References
- github.com/surrealdb/surrealdb/security/advisories/GHSA-6r8p-hpg7-825g (vendor-advisory, Vendor Advisory)
- www.vulncheck.com/advisories/surrealdb-before-uncontrolled-recursion-denial-of-… (Third Party Advisory, third-party-advisory)
Frequently asked questions
- What is CVE-2024-58370?
- CVE-2024-58370 is a medium-severity vulnerability in Surrealdb, classified under Uncontrolled Recursion. CVSS score: 6.5/10. Published 2026-07-18.
- How severe is CVE-2024-58370?
- Medium severity. CVSS v3 base score is 6.5 out of 10.