Skip to main content
VulnerabilityPublished Updated

CVE-2026-97853: ericmj decimal · Excessive Memory Allocation

Affects ericmj decimalSource CVE Database V5

0
Compare

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

CVSS 4.0 base score
6.9Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (EEF)CVSS 4.06.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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 10 Oct 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
ericmjdecimalAffected
  • >=0.1.0 <3.1.2
Fixed in
  • 3.1.2
decimalericmj/decimalAffected
  • ≥ 05bb73eb40ddef24eda782d905766f56a3660522, < 338f42c8cf6a9749ab70c5af04734c6050ca3dc6
Fixed in–
Hexdecimalpkg:hex/decimalOther threatsAffected
  • >=0.1.0 <3.1.2
Fixed in
  • 3.1.2

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

Community reviews

Loading reviews…