{"cve":"CVE-2026-63762","nvd":{"published":"2026-07-20T12:19:46.477","modified":"2026-07-22T19:41:01.317","status":"Analyzed","description":"SurrealDB before v2.6.1 (and before v3.0.0-beta.3) contains a denial of service vulnerability in its embedded JavaScript scripting engine, which is enabled via the --allow-scripting capability (disabled by default). Any user able to execute arbitrary queries — including unauthenticated guests when --allow-guests is enabled — can use built-in string functions to construct a large string and pass it to the JavaScript runtime for compilation, triggering a null pointer dereference in the underlying QuickJS-NG engine. This causes the server process to terminate immediately without graceful shutdown, requiring a manual restart. The issue was fixed by updating the rquickjs dependency from v0.9.0 to v0.11.0.","cvss_v4":{"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","score":6.0},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":6.5},"cwes":["CWE-476"],"references":["https://github.com/surrealdb/surrealdb/security/advisories/GHSA-xx7m-69ff-9crp","https://www.vulncheck.com/advisories/surrealdb-before-denial-of-service-via-scripting"],"products":["surrealdb:surrealdb"],"source":"nvd","synced_at":"2026-10-19T22:45:36.895656543+00:00"},"epss":{"cve":"CVE-2026-63762","score":0.0045,"percentile":0.39151,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-xx7m-69ff-9crp","url":"https://osv.dev/vulnerability/GHSA-xx7m-69ff-9crp","summary":"SurrealDB vulnerable to Denial of Service through scripting function memory edge case","modified":"2026-07-21T03:56:46.988407546Z","packages":[{"ecosystem":"crates.io","name":"surrealdb","purl":"pkg:cargo/surrealdb","ranges":["<2.6.1"],"fixed":["2.6.1"]},{"ecosystem":"crates.io","name":"surrealdb","purl":"pkg:cargo/surrealdb","ranges":[">=3.0.0-alpha.8 <3.0.0-beta.3"],"fixed":["3.0.0-beta.3"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}