Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-97853

published medium CVSS 4.0 · 6.9

Unbounded allocation in decimal Decimal.round/3 driven by the places argument enables DoS

Published
10 Oct 2026, 19:43:45 UTC
Updated
19 Nov 2026, 08:21:37 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
ericmj — decimal0.1.0 to < 3.1.2 · Other versions: unaffected Affected Not stated EEF
ericmj — ericmj/decimaldecimal · 05bb73eb40ddef24eda782d905766f56a3660522 and later (affected · git); changes: unaffected at 338f42c8cf6a9749ab70c5af04734c6050ca3dc6, unaffected at 3c90af4c3c2dfa4bb4c138760a326dd0eb91822b · Other versions: unaffected Version-specific Not stated EEF

Description

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.

en · EEF · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
4.0
Base score
6.9 / 10
Severity
medium
Provider
EEF · cna
Vector string
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
Scenarios
en: GENERAL

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
ericmj decimal 0.1.0 to < 3.1.2 (affected · semver)Default: unaffected EEF · cna
ericmj decimal 05bb73eb40ddef24eda782d905766f56a3660522 and later (affected · git); changes: unaffected at 338f42c8cf6a9749ab70c5af04734c6050ca3dc6, unaffected at 3c90af4c3c2dfa4bb4c138760a326dd0eb91822bDefault: unaffected EEF · cna

Weaknesses

1
  • CWE-789 CWE-789 Memory Allocation with Excessive Size Value (EEF · cna)

References

6

Provider assertions

2

EEF · cna

Unbounded allocation in decimal Decimal.round/3 driven by the places argument enables DoS

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
bb5cf44bafc0529abc7343369dc2bc11871317df4aba29898ac2c73ae119bdbe
Ingested
19 Nov 2026, 08:33:21 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected