{"id":"CVE-2024-58366","published":"2026-07-18T13:10:06Z","modified":"2026-10-29T21:15:09Z","title":"SurrealDB before 1.1.1 Format String via Scripting Functions","vendor":"surrealdb","product":"surrealdb","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00575,"percentile":0.48365,"provenance":"source"},"cwes":[{"id":"CWE-134","name":"Use of Externally-Controlled Format String"}],"references":[{"url":"https://github.com/surrealdb/surrealdb/security/advisories/GHSA-q3gg-m8hr-h4x4","tags":["vendor-advisory"]},{"url":"https://www.vulncheck.com/advisories/surrealdb-before-format-string-via-scripting-functions","tags":["third-party-advisory"]}],"priority":{"score":15.6,"factors":[{"name":"EPSS percentile","points":9.67},{"name":"CVSS severity","points":5.95}]},"vendorSlug":"surrealdb","affectedVersions":[{"vendor":"surrealdb","product":"surrealdb","versions":["< 1.1.1"]},{"vendor":"DelSkayn","product":"rquickjs","versions":["< 0.4.2"]}],"fixedVersions":[{"vendor":"surrealdb","product":"surrealdb","versions":["1.1.1"]},{"vendor":"DelSkayn","product":"rquickjs","versions":["0.4.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-07-20T15:13:39.140208Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-55682","exploited":false,"provenance":"source"}}