Skip to content
DayZeroHub
High Not yet writtenCVSS 7.1CVE-2026-134302

CVE-2026-134302: SurrealDB 1.0.0 before 4.0.0 DoS via Decimal Overflow in math::sum and math::product

surrealdb surrealdb

Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.

Summary

CVE-2026-134302: high-severity vulnerability (CVSS 7.1) in surrealdb surrealdb.

What happened

Original description from the source: SurrealDB 1.0.0 before 4.0.0 contains a denial of service vulnerability that allows any user able to run queries to crash the server by triggering unchecked decimal overflow in math::sum or math::product. Attackers can submit a query summing or multiplying large decimal literals or aggregate stored decimals with GROUP ALL, causing a rust_decimal panic that terminates the entire server process.

Why it matters

High severity, CVSS 7.1.

Affected products and versions

surrealdb surrealdb >= 1.0.0, < 4.0.0; surrealdb surrealdb 4.0.0 (fixed in 4.0.0)

ProductVersionsFixed in
surrealdb surrealdb>= 1.0.0, < 4.0.0—
surrealdb surrealdb4.0.04.0.0

Action recommended by the source

Upgrade to a fixed version: 4.0.0.

Fixed in: 4.0.0

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-190

Relevant change history

  1. Published

    Preliminary advisory published.