PT-2026-61578 · Unknown+1 · Quickjs-Ng+1
CVSS v4.0
6.0
Medium
| Vector | 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 |
Name of the Vulnerable Software and Affected Versions
SurrealDB versions prior to 2.6.1
SurrealDB versions prior to 3.0.0-beta.3
Description
A denial of service issue exists in the embedded JavaScript scripting engine, which is activated by the
--allow-scripting capability. Users capable of executing arbitrary queries, including unauthenticated guests if --allow-guests is enabled, can use built-in string functions to create a large string and send it to the JavaScript runtime for compilation. This action triggers a null pointer dereference—a condition where the program attempts to read a memory address that is null—within the QuickJS-NG engine, causing the server process to terminate abruptly and requiring a manual restart.Recommendations
Update SurrealDB to version 2.6.1 or later.
Update SurrealDB to version 3.0.0-beta.3 or later.
Disable the
--allow-scripting capability to prevent the use of the vulnerable JavaScript engine.Exploit
Fix
NULL Pointer Dereference
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Quickjs-Ng
Surrealdb