CVE-2024-58365

SurrealDB before 1.2.0 Denial of Service via Nonexistent Function

Published Jul 18, 2026 CVSS 4.0 · 7.1 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

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

Remediation

No solution or workaround provided in the CVE record.

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

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Jul 28, 2026, 1:47 AM
Reserved
Jul 18, 2026, 12:40 PM
Status
Analyzed
Published
Jul 18, 2026, 2:17 PM
Modified
Oct 27, 2026, 6:10 PM