CVE-2026-134302: SurrealDB Integer Overflow
Published 2026-11-21 · Updated 2026-11-25 · Source disclosure@vulncheck.com
Not known to be exploited · medium severity — update SurrealDB to 4.0.0 or later on your normal schedule.
What to do
- Update SurrealDB to version 4.0.0 or later. Versions from 1.0.0 up to, but not including, 4.0.0 are affected.
- Until it is patched, restrict network access to SurrealDB and review which accounts can log in to it.
- Avoid processing untrusted input with the affected component until it is updated.
Affected and fixed versions
| Product | Affected | Fixed in |
|---|---|---|
| SurrealDB | ≥ 1.0.0, < 4.0.0 | 4.0.0 |
Derived by HackerFeeds from the advisory text, CVSS vector and weakness class. Confirm versions against the vendor advisory before acting.
How it can be exploited
It can be exploited remotely over the network; the attacker needs an ordinary low-privileged account, and no action by a victim is required. Attack complexity is low, so a working exploit is expected to be reliable. The impact on availability is rated high.
| Attack vector | Network | It can be exploited remotely over the network. |
|---|---|---|
| Attack complexity | Low | No special conditions are needed; the attack is repeatable. |
| Privileges required | Low | The attacker needs an ordinary low-privileged account. |
| User interaction | None | No action by a victim is needed. |
| Confidentiality | None | No effect on confidentiality. |
| Integrity | None | No effect on integrity. |
| Availability | High | Total loss of availability. |
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness: Integer Overflow
A calculation wraps around to an unexpected value, often leading to an undersized allocation and then memory corruption.
Classified as CWE-190.
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.
Advisory text as published in the NVD record.
References
- Advisoryhttps://github.com/surrealdb/surrealdb/security/advisories/GHSA-g422-fj9r-m92g
- Advisoryhttps://www.vulncheck.com/advisories/surrealdb-1.0.0-before-4.0.0-dos-via-decimal-overflow-in-math-sum-and-math-product
- Advisoryhttps://github.com/surrealdb/surrealdb/security/advisories/GHSA-g422-fj9r-m92g