Description
SurrealDB versions before 1.2.0 contain an uncaught exception vulnerability in the query executor when processing calls to nonexistent built-in functions. Authorized clients can craft pre-parsed queries invoking nonexistent functions to trigger a panic that crashes the server.
Published: 2026-07-18
Score: 7.1 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability is triggered when an authorized client sends a pre‑parsed query that calls a nonexistent built‑in function. The query executor does not catch the resulting exception, causing a panic that crashes the SurrealDB server. This flaw is categorized as CWE‑248, unexpected exception causes a crash, and results in a denial of service for all users connected to the database.

Affected Systems

SurrealDB versions earlier than 1.2.0 are affected. The flaw applies to any deployment of SurrealDB prior to release 1.2.0, regardless of operating environment or configuration.

Risk and Exploitability

The CVSS score of 7.1 indicates high severity, while the EPSS score of less than 1% suggests a low probability of widespread exploitation at the moment. The issue is not listed in CISA’s KEV catalog. Because only authorized clients can trigger the exploit, an attacker would need authenticated or privileged access to submit crafted queries. Once triggered, the server process crashes, causing a denial of service for all clients.

Generated by OpenCVE AI on July 30, 2026 at 23:06 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade SurrealDB to version 1.2.0 or later, which fixes the query‑execution exception handling.
  • Restrict privileges so that only trusted users can send arbitrary queries, and perform a pre‑execution check that the function name exists in the supported function list before execution.
  • Configure the server to restart automatically after a crash and monitor logs for unexpected termination events to restore service quickly.

Generated by OpenCVE AI on July 30, 2026 at 23:06 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 28 Jul 2026 02: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'}


Sat, 18 Jul 2026 13:45:00 +0000

Type Values Removed Values Added
Description SurrealDB versions before 1.2.0 contain an uncaught exception vulnerability in the query executor when processing calls to nonexistent built-in functions. Authorized clients can craft pre-parsed queries invoking nonexistent functions to trigger a panic that crashes the server.
Title SurrealDB before 1.2.0 Denial of Service via Nonexistent Function
Weaknesses CWE-248
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:47:51.921Z

Reserved: 2026-07-18T12:40:52.916Z

Link: CVE-2024-58365

cve-icon Vulnrichment

Updated: 2026-07-20T13:39:55.544Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-30T23:15:06Z

Weaknesses