Read the docs
TI-2026-25178 Aliases CVE-2026-32686GHSA-rhv4-8758-jx7v

Unbounded exponent in decimal enables unauthenticated DoS

Priority HIGH 70CWE-400Published · Updated

Key facts

Attack vector
Local
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · High
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-400.

Summary

Uncontrolled Resource Consumption vulnerability in ericmj decimal allows unauthenticated remote Denial of Service. The decimal library does not bound the exponent on parsed input. Storing a decimal with a very large exponent (e.g. Decimal.new("1e1000000000")) is accepted without error. Subsequent calls to arithmetic functions (Decimal.add/2, Decimal.sub/2, Decimal.div/2M), Decimal.to_string/2M with :normalM or :xsdM format, Decimal.to_integer/1M, Decimal.round/3M, or Decimal.compare/3M with a threshold allocate memory proportional to the exponent value, which can exhaust available memory and crash the BEAM VM. Any application that accepts user-supplied decimal input and subsequently performs arithmetic, rounding, conversion to integer, or string formatting on it is exposed. A single malicious request is sufficient to cause an out-of-memory crash. This issue affects decimal: from 0.1.0 before 3.0.0.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00484 41st percentileScored 2026-11-07
Fix Fixed decimal (ericmj): 3.0.0decimal (Hex): 3.0.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
ericmjdecimal0.1.0 to before 3.0.03.0.0Patch availableCNA
—decimal (Hex)0.1.0 to before 3.0.03.0.0Patch availableGHSA-rhv4-8758-jx7v
  • decimal Vendorericmj Affected 0.1.0 to before 3.0.0 Fixed in 3.0.0 Patch available CNA
  • decimal (Hex) Vendor— Affected 0.1.0 to before 3.0.0 Fixed in 3.0.0 Patch available GHSA-rhv4-8758-jx7v

CPE names CNA · 1

CPEVersionsRoleVendor
cpe:2.3:a:ericmj:decimal:*:*:*:*:*:*:*:*——ericmj
  • cpe:2.3:a:ericmj:decimal:*:*:*:*:*:*:*:* Versions — — ·ericmj

Remediation

  • Fix · CNA decimal (ericmj) Fixed in 3.0.0
  • Fix · GHSA-rhv4-8758-jx7v decimal (Hex) Fixed in 3.0.0 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-32686
  2. 2026-10-03 Alias added: GHSA-rhv4-8758-jx7v

References

  • TI-2026-70500 Unbounded allocation in decimal Decimal.round allows DoS CVSS 4.0MEDIUM 6.9

Sources