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 17 Nov 2026, 20:25 UTC
- 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 17 Nov 2026.
What to do
Upgrade ericmj decimal to 3.1.2.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| ericmjdecimal | Affected
| Fixed in
|
| ericmjdecimal | 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
Applications should implement input validation to bound the 'places' argument passed to Decimal.round/2 or Decimal.round/3 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 allocates memory proportional to the 'places' argument before applying context precision, allowing excessive memory use. For example, calling Decimal.round with a large negative places value can allocate multiple gigabytes of memory, potentially causing denial of service by exhausting system memory and terminating the BEAM VM. This issue arises when user-supplied decimal places are not properly bounded.
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)