Skip to content
OpenAdvisories
Medium · 6.5 CVE-2024-58359 EUVD-2024-55676GHSA-gjm5-72ch-9675GHSA-m52v-24p8-654f

SurrealDB before 2.1.0 Denial of Service via rand() Sorting

Published Jul 18, 2026 · Updated Jul 28, 2026 · Assigned by VulnCheck

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

VendorProductAffectedFixed
surrealdb surrealdb < 2.1.0 2.1.0

Affected packages

EcosystemPackageAffectedFixedRecord
crates.io surrealdb < 2.1.0 2.1.0 GHSA-m52v-24p8-654f
crates.io surrealdb-core < 2.1.0 2.1.0 GHSA-m52v-24p8-654f

References