CVE-2024-58359 PUBLISHED

SurrealDB before 2.1.0 Denial of Service via rand() Sorting

Assigner: VulnCheck
Reserved: 08.06.2026 Published: 18.07.2026 Updated: 18.07.2026

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.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
CVSS Score: 7.1

Product Status

Vendor surrealdb
Product surrealdb
Versions Default: unaffected
  • affected from 0 to 2.1.0 (excl.)
  • Version 2.1.0 is unaffected
Vendor surrealdb
Product surrealdb
Versions Default: unaffected
  • affected from 0 to 2.1.0 (excl.)
  • Version 2.1.0 is unaffected

Credits

  • finnbear reporter
  • extrawurst reporter

References

Problem Types

  • Uncaught Exception CWE