{"id":"CVE-2026-58229","aliases":["CVE-2026-58229","EEF-CVE-2026-58229","GHSA-qrfr-wh4c-3qhw"],"related":[],"kind":"vulnerability","state":"published","title":"Unbounded HTTP/1 response-header and chunked-trailer accumulation in Mint causes memory-exhaustion DoS","summary":"Allocation of resources without limits vulnerability in elixir-mint mint allows a remote HTTP server to exhaust memory on the client host and cause a denial of service.\n\nThe Mint.HTTP1.decode_headers/5 and Mint.HTTP1.decode_trailer_headers/4 functions in lib/mint/http1.ex accumulate every parsed response header and chunked-trailer field into a per-request list that persists across incoming TCP segments as request.headers_buffer, and only clear it when the terminating blank line is received. The section has no cap on the number of headers or on total bytes, and the underlying :erlang.decode_packet(:httph_bin, binary, []) parser is invoked with an empty option list so its per-line and per-packet size limits also default to unlimited.\n\nA malicious HTTP server (reachable directly, via an attacker-controlled redirect, via SSRF, or via a man-in-the-middle) can stream complete header lines (or, after a chunked body, complete trailer lines) indefinitely without ever emitting the terminating blank line. The connection state grows without bound until the BEAM node is killed by the operating system's out-of-memory handler, taking down the entire application that uses Mint as an HTTP client.\n\nThis issue affects mint: from 0.1.0 before 1.9.2.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Allocation of resources without limits vulnerability in elixir-mint mint allows a remote HTTP server to exhaust memory on the client host and cause a denial of service.\n\nThe Mint.HTTP1.decode_headers/5 and Mint.HTTP1.decode_trailer_headers/4 functions in lib/mint/http1.ex accumulate every parsed response header and chunked-trailer field into a per-request list that persists across incoming TCP segments as request.headers_buffer, and only clear it when the terminating blank line is received. The section has no cap on the number of headers or on total bytes, and the underlying :erlang.decode_packet(:httph_bin, binary, []) parser is invoked with an empty option list so its per-line and per-packet size limits also default to unlimited.\n\nA malicious HTTP server (reachable directly, via an attacker-controlled redirect, via SSRF, or via a man-in-the-middle) can stream complete header lines (or, after a chunked body, complete trailer lines) indefinitely without ever emitting the terminating blank line. The connection state grows without bound until the BEAM node is killed by the operating system's out-of-memory handler, taking down the entire application that uses Mint as an HTTP client.\n\nThis issue affects mint: from 0.1.0 before 1.9.2.","source":"cvelist"},{"lang":"en","text":"## Summary\n\nAllocation of resources without limits vulnerability in elixir-mint mint allows a remote HTTP server to exhaust memory on the client host and cause a denial of service.\n\nThe `Mint.HTTP1.decode_headers/5` and `Mint.HTTP1.decode_trailer_headers/4` functions in `lib/mint/http1.ex` accumulate every parsed response header and chunked-trailer field into a per-request list that persists across incoming TCP segments as `request.headers_buffer`, and only clear it when the terminating blank line is received. The section has no cap on the number of headers or on total bytes, and the underlying `:erlang.decode_packet(:httph_bin, binary, [])` parser is invoked with an empty option list so its per-line and per-packet size limits also default to unlimited.\n\nA malicious HTTP server (reachable directly, via an attacker-controlled redirect, via SSRF, or via a man-in-the-middle) can stream complete header lines (or, after a chunked body, complete trailer lines) indefinitely without ever emitting the terminating blank line. The connection state grows without bound until the BEAM node is killed by the operating system's out-of-memory handler, taking down the entire application that uses Mint as an HTTP client.\n\nThis issue affects mint: from 0.1.0 before 1.9.2.","format":"markdown","source":"eef"}],"published":"2026-07-14T08:36:54.616Z","modified":"2026-11-25T17:23:09.021Z","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:H/SC:N/SI:N/SA:N","score":8.2,"rating":"HIGH"},"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:H/SC:N/SI:N/SA:N","score":8.2,"rating":"HIGH"},{"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:H/SC:N/SI:N/SA:N"}],"cwes":["CWE-770"],"affected":[{"ranges":[{"type":"semver","introduced":"0.1.0","fixed":"1.9.2","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":"3e6de4bac4821b0eb4d6109e8b1f3fb6458792c8","fixed":"566d702e6f29105f77522ca7aabb9f64f2f4e333","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":"0.1.0","status":"affected","fixed":"1.9.2"}],"ecosystem":"Hex","package":"mint","purl":"pkg:hex/mint","source":"eef"},{"ranges":[{"type":"git","introduced":"3e6de4bac4821b0eb4d6109e8b1f3fb6458792c8","status":"affected","fixed":"566d702e6f29105f77522ca7aabb9f64f2f4e333"}],"repo":"https://github.com/elixir-mint/mint","source":"eef"}],"references":[{"url":"https://github.com/elixir-mint/mint/security/advisories/GHSA-qrfr-wh4c-3qhw","tags":["advisory","exploit","related","vendor-advisory"],"sources":["cvelist","eef","nvd"]},{"url":"https://cna.erlef.org/cves/CVE-2026-58229.html","tags":["related","web"],"sources":["cvelist","eef","nvd"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-58229","tags":["related"],"sources":["cvelist","nvd"]},{"url":"https://github.com/elixir-mint/mint/commit/3e6de4bac4821b0eb4d6109e8b1f3fb6458792c8","tags":["related","web"],"sources":["cvelist","eef","nvd"]},{"url":"https://github.com/elixir-mint/mint/commit/566d702e6f29105f77522ca7aabb9f64f2f4e333","tags":["fix","patch"],"sources":["cvelist","eef","nvd"]},{"url":"https://hex.pm/packages/mint","tags":["package"],"sources":["eef"]}],"credits":["zx (Jace)","Jonatan Männchen / EEF","Andrea Leopardi","Eric Meadows-Jönsson"],"assigner":"EEF","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-07-14T12:27:10.055Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-58229","url":"https://www.cve.org/CVERecord?id=CVE-2026-58229","licence":"CVE Terms of Use","modified":"2026-11-24T05:29:15.736Z"},{"source":"eef","name":"Erlang Ecosystem Foundation","id":"EEF-CVE-2026-58229","url":"https://osv.dev/vulnerability/EEF-CVE-2026-58229","licence":"CC-BY-4.0","modified":"2026-11-25T17:23:09.021Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-58229","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-58229","licence":"Public domain","modified":"2026-11-24T06:17:08.850Z"}],"updatedAt":"2026-11-25T22:59:27.881Z","epss":{"score":0.00379,"percentile":0.23799,"date":"2026-11-30T12:00:22.000Z"}}