Home / ericmj / decimal / CVE-2026-97853
CVE-2026-97853: is it exploited, and which versions of ericmj decimal are affected and fixed?
CVE-2026-97853 is a memory Allocation with Excessive Size Value vulnerability in ericmj decimal. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 12:38 UTC). Affected: decimal from 0.1.0 before 3.1.2 (CVE record by EEF). Fixed in 3.1.2 (CVE record by EEF). Severity: Medium (6.9, CVSS 4.0, from EEF).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:38 UTC, CVE record November 19, 2026, 08:34 UTC and NVD November 19, 2026, 07:06 UTC.
What is CVE-2026-97853?
Unbounded allocation in decimal Decimal.round/3 driven by the places argument enables DoS
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.
From the CVE record by EEF, last updated November 19, 2026, 08:21 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| ericmj | decimal | from 0.1.0 before 3.1.2 | 3.1.2 |
| ericmj | decimal ericmj/decimal | not stated |
As the CVE record by EEF states it, last updated November 19, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2026-97853?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.9 | CVSS 4.0 | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N | EEF |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-97853 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, October 15, 2026)
- EPSS
- 0.14% probability of exploitation activity in the next 30 days, percentile 3.4 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-789 Memory Allocation with Excessive Size Value
Is there a workaround? (from the CVE record)
Bound places before calling Decimal.round/2,3, for example to -34..34 or to the scales the application supports.
Where are the vendor advisories and references?
- GHSA-6c27-994x-c52f vendor-advisory
- EEF CNA record for CVE-2026-97853 related
- OSV record EEF-CVE-2026-97853 related
- Introducing commit 05bb73e in ericmj/decimal related
- Fix commit 338f42c in ericmj/decimal patch
- Fix commit 3c90af4 in ericmj/decimal patch
Who found and reported it?
- Peter Ullrich (finder)
- Eric Meadows-Jönsson (coordinator)
- Eric Meadows-Jönsson (remediation developer)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- October 9, 2026
- Published
- October 10, 2026, 19:43 UTC
- CVE record updated
- November 19, 2026, 08:21 UTC by EEF
- NVD
- Deferred, last modified October 15, 2026, 19:17 UTC
- Last checked
- CVE list November 19, 2026, 08:34 UTC; NVD November 19, 2026, 07:06 UTC; KEV December 3, 2026, 12:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect decimal?
- May 7, 2026CVE-2026-32686 ericmj decimal: denial of service (uncontrolled resource consumption)
Questions about CVE-2026-97853
Is CVE-2026-97853 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 12:38 UTC. FIRST's EPSS gives it a 0.14% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of ericmj decimal are affected by CVE-2026-97853?
decimal from 0.1.0 before 3.1.2, per the CVE record by EEF. The tables above give every range the sources list.
Which version fixes CVE-2026-97853?
3.1.2, per the CVE record by EEF. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-97853?
Medium (6.9, CVSS 4.0, from EEF). The severity table above shows each score with its source.
Where is the official record of CVE-2026-97853?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.