Cyber Resilience

CVE-2026-63762

Memory Safety in Surrealdb ≤ 2.6.1

Public PoCMemory Safety
Published
20 July 2026
Modified
22 July 2026
Patch / advisory
CVSS Score v4 6.0
Click a component to see what it means
Raw vectorCVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/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
EPSS Score 0.0025 17th percentile
Risk Priority 35 floored blend · peak EPSS

Summary

CVE-2026-63762 is a medium-severity NULL Pointer Dereference (CWE-476) vulnerability in Surrealdb Surrealdb. Its CVSS base score is 6.0 (Medium).

Operationally, exploitation aligns with the MITRE ATT&CK technique Application or System Exploitation (T1499.004); ranked at the 17th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified map to AC-6 (Least Privilege) and CM-7 (Least Functionality) — see the control section below for these in your framework.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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…

more

--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.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise TechniquesAI

T1499.004 Application or System Exploitation Impact
Adversaries may exploit software vulnerabilities that can cause an application or system to crash and deny availability to users.
Why these techniques?

Null pointer dereference in JS engine allows remote query-triggered process crash, directly mapping to application exploitation for endpoint DoS.

Confidence: HIGH · MITRE ATT&CK Enterprise v19.0

CVEs Like This One

CVE-2026-63750Same product: Surrealdb Surrealdb
CVE-2026-63737Same product: Surrealdb Surrealdb
CVE-2026-63759Same product: Surrealdb Surrealdb
CVE-2026-63747Same product: Surrealdb Surrealdb
CVE-2026-63754Same product: Surrealdb Surrealdb
CVE-2026-63734Same product: Surrealdb Surrealdb
CVE-2026-63760Same product: Surrealdb Surrealdb
CVE-2026-63733Same product: Surrealdb Surrealdb
CVE-2026-63746Same product: Surrealdb Surrealdb
CVE-2026-63735Same product: Surrealdb Surrealdb

Affected Assets

surrealdb
surrealdb
3.0.0 · ≤ 2.6.1

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)
  • CM-7 Least Functionality
  • AC-6 Least Privilege
  • SI-10 Information Input Validation
Detect
Catch it (NIST detect / respond)

Harden
Shrink the surface (DISA STIG)

Validate
Prove the fix (OWASP ASVS)

Mitigating Controls (NIST 800-53 r5) AI

prevent

Disables the --allow-scripting capability (and --allow-guests) by default so that untrusted queries cannot reach the QuickJS-NG engine at all.

prevent

Ensures only explicitly authorized accounts receive the scripting capability, directly limiting the set of users who can trigger the null-pointer DoS.

prevent

Validates or sanitizes large or malformed strings before they are passed to the embedded JavaScript runtime, blocking the input that causes the QuickJS-NG dereference.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-06 mostly match
prevents

Secure SDLC practices (static analysis, code review, safe coding standards) directly prevent NULL dereference bugs during development.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

detects

Security testing can detect NULL dereference defects before release.

prevents

Secure SDLC mandates defensive coding practices that can prevent NULL dereferences.

prevents

Application security requirements can specify input validation and pointer-safety rules.

prevents

Secure architecture principles encourage defensive design that avoids unsafe pointer use.

prevents

Secure coding standards directly require NULL-pointer checks and safe dereference patterns.

References