CVE-2026-59246: Zero-length HTTP/2 CONTINUATION frames bypass Mint's header-block byte-size cap and exhaust client memory

Published Jul 14, 2026
·
Updated

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.handlecontinuation/3 function in lib/mint/http2.ex accumulates the header-block fragment carried by each HTTP/2 CONTINUATION frame into a growing conn.headersbeingprocessed nesting, one level deeper per frame, and only releases it when a frame with the ENDHEADERS flag arrives. The only guard on this accumulator is Mint.HTTP2.assertheaderblockwithinmaxsize/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 ENDHEADERS, 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 ENDHEADERS 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.

Affected Software

1 affected component
elixir-mint/mint>0.1.0<1.9.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade elixir-mint mint to a version that resolves this vulnerability.

    Fixed in 1.9.2
  2. Operational

    After upgrading mint (affected range: 0.1.0 before 1.9.2), monitor the BEAM node hosting the Mint client for memory exhaustion/out-of-memory restarts and remediate any incidents that occurred before the patch was applied.

Event History

Jul 14, 2026
CVE Published
via MITRE·08:37 AM
Data Sourced
via MITRE·08:37 AM
DescriptionWeakness
Data Sourced
via NVD·09:16 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2026-59246?

CVE-2026-59246 has a medium severity rating of 6.3.

2

What is the impact of CVE-2026-59246?

CVE-2026-59246 allows a remote HTTP/2 server to exhaust memory on the client host, leading to a denial of service.

3

How do I fix CVE-2026-59246?

To fix CVE-2026-59246, update the elixir-mint library to the latest version that mitigates this vulnerability.

4

Who is affected by CVE-2026-59246?

Users of the elixir-mint library for HTTP/2 communications are affected by CVE-2026-59246.

5

What type of vulnerability is CVE-2026-59246?

CVE-2026-59246 is classified as an allocation of resources without limits vulnerability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203