Vulnerability · Published Jul 18, 2026 · Assigned by VulnCheck

CVE-2024-58359SurrealDB before 2.1.0 Denial of Service via rand() Sorting

Medium 6.5

In plain English

A medium-severity security flaw in surrealdb from surrealdb. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 39% of all known vulnerabilities).

Severity (CVSS 3.1)6.5Medium
Exploit odds (30 days)0.4%top 60.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 (as reported)

VendorProductVersions
surrealdb surrealdb 0 – before 2.1.0
surrealdb surrealdb 0 – before 2.1.0

Weakness: CWE-248 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

References