Skip to main content
EPSS 0.5%top 57%

CVE-2026-82729: CWE-407 Inefficient Algorithmic Complexity in elixir-mint mint

0
Medium
VulnerabilityCVE-2026-82729cvecve-2026-82729cwe-407
Published: 09/04/2026 (09/04/2026, 14:31:20 UTC)
Source: CVE Database V5
Vendor/Project: elixir-mint
Product: 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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
None
Vuln. Availability
Low
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

elixir-mint

mint

Affected versions
>=1.9.3 <1.10.0

elixir-mint

mint

mint
pkg:hex/mint
Affected versions
>=1.9.3 <1.10.0
GitHub Actionsmore threats →cve
elixir-mint/mint
pkg:github/elixir-mint/mint
CPE configurations
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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/07/2026, 11:54:51 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses