SurrealDB versions before 2.2.2 contain an uncaught exception vulnerability in the net module that allows authenticated users to crash the database. (CVE-2025-71391)
SurrealDB versions before 2.2.2 have an uncaught exception vulnerability in the net module that allows authenticated users to crash the database by sending specially crafted HTTP queries with null bytes to the /sql endpoint. This causes an unhandled exception leading to a denial of service condition.
AI Analysis
Technical Summary
CVE-2025-71391 describes a vulnerability in SurrealDB prior to version 2.2.2 where the net module does not properly handle null bytes in HTTP queries sent to the /sql endpoint. Authenticated users can exploit this by sending crafted requests that trigger an uncaught exception, crashing the SurrealDB instance and any dependent applications. The vulnerability is classified under CWE-248 (Uncaught Exception).
Potential Impact
The vulnerability results in a denial of service (DoS) condition by crashing the SurrealDB database instance. There is no impact on confidentiality or integrity according to the CVSS vector. The attack requires low complexity and authenticated privileges but no user interaction. No known exploits are reported in the wild.
Mitigation Recommendations
A fixed version, 2.2.2, is available that addresses this vulnerability. Users should upgrade SurrealDB to version 2.2.2 or later to remediate this issue. No other mitigation or temporary workaround is indicated.
SurrealDB versions before 2.2.2 contain an uncaught exception vulnerability in the net module that allows authenticated users to crash the database. (CVE-2025-71391)
Description
SurrealDB versions before 2.2.2 have an uncaught exception vulnerability in the net module that allows authenticated users to crash the database by sending specially crafted HTTP queries with null bytes to the /sql endpoint. This causes an unhandled exception leading to a denial of service condition.
CVSS v3.1
Score 6.5medium
Affected software
pkg:github/surrealdb/surrealdbRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2025-71391 describes a vulnerability in SurrealDB prior to version 2.2.2 where the net module does not properly handle null bytes in HTTP queries sent to the /sql endpoint. Authenticated users can exploit this by sending crafted requests that trigger an uncaught exception, crashing the SurrealDB instance and any dependent applications. The vulnerability is classified under CWE-248 (Uncaught Exception).
Potential Impact
The vulnerability results in a denial of service (DoS) condition by crashing the SurrealDB database instance. There is no impact on confidentiality or integrity according to the CVSS vector. The attack requires low complexity and authenticated privileges but no user interaction. No known exploits are reported in the wild.
Mitigation Recommendations
A fixed version, 2.2.2, is available that addresses this vulnerability. Users should upgrade SurrealDB to version 2.2.2 or later to remediate this issue. No other mitigation or temporary workaround is indicated.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-x3fg-mm84-q54h
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2025-71391"]
- Ecosystems
- []
- Database Specific Severity
- HIGH
- Cvss Version
- 4.0
Threat ID: 6a5ba17c44ab8fbf7c789a93
Added to database: 07/18/2026, 15:53:32 UTC
Last enriched: 08/13/2026, 19:13:50 UTC
Last updated: 08/31/2026, 22:52:07 UTC
Views: 81
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.