CVE-2026-97853: ericmj decimal · Excessive Memory Allocation
Affects ericmj decimalSource CVE Database V5
Not known to be exploited · CVSS 6.9 Medium : upgrade to 3.1.2 when convenient.
Data as of 22 Nov 2026, 21:29 UTC
Thin evidence
One scorer or none| CNA (EEF) | CVSS 4.0 | 6.9 |
|---|
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 3% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 3.1.2
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 10 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 22 Nov 2026.
What to do
Upgrade ericmj decimal to 3.1.2.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| ericmjdecimal | Affected
| Fixed in
|
| decimalericmj/decimal | Affected
| Fixed in– |
Hexdecimalpkg:hex/decimalOther threats | Affected
| Fixed in
|
CPE configurations (1)
cpe:2.3:a:ericmj:decimal:*:*:*:*:*:*:*:*
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade to decimal version 3.1.2 or later, where this issue is fixed. Until then, ensure that any user-supplied 'places' argument passed to Decimal.round/2 or Decimal.round/3 is properly bounded to prevent excessive memory allocation.
Description
CVE-2026-97853 is a memory allocation vulnerability in the ericmj decimal library affecting versions from 0.1.0 up to but not including 3.1.2. The Decimal.round/3 function can allocate excessive memory when given a large 'places' argument, potentially causing denial of service by exhausting system memory and terminating the BEAM VM. This occurs because the function builds a large charlist of zero digits proportional to the 'places' value before applying context precision. The issue is fixed in version 3.1.2.
References
- github.com/ericmj/decimal/security/advisories/GHSA-6c27-994x-c52f (opens in a new tab)
- cna.erlef.org/cves/CVE-2026-97853.html (opens in a new tab)
- osv.dev/vulnerability/EEF-CVE-2026-97853 (opens in a new tab)
- github.com/ericmj/decimal/commit/05bb73eb40ddef24eda782d905766f56a3660522 (opens in a new tab)
- github.com/ericmj/decimal/commit/338f42c8cf6a9749ab70c5af04734c6050ca3dc6 (opens in a new tab)
- github.com/ericmj/decimal/commit/3c90af4c3c2dfa4bb4c138760a326dd0eb91822b (opens in a new tab)