NULL pointer dereference in Surrealdb
CVE-2026-63762
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.
EPSS: 0.004 (37.6th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.
Affected products
- Surrealdb — versions 3.0.0-beta.3, 2.6.1, 3.0.0
Weakness classification (CWE)
References
- disclosure@vulncheck.com (vendor-advisory, Mitigation, Vendor Advisory)
- disclosure@vulncheck.com (Third Party Advisory, third-party-advisory)
Frequently asked questions
- What is CVE-2026-63762?
- CVE-2026-63762 is a medium-severity vulnerability in Surrealdb, classified under NULL Pointer Dereference. CVSS score: 6.5/10. Published 2026-07-20.
- How severe is CVE-2026-63762?
- Medium severity. CVSS v3 base score is 6.5 out of 10.