CVE-2026-63737

SurrealDB before 3.1.5 Denial of Service via deep operator chains

Published Jul 20, 2026 CVSS 4.0 · 7.1 High EPSS < 1% KEV · Not listed
Description
SurrealDB versions before 3.1.5 contain a denial of service vulnerability where authenticated users can crash the server with queries containing long chains of operators. Attackers can submit queries with tens of thousands of chained operators that create unbounded expression trees, causing stack overflow during query processing and aborting the entire process.

Analysis

AI-generated

Technical impact

Authenticated users can cause SurrealDB to crash by submitting queries with very long chains of operators. The server builds an unbounded expression tree while parsing the query, leading to a stack overflow that aborts the entire process. This flaw is classified as CWE‑674 due to the unchecked growth of an internal data structure during build time. The primary impact is a denial of service to the database server, potentially affecting all clients that rely on it.

Affected Systems

The affected product is SurrealDB. Versions prior to 3.1.5 are vulnerable. Any deployment of SurrealDB on those versions that allows authenticated query execution can be impacted.

Risk and Exploitability

The CVSS score of 7.1 indicates a high risk to availability. The EPSS score of < 1% indicates a very low likelihood of exploitation, though it is still not zero. The vulnerability is not listed in the CISA KEV catalog. Attackers must be authenticated to the database and can send queries with tens of thousands of chained operators; the likely attack vector is via an authenticated client or application layer that issues queries to the server. The vulnerability is exploitable without additional conditions if such queries are permitted.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade SurrealDB to version 3.1.5 or newer.
  • Configure the query processor (if supported) to reject or limit queries with an excessive number of chained operators, mitigating the unbounded expression tree issue until a patch is applied.
  • Enforce strict authentication and authorization controls to restrict access to query execution capabilities, ensuring only trusted users can submit potentially dangerous queries.

Generated by OpenCVE AI on July 30, 2026 at 19:41 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:2.3:a:surrealdb:surrealdb:*:*:*:*:*:*:*:*
Type Values Removed Values Added
First Time appeared Surrealdb
Surrealdb surrealdb
Vendors & Products Surrealdb
Surrealdb surrealdb
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description SurrealDB versions before 3.1.5 contain a denial of service vulnerability where authenticated users can crash the server with queries containing long chains of operators. Attackers can submit queries with tens of thousands of chained operators that create unbounded expression trees, causing stack overflow during query processing and aborting the entire process.
Title SurrealDB before 3.1.5 Denial of Service via deep operator chains
Weaknesses CWE-674
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

cvssV4_0

{'score': 7.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Jul 28, 2026, 1:05 AM
Reserved
Jul 18, 2026, 12:19 PM
Status
Analyzed
Published
Jul 20, 2026, 12:19 PM
Modified
Jul 22, 2026, 3:50 PM