Security Resilience

CVE-2025-71391

Surrealdb ≤ 2.2.2

Public PoC
Published
18 July 2026
Modified
29 October 2026
Patch / advisory
CVSS Score v4 7.1
Click a component to see what it means
Raw vectorCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS Score 0.0056 47th percentile
Risk Priority 37 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2025-71391 is a high-severity Uncaught Exception (CWE-248) vulnerability in Surrealdb. Its CVSS base score is 7.1 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Endpoint Denial of Service (T1499); ranked at the 47th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified map to SA-8 (Security and Privacy Engineering Principles) and SC-24 (Fail in Known State) — see the control section below for these in your framework.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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…

more

the SurrealDB instance and any dependent applications.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1499 Endpoint Denial of Service Impact
Adversaries may perform Endpoint Denial of Service (DoS) attacks to degrade or block the availability of services to users.
T1499.004 Application or System Exploitation Impact
Adversaries may exploit software vulnerabilities that can cause an application or system to crash and deny availability to users.
T1687 Exploitation for Defense Impairment Defense Impairment
Adversaries may exploit vulnerabilities in security software, infrastructure, or defensive components to degrade, disable, or otherwise continue to impair their ability to prevent, detect, or respond to malicious activity.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2024-58358Same product: Surrealdb Surrealdb
CVE-2024-58359Same product: Surrealdb Surrealdb
CVE-2024-58369Same product: Surrealdb Surrealdb
CVE-2024-58364Same product: Surrealdb Surrealdb
CVE-2026-63747Same product: Surrealdb Surrealdb
CVE-2024-58365Same product: Surrealdb Surrealdb
CVE-2024-58357Same product: Surrealdb Surrealdb
CVE-2024-58368Same product: Surrealdb Surrealdb
CVE-2024-58361Same product: Surrealdb Surrealdb
CVE-2025-71397Same product: Surrealdb Surrealdb

Affected Assets

surrealdb
surrealdb
≤ 2.2.2

Mitigating Controls

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Security engineering principles include robust exception management to keep the system in a defined state.

Fail-in-known-state reduces the impact when an uncaught exception occurs by preserving a safe condition.

Error handling requirements force structured catching and response to exceptions instead of allowing them to propagate uncaught.

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.PS-06 mostly match
blocks

Secure SDLC practices explicitly require structured exception handling to prevent uncaught exceptions from reaching production.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing can detect uncaught exceptions before production deployment.

prevents

Training developers in exception handling reduces uncaught-exception defects, but it is a fallible human practice and the strongest controls for this implementation-phase code defect are code review and static analysis (A.8.28/A.8.29), so only a minority of instances are prevented.

prevents

Secure coding standards directly require catching and handling exceptions to prevent crashes or leaks.

prevents

A.8.30 carries its effect through the secure design, coding and testing practices (8.25-8.29) its contract requires of the supplier, so an outsourced implementation that omits exception handling is reduced the way those practices reduce it; the owner graded the same clause against CWE-134 at `partial` on this verb, and CWE-248 is the same kind of regular implementation-phase software weakness, with the same fallible-supplier-practice remainder.

finds

A.8.8 discovers vulnerabilities through published advisories and scanning tools, which surface known flaws in third-party components, but an uncaught exception is a code-level defect in first-party implementation that is not disclosed as a CVE and is invisible to vulnerability management's disclosure-based reach.

References