# CVE-2026-82729: Quadratic chunk-size parsing in Mint.HTTP1.Parse allows CPU-exhaustion DoS

- Severity: Medium 6.3 (CVSS:4.0, scored by EEF) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.49%, higher than 43% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-09-04T14:31:20.562Z
- Modified: 2026-11-25T06:30:15.010Z
- Also known as: EEF-CVE-2026-82729, GHSA-7p8w-j234-7qc8
- Weaknesses: CWE-407
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: EEF

## Description

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.

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.

This issue affects mint: from 1.9.3 before 1.10.0.

(As written by CVE List.)

## Affected

- mint: from 1.9.3 before 1.10.0
- elixir-mint/mint: from fc7d16538db7e40b56ed489f08683225cb0197fa before bd2a4e7513594997c140cfef9fe0e968712fb588
- mint (Hex): from 1.9.3 before 1.10.0
- https://github.com/elixir-mint/mint: from fc7d16538db7e40b56ed489f08683225cb0197fa before bd2a4e7513594997c140cfef9fe0e968712fb588

## Every score

- EEF: CVSS:4.0 6.3 Medium `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`
- Erlang Ecosystem Foundation: CVSS:4.0 `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`

## References

- <https://github.com/elixir-mint/mint/security/advisories/GHSA-7p8w-j234-7qc8> (exploit, advisory, related, vendor-advisory)
- <https://cna.erlef.org/cves/CVE-2026-82729.html> (related, web)
- <https://osv.dev/vulnerability/EEF-CVE-2026-82729> (related)
- <https://github.com/elixir-mint/mint/commit/fc7d16538db7e40b56ed489f08683225cb0197fa> (related, web)
- <https://github.com/elixir-mint/mint/commit/bd2a4e7513594997c140cfef9fe0e968712fb588> (fix, patch)
- <https://hex.pm/packages/mint> (package)

## Sources

- CVE List: [CVE-2026-82729](https://www.cve.org/CVERecord?id=CVE-2026-82729), CVE Terms of Use, modified 2026-11-19
- Erlang Ecosystem Foundation: [EEF-CVE-2026-82729](https://osv.dev/vulnerability/EEF-CVE-2026-82729), CC-BY-4.0, modified 2026-11-25
- NVD: [CVE-2026-82729](https://nvd.nist.gov/vuln/detail/CVE-2026-82729), Public domain, modified 2026-11-19

---

Page: https://cve.day/CVE-2026-82729 · Whole record: https://cve.day/CVE-2026-82729.json · Rebuilt by cve.day 2026-11-25T22:59:36.292Z
