CVE-2026-59246: CWE-770 Allocation of Resources Without Limits or Throttling in elixir-mint mint
Allocation of resources without limits vulnerability in elixir-mint mint allows a remote HTTP/2 server to exhaust memory on the client host and cause a denial of service. The Mint.HTTP2.handle_continuation/3 function in lib/mint/http2.ex accumulates the header-block fragment carried by each HTTP/2 CONTINUATION frame into a growing conn.headers_being_processed nesting, one level deeper per frame, and only releases it when a frame with the END_HEADERS flag arrives. The only guard on this accumulator is Mint.HTTP2.assert_header_block_within_max_size/2, which sums the byte size of the fragments received so far. Because a CONTINUATION frame is permitted by the protocol to carry a zero-length payload, an unbounded chain of zero-length CONTINUATION frames adds no bytes to the running total, never trips the size cap, and never emits END_HEADERS, yet each frame still nests the accumulator one level deeper. A malicious HTTP/2 server (reachable directly, via an attacker-controlled redirect, via SSRF, or via a man-in-the-middle) can open a stream by sending a HEADERS frame without END_HEADERS and then stream zero-length CONTINUATION frames indefinitely. Client memory grows one cons cell per frame received; sustained bandwidth from the peer drives the BEAM node running the Mint client to memory exhaustion and eventual out-of-memory termination. This issue affects mint: from 0.1.0 before 1.9.2.
AI Analysis
Technical Summary
The vulnerability exists in the Mint.HTTP2.handle_continuation/3 function, which accumulates header-block fragments from HTTP/2 CONTINUATION frames into a nested structure. Because zero-length CONTINUATION frames do not increase the byte count, the size limit check does not trigger, allowing an attacker-controlled server to send an indefinite chain of such frames. Each frame deepens the nesting, causing the client memory to grow continuously until exhaustion and process termination. This affects mint versions >=0.1.0 and <1.9.2.
Potential Impact
A remote HTTP/2 server can cause the mint client to consume excessive memory by sending crafted CONTINUATION frames, leading to denial of service via out-of-memory termination of the BEAM node running the client. This can disrupt applications relying on mint for HTTP/2 communication.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch is currently documented. Until a fix is available, avoid connecting to untrusted or attacker-controlled HTTP/2 servers with vulnerable versions of mint. Monitor for updates from the elixir-mint project regarding a patch or mitigation.
CVE-2026-59246: CWE-770 Allocation of Resources Without Limits or Throttling in elixir-mint mint
Description
Allocation of resources without limits vulnerability in elixir-mint mint allows a remote HTTP/2 server to exhaust memory on the client host and cause a denial of service. The Mint.HTTP2.handle_continuation/3 function in lib/mint/http2.ex accumulates the header-block fragment carried by each HTTP/2 CONTINUATION frame into a growing conn.headers_being_processed nesting, one level deeper per frame, and only releases it when a frame with the END_HEADERS flag arrives. The only guard on this accumulator is Mint.HTTP2.assert_header_block_within_max_size/2, which sums the byte size of the fragments received so far. Because a CONTINUATION frame is permitted by the protocol to carry a zero-length payload, an unbounded chain of zero-length CONTINUATION frames adds no bytes to the running total, never trips the size cap, and never emits END_HEADERS, yet each frame still nests the accumulator one level deeper. A malicious HTTP/2 server (reachable directly, via an attacker-controlled redirect, via SSRF, or via a man-in-the-middle) can open a stream by sending a HEADERS frame without END_HEADERS and then stream zero-length CONTINUATION frames indefinitely. Client memory grows one cons cell per frame received; sustained bandwidth from the peer drives the BEAM node running the Mint client to memory exhaustion and eventual out-of-memory termination. This issue affects mint: from 0.1.0 before 1.9.2.
CVSS v4.0
Score 6.3medium
Affected software
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 exists in the Mint.HTTP2.handle_continuation/3 function, which accumulates header-block fragments from HTTP/2 CONTINUATION frames into a nested structure. Because zero-length CONTINUATION frames do not increase the byte count, the size limit check does not trigger, allowing an attacker-controlled server to send an indefinite chain of such frames. Each frame deepens the nesting, causing the client memory to grow continuously until exhaustion and process termination. This affects mint versions >=0.1.0 and <1.9.2.
Potential Impact
A remote HTTP/2 server can cause the mint client to consume excessive memory by sending crafted CONTINUATION frames, leading to denial of service via out-of-memory termination of the BEAM node running the client. This can disrupt applications relying on mint for HTTP/2 communication.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch is currently documented. Until a fix is available, avoid connecting to untrusted or attacker-controlled HTTP/2 servers with vulnerable versions of mint. Monitor for updates from the elixir-mint project regarding a patch or mitigation.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- EEF
- Date Reserved
- 2026-07-04T04:24:03.652Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a55feea68715ace432dfb8d
Added to database: 07/14/2026, 09:18:34 UTC
Last enriched: 07/14/2026, 10:03:22 UTC
Last updated: 07/14/2026, 19:47:34 UTC
Views: 9
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.