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 17 Nov 2026, 20:25 UTC

CVSS 4.0 base score
6.9Medium
How severe the flaw is on the 0–10 CVSS scale.
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 17 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
ericmjdecimalAffected
  • ≥ 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

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

Community reviews

Loading reviews…