CVE-2024-58366: SurrealDB before 1.1.1 contains a format string vulnerability in the rquickjs Exception::throw_type function w
CVE-2024-58366 is a high-severity flaw (CVSS 8.5) affecting rquickjs, surrealdb. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- High severity
A fixed release or distro patch exists.
Risk facts
| CVSS score | 8.5 (High) |
| Attack vector | Network (remote) |
| Attack complexity | High |
| Privileges needed | Low |
| User interaction | None |
| EPSS exploit chance | 0.6% (top 53%) |
| CISA exploited list | No |
| Weakness | CWE-134 |
| Published | 2026-07-18 |
| Last modified | 2026-08-13 |
Last updated 2026-08-13 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2024-58366?
rquickjs: upgrade to 0.4.2; surrealdb: upgrade to 1.1.1. Exact commands for each OS are on this page.
Is CVE-2024-58366 being exploited?
CVE-2024-58366 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2024-58366 affect?
CVE-2024-58366 affects rquickjs, surrealdb. Severity is high (CVSS 8.5). 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
How urgent is CVE-2024-58366?
Priority 42/100. High severity