CVE-2026-82729
published medium CVSS 4.0 · 6.3Quadratic chunk-size parsing in Mint.HTTP1.Parse allows CPU-exhaustion DoS
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| elixir-mint | — | mint1.9.3 to < 1.10.0 · Other versions: unaffected | Affected | Not stated | EEF |
| elixir-mint | — | elixir-mint/mintmint · fc7d16538db7e40b56ed489f08683225cb0197fa to < bd2a4e7513594997c140cfef9fe0e968712fb588 · Other versions: unaffected | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.3 / 10
- Severity
- medium
- Provider
- EEF · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| elixir-mint | mint | 1.9.3 to < 1.10.0 (affected · semver)Default: unaffected | EEF · cna |
| elixir-mint | mint | fc7d16538db7e40b56ed489f08683225cb0197fa to < bd2a4e7513594997c140cfef9fe0e968712fb588 (affected · git)Default: unaffected | EEF · cna |
Weaknesses
1- CWE-407 CWE-407 Inefficient Algorithmic Complexity
References
5- EEF CNA record for CVE-2026-82729 https://cna.erlef.org/cves/CVE-2026-82729.html
- Fix commit bd2a4e7 in elixir-mint/mint https://github.com/elixir-mint/mint/commit/bd2a4e7513594997c140cfef9fe0e968712fb588
- Introducing commit fc7d165 in elixir-mint/mint https://github.com/elixir-mint/mint/commit/fc7d16538db7e40b56ed489f08683225cb0197fa
- https://github.com/elixir-mint/mint/security/advisories/GHSA-7p8w-j234-7qc8
- OSV record EEF-CVE-2026-82729 https://osv.dev/vulnerability/EEF-CVE-2026-82729
Provider assertions
2EEF · cna
Quadratic chunk-size parsing in Mint.HTTP1.Parse allows CPU-exhaustion DoS
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- cabed7d82902f77aefc5ed825395db4c311e4885ebd8ca74716c61fc860eb27b
- Ingested
- 19 Nov 2026, 08:38:37 UTC
- Source record
- Official CVE record