{"id":"CVE-2024-58366","aliases":["GHSA-q3gg-m8hr-h4x4"],"url":"https://o3.security/vulnerability/CVE-2024-58366","summary":"SurrealDB before 1.1.1 Format String via Scripting Functions","details":"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.","published":"2026-07-18T13:10:06.939Z","modified":"2026-08-15T11:45:15.666103760Z","cvss":null,"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"crates.io","name":"surrealdb","fixedVersion":"1.1.1"}],"fix":null,"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/58xxx/CVE-2024-58366.json"},{"type":"ADVISORY","url":"https://github.com/surrealdb/surrealdb/security/advisories/GHSA-q3gg-m8hr-h4x4"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-58366"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/surrealdb-before-format-string-via-scripting-functions"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-15T11:45:15.666103760Z"}}