Vulnerability

CVE-2024-58359

highCVSS 4.0 7.1Published 18 Jul 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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

From the NVD's configuration data (CPE), vendor first.

  • Surrealdb surrealdb

Weakness type

References

  • github.com /surrealdb/surrealdb/security/advisories/GHSA-m52v-24p8-654f
  • www.vulncheck.com /advisories/surrealdb-before-denial-of-service-via-rand-sor…

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning