Incident response on call, 24/7: +385 98 1900 984NewIR Retainer: a team on contract before an attack
HR · EN
Medium 6.5CVE-2026-134302

SurrealDB 1.0.0 before 4.0.0 DoS via Decimal Overflow in math::sum and math::product

Published 21/11/2026 · Updated 25/11/2026 · surrealdb

Description

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.

Affected products and versions

surrealdb surrealdb1.0.0 – < 4.0.0Fixed in: 4.0.0

CVSS vector, explained

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Attack vector
Network (from the internet)
Attack complexity
Low
Privileges required
Regular user
User interaction
Not required
Scope
Vulnerable component only
Confidentiality
None
Integrity
None
Availability
High impact

Weakness type (CWE)

  • CWE-190 Integer Overflow or Wraparound

References

Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.