CVE-2026-97853
Last modified
CVE-2026-97853 is a medium-severity vulnerability rated 6.9/10 on the CVSS scale. Memory Allocation with Excessive Size Value vulnerability in ericmj decimal allows Denial of Service. Decimal.round/3 builds the full result for the requested number of decimal places before the context precision (34 digits by default) is applied, so its cost grows with the places argument instead of with the size of the result. For positive places it appends places zero digits to the coefficient as a charlist before converting it to an integer, and for negative places it builds a charlist of -places zero digits. EPSS estimates a 0.14% chance of exploitation in the next 30 days.
Description
Memory Allocation with Excessive Size Value vulnerability in ericmj decimal allows Denial of Service. Decimal.round/3 builds the full result for the requested number of decimal places before the context precision (34 digits by default) is applied, so its cost grows with the places argument instead of with the size of the result. For positive places it appends places zero digits to the coefficient as a charlist before converting it to an integer, and for negative places it builds a charlist of -places zero digits. A single call such as Decimal.round(Decimal.new("1.5"), -50_000_000) allocates about 5.5 GB of memory, which can exhaust available memory and get the BEAM VM killed. The oldest releases instead loop once per decimal place, consuming CPU in proportion to places. Any application that passes a user-supplied number of decimal places or scale to Decimal.round/2 or Decimal.round/3 without bounding it is exposed. The input limits added for CVE-2026-32686 do not cover the places argument. This issue affects decimal: from 0.1.0 before 3.1.2.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| ericmj | decimal | >= 0.1.0, < 3.1.2 |
| ericmj | decimal | >= 05bb73eb40ddef24eda782d905766f56a3660522, < * |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-97853?
How severe is CVE-2026-97853?
How do I fix CVE-2026-97853?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-97841Out-of-bounds read in DNS Server allows an authorized attack…6.5
- CVE-2026-97842Out-of-bounds read in DNS Server allows an authorized attack…6.5
- CVE-2026-97843Out-of-bounds read in DNS Server allows an authorized attack…6.5
- CVE-2026-97844Out-of-bounds read in DNS Server allows an authorized attack…6.5
- CVE-2026-97846Keycloak provides a feature called mTLS holder-of-key bindin…6.8
- CVE-2026-9785Quest NetVault Backup NVBULibrarySlot SQL Injection Remote C…8.8
- CVE-2026-9786Quest NetVault Backup NVBUDashboard SQL Injection Remote Cod…8.8
- CVE-2026-97863The cisco_firesight_manager_ACL_rule_export module in misp-m…6.3
- CVE-2026-97864A vulnerability has been found in GibbonEdu Gibbon up to 30.…5.3
- CVE-2026-97865A security flaw has been discovered in Open-Web-Analytics up…7.3
- CVE-2026-97866A weakness has been identified in Zhonglun CloudPOS 3.0. Aff…5.6
- CVE-2026-97868A security vulnerability has been detected in sheshbabu zen …3.5
Are you affected by CVE-2026-97853?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
