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.
Published: 2026-07-20
Score: 7.1 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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

History

Tue, 28 Jul 2026 01:30:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:surrealdb:surrealdb:*:*:*:*:*:*:*:*

Thu, 23 Jul 2026 21:45:00 +0000

Type Values Removed Values Added
First Time appeared Surrealdb
Surrealdb surrealdb
Vendors & Products Surrealdb
Surrealdb surrealdb

Mon, 20 Jul 2026 14:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Mon, 20 Jul 2026 12:15:00 +0000

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'}


Subscriptions

Surrealdb Surrealdb
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-07-28T01:05:34.574Z

Reserved: 2026-07-18T12:19:06.903Z

Link: CVE-2026-63737

cve-icon Vulnrichment

Updated: 2026-07-20T13:51:40.468Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-30T19:45:06Z

Weaknesses