{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2024-58366","published":"2026-07-18T14:17:09.600000Z","last_modified":"2026-10-29T21:17:03.447000Z","status":"Analyzed","cvss":{"version":"4.0","score":9.0,"severity":"CRITICAL","vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","source":"disclosure@vulncheck.com","primary":false},"auth":true,"cwes":["CWE-134"],"cpes":[{"criteria":"cpe:2.3:a:delskayn:rquickjs:*:*:*:*:*:rust:*:*","part":"a","vendor":"delskayn","product":"rquickjs","version_end_excluding":"0.4.2"},{"criteria":"cpe:2.3:a:surrealdb:surrealdb:*:*:*:*:*:*:*:*","part":"a","vendor":"surrealdb","product":"surrealdb","version_end_excluding":"1.1.1"}],"cpes_truncated":false,"vendors":["delskayn","surrealdb"],"products":["delskayn/rquickjs","surrealdb/surrealdb"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-q3gg-m8hr-h4x4","ecosystem":"crates.io","name":"surrealdb","purl":"pkg:cargo/surrealdb","ranges":[{"introduced":"0","fixed":"1.1.1"}],"versions":[],"versions_truncated":false}],"severity":"critical","priority_score":54,"links":{"html_es":"/es/cve/CVE-2024-58366/","html_en":"/en/cve/CVE-2024-58366/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2024-58366","cve_org":"https://www.cve.org/CVERecord?id=CVE-2024-58366"},"untrusted":{"vendor_name":"Delskayn","product_name":"Rquickjs","desc_en":"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.","affected":[{"untrusted_vendor":"surrealdb","untrusted_product":"surrealdb"},{"untrusted_vendor":"DelSkayn","untrusted_product":"rquickjs"}],"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"]}]}}