CVE-2025-71391
HIGH 7.1CVSS 4.0SurrealDB has uncaught exception in Net module that leads to database crash
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.
- Published
- 18 Jul 2026
- Last modified
- 29 Oct 2026
- Assigned by
- disclosure@vulncheck.com
- NVD status
- Analyzed
- Weakness
- CWE-248
- Also known as
- GHSA-rq86-9m6r-cm3g
- Sources
- NVDJSONOSV GHSA-rq86-9m6r-cm3gJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 4.0 | HIGH 7.1 | 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/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 |
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | surrealdb | surrealdbcpe:2.3:a:surrealdb:surrealdb:*:*:*:*:*:*:*:* |
< 2.2.2 | 2.2.2 |
| OSV | crates.io | surrealdb | >= 2.2.0, < 2.2.2 | 2.2.2 |
| OSV | crates.io | surrealdb | >= 2.1.0, < 2.1.5 | 2.1.5 |
| OSV | crates.io | surrealdb | < 2.0.5 | 2.0.5 |
References
- https://github.com/surrealdb/surrealdb/security/advisories/GHSA-rq86-9m6r-cm3g · Vendor Advisory, WEB
- https://www.vulncheck.com/advisories/surrealdb-before-denial-of-service-via-sql-endpoint · Third Party Advisory
- https://github.com/surrealdb/surrealdb/pull/5647 · WEB
- https://github.com/surrealdb/surrealdb · PACKAGE
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 18 Jul 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 10 Apr 2025)