CVE-2025-71391 SurrealDB before 2.2.2 Denial of Service via /sql endpoint
HighCVSS 7.1
EPSS 0.56%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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.
Upgrade path
3 packages: 3 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| crates.io surrealdb | < 2.0.5; >= 2.1.0, < 2.1.5; >= 2.2.0, < 2.2.2 | 2.0.5, 2.1.5, 2.2.2 | Fixed |
| crates.io surrealdb(crates.io) | < 2.0.5; >= 2.1.0, < 2.1.5; >= 2.2.0, < 2.2.2 | 2.0.5, 2.1.5, 2.2.2 | Fixed |
| surrealdb | < 2.2.2 | 2.2.2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| crates.io surrealdb(crates.io) | >= 2.2.0, < 2.2.2 | 2.2.2 |
| crates.io surrealdb(crates.io) | >= 2.1.0, < 2.1.5 | 2.1.5 |
| crates.io surrealdb(crates.io) | < 2.0.5 | 2.0.5 |
| crates.io surrealdb | >= 2.2.0, < 2.2.2 | 2.2.2 |
| crates.io surrealdb | >= 2.1.0, < 2.1.5 | 2.1.5 |
| crates.io surrealdb | < 2.0.5 | 2.0.5 |
| surrealdb | < 2.2.2 | 2.2.2 |
References
- GitHub Security Advisory (GHSA-rq86-9m6r-cm3g) vendor-advisory
- github.com patch
- github.com product
- github.com
- VulnCheck Advisory: SurrealDB before 2.2.2 Denial of Service via /sql endpoint third-party-advisory
- ENISA EUVD EUVD-2025-210491 third-party-advisory