CVE-2024-58359
Medium
Description
SurrealDB versions before 2.1.0 contain a denial of service vulnerability in the sorting mechanism when using ORDER BY rand() clause. Authorized clients can execute queries with ORDER BY rand() to trigger a panic in the sorting function, crashing the server.
SeverityMedium
CVSS6.5
Exploit probability—
ProductSurrealdb
PublishedJul 18, 2026
First seenJul 18, 2026
Weakness typeCWE-248CWE-248
How to fix
Update
- surrealdb surrealdb2.1.0 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| surrealdb surrealdb | v < 2.1.0 | 2.1.0 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.