CVE-2026-82729 Details
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.
A denial-of-service vulnerability has been identified in the Elixir Mint HTTP library, specifically in versions 1.9.3 prior to 1.10.0. The issue arises in the HTTP/1 parser, where the 'parse_hex_prefix/2' function processes each hex digit of a chunked response's chunk-size field into an arbitrary-precision accumulator. This operation, which grows without bound and lacks a digit count limit, results in a quadratic increase in processing time. Consequently, a remote HTTP server can send a response with an excessive number of hex digits, causing the client to experience significant CPU exhaustion. The vulnerability is exacerbated by Mint's handling of socket messages, which forces repeated re-parsing from the beginning, further increasing the computational cost.
Users can upgrade to Elixir Mint version 1.10.0, where this vulnerability has been patched.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Sep 4, 2026CISA-ADP
Assessed Sep 4, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/elixir-mint/mint/security/advisories/GHSA-7p8w-j234-7qc8 | CISA-ADP | AdvisoryExploitRemedyVendor |
| https://cna.erlef.org/cves/CVE-2026-82729.html | EEF | AdvisoryPermission Required |
| https://github.com/elixir-mint/mint/commit/bd2a4e7513594997c140cfef9fe0e968712fb588 | EEF | Source CodeVendor |
| https://github.com/elixir-mint/mint/security/advisories/GHSA-7p8w-j234-7qc8 | EEF | AdvisoryExploitRemedyVendor |
| https://osv.dev/vulnerability/EEF-CVE-2026-82729 | EEF | AdvisoryBundle |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-407 | Inefficient Algorithmic Complexity | EEF |
Affected Products
| Product | Versions |
|---|---|
| elixir-mint mint | >= 1.9.3, < 1.10.0 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 4, 2026 | CVE Modified | CISA-ADP |
| Sep 4, 2026 | New CVE Received | EEF |
Volerion