Back to overview

CVE-2026-63762

MEDIUM
6.0
CVSS 4.0
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.

Metadata

CVE ID
CVE-2026-63762
State
PUBLISHED
Assigner
VulnCheck
Reserved
2026-07-18 12:34 UTC
Published
2026-07-20 12:04 UTC
Last updated
2026-07-20 12:04 UTC
Primary CWE
CWE-476
NULL Pointer Dereference
Vendor / Product
surrealdb / surrealdb
Sources
cve.org  ·  NVD

Severity & Metrics

6.0 MEDIUM CVSS 4.0
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
Affected products (2)
VendorProductPlatformVersions
surrealdb surrealdb 0 < 2.6.1, 2.6.1
surrealdb surrealdb 0 < 3.0.0-beta.3, 3.0.0-beta.3
Weakness (CWE)
CWESourceDescription
CWE-476 cna NULL Pointer Dereference
CVSS scores (1)
ScoreSeverityVersionSourceVector
6.0 MEDIUM 4.0 cna 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
References (2)
Back to overview