CVE-2026-48862: Unbounded conn.streams growth in Mint HTTP/2 client via unenforced PUSH_PROMISE concurrency

Published Jun 2, 2026
·
Updated

Summary

Mint's HTTP/2 client accepts PUSHPROMISE frames from any server it connects to and inserts every promised stream into a per-connection map without consulting maxconcurrentstreams. A malicious or compromised HTTP/2 server can flood the client with PUSHPROMISE frames and withhold the matching response HEADERS, pinning one map entry per frame indefinitely until the client process runs out of memory.

Details

'Elixir.Mint.HTTP2':handlepushpromise/3 in lib/mint/http2.ex dispatches every inbound PUSHPROMISE frame to 'Elixir.Mint.HTTP2':decodepushpromiseheadersandaddresponse/5, which inserts a :reservedremote entry into conn.streams for the promised ID. The only validation applied is that the promised ID is even and not already present; clientsettings.maxconcurrentstreams is not consulted at promise time.

The concurrency cap is only checked when the response HEADERS for the promised stream arrive. A server that emits PUSHPROMISE frames and never sends the matching HEADERS never trips that check, and the existing tally counts only streams in open states, not :reservedremote entries.

HTTP/2 server push is accepted by default (clientsettings.enablepush defaults to true), so no application opt-in is required. A single long-lived HTTP/2 connection to a hostile server lets it pin one conn.streams entry per PUSHPROMISE frame, with no upper bound.

PoC

1. Stand up a raw TCP HTTP/2 server that completes the handshake and ACKs the client's SETTINGS. 2. Wait for the client's request HEADERS and capture its odd stream ID. 3. Send a flood of PUSHPROMISE frames (flags = ENDHEADERS) associated with the captured stream, each promising a fresh even stream ID and carrying a minimal HPACK-encoded header block. 4. Never send the matching response HEADERS for any of the promised IDs. 5. The client's conn.streams map grows by one entry per PUSHPROMISE frame (~148 bytes/entry); memory grows linearly and the BEAM process eventually crashes with OOM.

Impact

Remote, unauthenticated denial-of-service against any process using Mint as an HTTP/2 client against an untrusted or attacker-influenced server. Server push is on by default, so no application code change can prevent it short of disabling push or upgrading. Affected populations include outbound HTTP/2 clients in web backends, webhook delivery systems, scrapers, federated and proxy components, and any service that follows redirects to third-party HTTP/2 origins.

Workarounds

Disable HTTP/2 server push on connections to untrusted servers by passing clientsettings: [enablepush: false] to 'Elixir.Mint.HTTP':connect/4. Mint will then reject any inbound PUSHPROMISE frame with a PROTOCOLERROR before the vulnerable code path is reached.

Resources

Introduction commit: https://github.com/elixir-mint/mint/commit/65c6394d05a1b8aa4a7461708c3aa173e8d7a5cf Patch commit: https://github.com/elixir-mint/mint/commit/70b97b6a5209fb288b0e04d8e657dda26c59de67

Other sources

Allocation of Resources Without Limits or Throttling vulnerability in elixir-mint Mint allows attacker-controlled HTTP/2 servers to exhaust memory in a Mint client via PUSHPROMISE flooding.

In lib/mint/http2.ex, Mint.HTTP2.decodepushpromiseheadersandaddresponse/5 inserts a :reservedremote entry into conn.streams for every promised stream ID. The neighbouring Mint.HTTP2.assertvalidpromisedstreamid/2 only verifies that the promised ID is even and not already present; clientsettings.maxconcurrentstreams is not consulted at promise time. The concurrency cap is only checked when the response HEADERS for the promised stream arrive, so a server that emits PUSHPROMISE frames and withholds the matching HEADERS never trips that check.

HTTP/2 server push is accepted by default (clientsettings.enablepush defaults to true). A single long-lived HTTP/2 connection to a hostile server lets that server pin one conn.streams entry per PUSHPROMISE frame it sends, with no upper bound, until the client process runs out of memory.

This issue affects mint: from 0.2.0 before 1.9.0.

— MITRE

Affected Software

2 affected componentsFixes available
hex/mint>=0.2.0<1.9.0
erlang/mint>=0.2.0<1.9.0
1.9.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade erlang/mint to a version that resolves this vulnerability.

    Fixed in 1.9.0
  2. Upgrade

    Upgrade mint to a version that resolves this vulnerability.

    Fixed in 1.9.0
  3. Configuration

    Disable HTTP/2 server push on connections to untrusted servers by calling 'Elixir.Mint.HTTP':connect/4 with client_settings: [enable_push: false].

    Mint.HTTP (Elixir.Mint.HTTP connect/4) client_settings.enable_push = false

Event History

Jun 2, 2026
CVE Published
via MITRE·02:15 PM
Data Sourced
via MITRE·02:15 PM
DescriptionWeakness
Data Sourced
via NVD·04:16 PM
DescriptionSeverityWeakness
Jul 9, 2026
Advisory Published
via GitHub·11:19 PM
Data Sourced
via GitHub·11:19 PM
DescriptionWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-48862?

CVE-2026-48862 has a severity score of 8.2, indicating a high risk.

2

How do I fix CVE-2026-48862?

To mitigate CVE-2026-48862, ensure that your Mint HTTP/2 client is updated to the latest version that addresses this vulnerability.

3

What type of vulnerability is CVE-2026-48862?

CVE-2026-48862 is classified as an Allocation of Resources Without Limits or Throttling vulnerability.

4

What is the impact of CVE-2026-48862?

CVE-2026-48862 allows attacker-controlled HTTP/2 servers to exhaust the memory of a Mint client through PUSH_PROMISE flooding.

5

Which software is affected by CVE-2026-48862?

CVE-2026-48862 affects the Mint HTTP/2 client library in Elixir.

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