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.
Published · last modified .
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.
EPSS exploit prediction
EPSS 0.004, 39.7th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Surrealdb — versions 3.0.0-beta.3, 2.6.1, 3.0.0
Weakness classification (CWE)
References
- GitHub Security Advisory (GHSA-xx7m-69ff-9crp) (vendor-advisory, Mitigation, Vendor Advisory)
- VulnCheck Advisory: SurrealDB before v2.6.1 Denial of Service via scripting (Third Party Advisory, third-party-advisory)