{"id":"CVE-2026-82729","aliases":["CVE-2026-82729","EEF-CVE-2026-82729","GHSA-7p8w-j234-7qc8"],"related":[],"kind":"vulnerability","state":"published","title":"Quadratic chunk-size parsing in Mint.HTTP1.Parse allows CPU-exhaustion DoS","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"en","text":"## Summary\n\nInefficient 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\n`parse_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.","format":"markdown","source":"eef"}],"published":"2026-09-04T14:31:20.562Z","modified":"2026-11-25T06:30:15.010Z","severity":{"scorer":"EEF","scheme":"CVSS: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","score":6.3,"rating":"MEDIUM"},"severities":[{"scorer":"EEF","scheme":"CVSS: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","score":6.3,"rating":"MEDIUM"},{"scorer":"Erlang Ecosystem Foundation","scheme":"CVSS: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"}],"cwes":["CWE-407"],"affected":[{"ranges":[{"type":"semver","introduced":"1.9.3","fixed":"1.10.0","status":"affected"}],"vendor":"elixir-mint","product":"mint","package":"mint","cpe":"cpe:2.3:a:elixir-mint:mint:*:*:*:*:*:*:*:*","repo":"https://github.com/elixir-mint/mint","source":"cvelist"},{"ranges":[{"type":"git","introduced":"fc7d16538db7e40b56ed489f08683225cb0197fa","fixed":"bd2a4e7513594997c140cfef9fe0e968712fb588","status":"affected"}],"vendor":"elixir-mint","product":"mint","package":"elixir-mint/mint","cpe":"cpe:2.3:a:elixir-mint:mint:*:*:*:*:*:*:*:*","repo":"https://github.com/elixir-mint/mint","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"1.9.3","status":"affected","fixed":"1.10.0"}],"ecosystem":"Hex","package":"mint","purl":"pkg:hex/mint","source":"eef"},{"ranges":[{"type":"git","introduced":"fc7d16538db7e40b56ed489f08683225cb0197fa","status":"affected","fixed":"bd2a4e7513594997c140cfef9fe0e968712fb588"}],"repo":"https://github.com/elixir-mint/mint","source":"eef"}],"references":[{"url":"https://github.com/elixir-mint/mint/security/advisories/GHSA-7p8w-j234-7qc8","tags":["advisory","exploit","related","vendor-advisory"],"sources":["cvelist","eef","nvd"]},{"url":"https://cna.erlef.org/cves/CVE-2026-82729.html","tags":["related","web"],"sources":["cvelist","eef","nvd"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-82729","tags":["related"],"sources":["cvelist","nvd"]},{"url":"https://github.com/elixir-mint/mint/commit/fc7d16538db7e40b56ed489f08683225cb0197fa","tags":["related","web"],"sources":["cvelist","eef","nvd"]},{"url":"https://github.com/elixir-mint/mint/commit/bd2a4e7513594997c140cfef9fe0e968712fb588","tags":["fix","patch"],"sources":["cvelist","eef","nvd"]},{"url":"https://hex.pm/packages/mint","tags":["package"],"sources":["eef"]}],"credits":["Tr3bor","Jonatan Männchen / EEF","Andrea Leopardi"],"assigner":"EEF","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-09-04T19:33:08.928Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-82729","url":"https://www.cve.org/CVERecord?id=CVE-2026-82729","licence":"CVE Terms of Use","modified":"2026-11-19T08:34:45.585Z"},{"source":"eef","name":"Erlang Ecosystem Foundation","id":"EEF-CVE-2026-82729","url":"https://osv.dev/vulnerability/EEF-CVE-2026-82729","licence":"CC-BY-4.0","modified":"2026-11-25T06:30:15.010Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-82729","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-82729","licence":"Public domain","modified":"2026-11-19T09:18:07.453Z"}],"updatedAt":"2026-11-25T22:59:36.292Z","epss":{"score":0.00487,"percentile":0.43563,"date":"2026-12-01T12:00:22.000Z"}}