{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-32686","id":"CVE-2026-32686","title":"Unbounded exponent in decimal enables unauthenticated DoS","description":"Uncontrolled Resource Consumption vulnerability in ericmj decimal allows unauthenticated remote Denial of Service.\n\nThe 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 wi","descriptionLong":"Uncontrolled Resource Consumption vulnerability in ericmj decimal allows unauthenticated remote Denial of Service.\n\nThe 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.\n\nAny 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.\n\nThis issue affects decimal: from 0.1.0 before 3.0.0.","published":"2026-05-07T14:04:47.222Z","updated":"2026-11-19T09:45:39.326142854Z","reserved":"2026-03-13T09:12:14.474Z","status":"Deferred","rejected":false,"assigner":"EEF","metric":{"version":"4.0","score":6.9,"vector":"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","rating":"medium","source":"EEF"},"metrics":[{"version":"4.0","score":6.9,"vector":"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","rating":"medium","source":"EEF"},{"version":"4.0","score":6.9,"vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","rating":"medium","source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db"},{"version":"4.0","score":null,"vector":"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","rating":"unrated","source":"OSV"},{"version":"4.0","score":null,"vector":"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","rating":"medium","source":"GitHub"}],"rating":"medium","products":["ericmj decimal"],"affectedProducts":[{"vendor":"ericmj","product":"decimal","defaultStatus":"unaffected","versions":[{"lessThan":"3.0.0","status":"affected","version":"0.1.0","versionType":"semver"}],"platforms":[]},{"vendor":"ericmj","product":"decimal","defaultStatus":"unaffected","versions":[{"lessThan":"6a523f3a73b8c9974540e21c7aa88f1258bb35ae","status":"affected","version":"bc11f4a2b6fb61fc1360a0ab4e79141bba918841","versionType":"git"}],"platforms":[]}],"packages":[{"ecosystem":"Hex","name":"decimal","purl":"pkg:hex/decimal","ranges":[">=0.1.0 <3.0.0"],"fixed":["3.0.0"],"advisory":"GHSA-rhv4-8758-jx7v"}],"cwes":["CWE-400"],"aliases":["EEF-CVE-2026-32686","GHSA-rhv4-8758-jx7v"],"references":[{"url":"https://github.com/ericmj/decimal/security/advisories/GHSA-rhv4-8758-jx7v","tags":["vendor-advisory","related","exploit","advisory","web"]},{"url":"https://cna.erlef.org/cves/CVE-2026-32686.html","tags":["related","web"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-32686","tags":["related","web"]},{"url":"https://github.com/ericmj/decimal/commit/bc11f4a2b6fb61fc1360a0ab4e79141bba918841","tags":["related","fix"]},{"url":"https://github.com/ericmj/decimal/commit/6a523f3a73b8c9974540e21c7aa88f1258bb35ae","tags":["patch","fix","web"]},{"url":"https://github.com","tags":["web"]},{"url":"https://repo.hex.pm","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/32xxx/CVE-2026-32686.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-32686","tags":["advisory"]},{"url":"https://github.com/ericmj/decimal","tags":["package"]},{"url":"https://github.com/ericmj/decimal/releases/tag/v2.4.0","tags":["web"]},{"url":"https://github.com/ericmj/decimal/releases/tag/v3.0.0","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial"},"epss":0.00484,"epssPercentile":0.42506,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-32686","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-32686","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-32686","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-rhv4-8758-jx7v","ok":true,"note":"GHSA-rhv4-8758-jx7v"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-32686","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}