Vulnerability · Published Jul 18, 2026 · Assigned by VulnCheck

CVE-2024-58357SurrealDB before 2.1.0 Denial of Service via rand::time()

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 an uncaught exception vulnerability in the rand::time() function that panics when unwrap is called on a None result from timestamp_opt. Authorized clients can repeatedly invoke rand::time() to reliably trigger server panics and cause denial of service.

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