Unrated severityNVD Advisory· Published Jul 18, 2026· Updated Jul 28, 2026
SurrealDB before 2.1.0 Denial of Service via rand() Sorting
CVE-2024-58359
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.
Affected products
1Patches
Vulnerability mechanics
References
2- github.com/surrealdb/surrealdb/security/advisories/GHSA-m52v-24p8-654fmitrevendor-advisory
- www.vulncheck.com/advisories/surrealdb-before-denial-of-service-via-rand-sortingmitrethird-party-advisory
News mentions
0No linked articles in our index yet.