CVE-2024-58361Published Jul 18, 2026 · Jul 18Updated Oct 29
SurrealDB before 2.0.4 Denial of Service via Parser Exception
surrealdb
High7.1Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| surrealdb crates.io |
|
|
| surrealdb-core crates.io |
|
|
surrealdb
| Product | Affected | Fixed in |
|---|---|---|
| surrealdb crates.io |
|
|
| surrealdb-core crates.io |
|
|
SurrealDB versions before 2.0.4 contain an uncaught exception handling vulnerability in the parser error rendering code when processing empty strings. Authorized clients can execute malformed queries with empty string conversions to record, duration, or datetime types that cause a panic in error rendering, crashing the server.
From the CVE record · VulnCheck
SurrealDB’s parser error rendering can panic when handling empty strings in malformed queries. Authorized clients can trigger the panic with empty-string conversions to record, duration, or datetime types, crashing the server.
Check deployments using the surrealdb or surrealdb-core crates.io packages at versions >=2.0.0 and <2.0.4.