CVE-2024-58366
SurrealDB before 1.1.1 Format String via Scripting Functions
- State
- Published
- Severity
- 9.0 Critical
- Published
- Jul 18, 2026
- Updated
- Oct 29, 2026
- Reserved
- Jul 18, 2026
Description
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 9.0 Critical | CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H | VulnCheck |
| 3.1 | 8.5 High | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H | VulnCheck |
Weaknesses
- CWE-134 Use of Externally-Controlled Format String
Affected Products
| Product | Versions |
|---|---|
surrealdbsurrealdb |
|
rquickjsDelSkayn |
|
References
- GitHub Security Advisory (GHSA-q3gg-m8hr-h4x4)vendor-advisory
- VulnCheck Advisory: SurrealDB before 1.1.1 Format String via Scripting Functionsthird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.