CVE-2026-82729: CWE-407 Inefficient Algorithmic Complexity in elixir-mint mint
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.
CVSS v4.0
Score 6.3medium
Affected software
elixir-mint
mint
elixir-mint
mint
cpe:2.3:a:elixir-mint:mint:*:*:*:*:*:*:*:*Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability arises in the parse_hex_prefix/2 function in lib/mint/http1/parse.ex, which processes the chunk-size field of chunked HTTP responses. The function accumulates each hex digit into an arbitrary-precision number without limiting the digit count, resulting in O(N squared) CPU complexity for N digits. The handle_data/2 function prepends incoming data and re-parses from the start on each socket message, allowing a remote server to incrementally send a large number of hex digits and cause repeated expensive parsing. This can exhaust CPU resources on the client side, causing a denial of service. The vulnerability is present in mint versions 1.9.3 through before 1.10.0.
Potential Impact
A remote HTTP server can exploit this vulnerability by sending a chunked response with an extremely large chunk-size field, causing the client to consume excessive CPU resources. This results in a denial of service condition on the client host. The vulnerability does not require authentication or user interaction and can be triggered by a network attacker controlling the HTTP server. There is no indication of data compromise or code execution, only resource exhaustion.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch is documented in the provided data. Until a patch is available, users should consider limiting exposure to untrusted HTTP servers or implementing network-level protections to detect and block suspiciously large chunked responses. Monitor vendor channels for updates regarding an official fix.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- EEF
- Date Reserved
- 2026-08-31T00:59:08.960Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6a9adb41acd9273b49bef20d
Added to database: 09/04/2026, 14:52:49 UTC
Last enriched: 09/07/2026, 11:54:51 UTC
Last updated: 10/18/2026, 06:48:20 UTC
Views: 106
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.