CVE-2025-71391
Received Received - Intake

SurrealDB Net Module Null Byte HTTP Query Crash

Vulnerability report for CVE-2025-71391, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-18

Last updated on: 2026-07-18

Assigner: VulnCheck

Description

SurrealDB versions before 2.2.2 contain an uncaught exception vulnerability in the net module that allows authenticated users to crash the database. Attackers can send crafted HTTP queries containing null bytes to the /sql endpoint, causing an unhandled exception that crashes the SurrealDB instance and any dependent applications.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-18
Last Modified
2026-07-18
Generated
2026-07-18
AI Q&A
2026-07-18
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 3 associated CPEs
Vendor Product Version / Range
surrealdb surrealdb to 2.2.2 (exc)
surrealdb surrealdb 2.1.5
surrealdb surrealdb 2.0.5

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-248 An exception is thrown from a function, but it is not caught.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This is a Denial of Service (DoS) vulnerability in SurrealDB versions before 2.2.2. Authenticated users can crash the database by sending crafted HTTP queries containing null bytes to the /sql endpoint. The issue occurs due to an uncaught exception in the net module, which causes the database to become unstable and crash.

Detection Guidance

To detect this vulnerability, monitor SurrealDB instances for crashes when processing HTTP queries to the /sql endpoint. Check logs for unhandled exceptions or null byte errors. Use network traffic analysis tools like Wireshark to inspect HTTP requests containing null bytes sent to /sql. Ensure SurrealDB versions are updated beyond 2.2.2, 2.1.5, or 2.0.5.

Impact Analysis

This vulnerability can disrupt applications relying on SurrealDB by causing unexpected crashes. It may lead to service outages, downtime, and loss of availability for dependent systems. Since it requires authentication, only authorized users can exploit it, but it still poses a risk to system stability.

Compliance Impact

This vulnerability primarily impacts availability, which may lead to non-compliance with regulations requiring high availability of data systems, such as HIPAA for healthcare data or GDPR for data processing timelines. Service disruptions could result in violations of uptime or data access requirements.

Mitigation Strategies

Immediately update SurrealDB to versions 2.2.2, 2.1.5, or 2.0.5 or later. If updating is not possible, restrict untrusted query execution and implement input sanitization at the application layer to block null bytes in HTTP queries to the /sql endpoint.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2025-71391. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart