CVE-2024-58357

published 18 Jul 2026 · updated 28 Jul 2026

SurrealDB before 2.1.0 Denial of Service via rand::time()

6.5MediumCVSS 6.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 2.1.0.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
surrealdb<2.1.02.1.0

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-58357 severity on Zeptric[![CVE-2024-58357](https://zeptric.io/badge/cve/CVE-2024-58357.svg)](https://zeptric.io/cve/CVE-2024-58357)