SurrealDB before 1.1.1 contains a format string vulnerability in the rquickjs Exception::throw_type function when scripting is enabled. Attackers with scripting privileges can supply format string sequences in error inputs to read arbitrary memory or execute code with SurrealDB process privileges.
CVE-2024-58366
This high-severity CVE scores 8.8 under NVD CVSS v3. EPSS exploit probability: 0.3%, top 76% of all CVEs by exploit prediction. GitHub Security Advisory enrichment pending alignment with NVD CVSS.
- High severity, but no confirmed exploitation yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 8.8
- EG Score
- 8.8(medium)
- EG Risk
- 40(Track)EG Risk 40/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 computedSeverity88% × 45%Exploitation0% × 40%Automatability0% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- 0%
- EPSS %ILE
- 24%
- KEV
- Not listed
Published
July 18, 2026
Last Modified
August 13, 2026
Advisory Details (2)
Auto-updated Jul 18, 2026SurrealDB before 1.1.1 Format String via Scripting Functions | Advisories | VulnCheck
https://www.vulncheck.com/advisories/surrealdb-before-format-string-via-scripting-functionsExternally Controlled Format String in Scripting Functions · Advisory · surrealdb/surrealdb · GitHub
https://github.com/surrealdb/surrealdb/security/advisories/GHSA-q3gg-m8hr-h4x4Vendor Advisories for CVE-2024-58366(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.1 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 11× in last 7d / 81× 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.
Showing the most recent 100 of 169 total refreshes for this CVE.
- 2026-09-11 14:51 UTCEPSS rescore
- 2026-09-11 09:35 UTCEPSS rescore
- 2026-09-10 09:33 UTCEPSS rescore
- 2026-09-08 21:59 UTCEPSS rescore
- 2026-09-07 23:58 UTCEG score recompute
- 2026-09-07 23:58 UTCGHSA enrichment
- 2026-09-07 16:00 UTCEPSS rescore
- 2026-09-06 13:46 UTCEPSS rescore
- 2026-09-06 13:19 UTCGHSA enrichment
- 2026-09-05 20:25 UTCEG score recompute
- 2026-09-05 20:25 UTCGHSA enrichment
- 2026-09-04 13:59 UTCEPSS rescore
- 2026-09-04 05:05 UTCEPSS rescore
- 2026-09-02 14:10 UTCEPSS rescore
- 2026-09-01 13:52 UTCEPSS rescore
- 2026-08-31 05:33 UTCEG score recompute
- 2026-08-31 05:33 UTCGHSA enrichment
- 2026-08-30 19:16 UTCEPSS rescore
- 2026-08-30 19:16 UTCEPSS rescore
- 2026-08-30 16:22 UTCGHSA enrichment
- 2026-08-30 03:11 UTCEG score recompute
- 2026-08-30 03:11 UTCGHSA enrichment
- 2026-08-30 01:21 UTCEPSS rescore
- 2026-08-28 21:39 UTCEPSS rescore
- 2026-08-27 21:25 UTCEG score recompute
Show 75 moreShow fewer
- 2026-08-27 21:25 UTCGHSA enrichment
- 2026-08-27 14:24 UTCEPSS rescore
- 2026-08-27 03:38 UTCEG score recompute
- 2026-08-27 03:38 UTCGHSA enrichment
- 2026-08-26 14:44 UTCEPSS rescore
- 2026-08-26 14:19 UTCGHSA enrichment
- 2026-08-26 00:54 UTCEG score recompute
- 2026-08-26 00:54 UTCGHSA enrichment
- 2026-08-25 13:47 UTCEPSS rescore
- 2026-08-25 11:30 UTCGHSA enrichment
- 2026-08-24 22:18 UTCEG score recompute
- 2026-08-24 22:18 UTCGHSA enrichment
- 2026-08-24 14:15 UTCEPSS rescore
- 2026-08-24 09:08 UTCGHSA enrichment
- 2026-08-23 19:45 UTCGHSA enrichment
- 2026-08-23 06:35 UTCEG score recompute
- 2026-08-23 06:34 UTCGHSA enrichment
- 2026-08-23 00:18 UTCEPSS rescore
- 2026-08-22 17:24 UTCGHSA enrichment
- 2026-08-22 04:13 UTCEG score recompute
- 2026-08-22 04:13 UTCGHSA enrichment
- 2026-08-21 23:47 UTCEPSS rescore
- 2026-08-21 15:00 UTCGHSA enrichment
- 2026-08-21 01:50 UTCEG score recompute
- 2026-08-21 01:49 UTCGHSA enrichment
- 2026-08-20 22:54 UTCEPSS rescore
- 2026-08-20 12:33 UTCGHSA enrichment
- 2026-08-19 23:23 UTCEG score recompute
- 2026-08-19 23:23 UTCGHSA enrichment
- 2026-08-19 17:02 UTCEPSS rescore
- 2026-08-19 09:11 UTCGHSA enrichment
- 2026-08-18 19:52 UTCEG score recompute
- 2026-08-18 19:52 UTCGHSA enrichment
- 2026-08-18 13:47 UTCEPSS rescore
- 2026-08-18 01:56 UTCEG score recompute
- 2026-08-18 01:56 UTCGHSA enrichment
- 2026-08-17 13:45 UTCEPSS rescore
- 2026-08-17 12:15 UTCGHSA enrichment
- 2026-08-16 23:05 UTCEG score recompute
- 2026-08-16 23:05 UTCGHSA enrichment
- 2026-08-16 14:55 UTCEPSS rescore
- 2026-08-16 09:55 UTCEG score recompute
- 2026-08-16 09:55 UTCGHSA enrichment
- 2026-08-16 02:13 UTCEPSS rescore
- 2026-08-15 20:45 UTCGHSA enrichment
- 2026-08-15 07:35 UTCEG score recompute
- 2026-08-15 07:35 UTCGHSA enrichment
- 2026-08-15 01:29 UTCEPSS rescore
- 2026-08-14 18:24 UTCGHSA enrichment
- 2026-08-14 05:14 UTCEG score recompute
- 2026-08-14 05:14 UTCGHSA enrichment
- 2026-08-13 21:59 UTCEPSS rescore
- 2026-08-13 16:04 UTCEG score recompute▲ 0.30
- 2026-08-13 16:04 UTCGHSA enrichment
- 2026-08-13 16:04 UTCNVD updateCVSS v3 → 8.8
- 2026-08-13 03:03 UTCGHSA enrichment
- 2026-08-12 13:53 UTCEG score recompute
- 2026-08-12 13:53 UTCGHSA enrichment
- 2026-08-12 13:49 UTCEPSS rescore
- 2026-08-12 00:42 UTCEG score recompute
- 2026-08-12 00:42 UTCGHSA enrichment
- 2026-08-11 13:41 UTCEPSS rescore
- 2026-08-11 11:32 UTCEG score recompute
- 2026-08-11 11:32 UTCGHSA enrichment
- 2026-08-10 23:58 UTCEPSS rescore
- 2026-08-10 22:22 UTCGHSA enrichment
- 2026-08-10 09:12 UTCGHSA enrichment
- 2026-08-09 20:02 UTCEG score recompute
- 2026-08-09 20:02 UTCGHSA enrichment
- 2026-08-09 13:45 UTCEPSS rescore
- 2026-08-09 06:52 UTCGHSA enrichment
- 2026-08-08 17:42 UTCEG score recompute
- 2026-08-08 17:42 UTCGHSA enrichment
- 2026-08-08 16:35 UTCEPSS rescore
- 2026-08-08 04:32 UTCEG score recompute
Related CVEs(same CWE)
Same CWE
10 shownCWE-134
- CVE-2008-7228EG 10.0HIGH
- CVE-2009-1210EG 10.0EPSS p97HIGH
- CVE-2008-6520EG 10.0EPSS p92HIGH
- CVE-2008-6519EG 10.0EPSS p93HIGH
- CVE-2008-5982EG 10.0EPSS p94HIGH
- CVE-2008-3533EG 10.0EPSS p97HIGH
- CVE-2008-3116EG 10.0EPSS p92HIGH
- CVE-2008-0764EG 10.0EPSS p94HIGH
- CVE-2007-5561EG 10.0EPSS p94HIGH
- CVE-2007-1006EG 10.0HIGH
Frequently asked(5)
What is CVE-2024-58366?
When was CVE-2024-58366 disclosed?
Is CVE-2024-58366 actively exploited?
What is the CVSS score of CVE-2024-58366?
How do I remediate CVE-2024-58366?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2024-58366
Is Your Infrastructure Affected by CVE-2024-58366?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.