{"id":"CVE-2026-82729","published":"2026-09-04T14:31:20Z","modified":"2026-11-19T08:34:45Z","title":"Quadratic chunk-size parsing in Mint.HTTP1.Parse allows CPU-exhaustion DoS","vendor":"elixir-mint","product":"mint","tier":"tail","description":{"text":"Inefficient Algorithmic Complexity vulnerability in elixir-mint mint allows a remote HTTP server to exhaust CPU on the client host and cause a denial of service.\n\nparse_hex_prefix/2 in lib/mint/http1/parse.ex folds each hex digit of a chunked response's chunk-size field into an arbitrary-precision accumulator with acc * 16 + digit and imposes no limit on the digit count. Because the accumulator grows without bound, the multiplication is not constant time and one pass over N digits costs O(N squared). handle_data/2 prepends conn.buffer and re-parses from the start on every socket message, so a server that dribbles the digits out in small packets makes the client pay that cost repeatedly. A run of roughly 512,000 hex digits costs over ten seconds of CPU in a single pass, measured on stock defaults. The parser reaches this state after a valid status line and a complete, valid header section, so an intermediary inspecting only headers sees an ordinary 200 response.\n\nThis issue affects mint: from 1.9.3 before 1.10.0.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.3,"severity":"MEDIUM","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00524,"percentile":0.37802,"provenance":"source"},"cwes":[{"id":"CWE-407","name":"Inefficient Algorithmic Complexity"}],"references":[{"url":"https://github.com/elixir-mint/mint/security/advisories/GHSA-7p8w-j234-7qc8","tags":["related","vendor-advisory"]},{"url":"https://cna.erlef.org/cves/CVE-2026-82729.html","tags":["related"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-82729","tags":["related"]},{"url":"https://github.com/elixir-mint/mint/commit/fc7d16538db7e40b56ed489f08683225cb0197fa","tags":["related"]},{"url":"https://github.com/elixir-mint/mint/commit/bd2a4e7513594997c140cfef9fe0e968712fb588","tags":["patch"]}],"priority":{"score":12.0,"factors":[{"name":"EPSS percentile","points":7.56},{"name":"CVSS severity","points":4.41}]},"vendorSlug":"elixir-mint","affectedVersions":[{"vendor":"elixir-mint","product":"mint","versions":[">= 1.9.3, < 1.10.0"]},{"vendor":"elixir-mint","product":"mint","versions":[">= fc7d16538db7e40b56ed489f08683225cb0197fa, < bd2a4e7513594997c140cfef9fe0e968712fb588"]}],"capec":[{"id":"CAPEC-130","name":"Excessive Allocation"}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-09-04T19:33:08.928597Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-71219","exploited":false,"provenance":"source"}}