EEF-CVE-2026-48862

Source
https://cna.erlef.org/osv/EEF-CVE-2026-48862.html
Import Source
https://cna.erlef.org/osv/EEF-CVE-2026-48862.json
JSON Data
https://api.osv.dev/v1/vulns/EEF-CVE-2026-48862
Aliases
  • CVE-2026-48862
  • GHSA-g586-ccqf-7x4r
Published
2026-06-02T14:15:10.591Z
Modified
2026-06-02T19:14:09.683Z
Severity
  • 8.2 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N CVSS Calculator
Summary
Unbounded conn.streams growth in Mint HTTP/2 client via unenforced PUSH_PROMISE concurrency
Details

Summary

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 PUSH_PROMISE 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 PUSH_PROMISE 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 PUSH_PROMISE 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.

Workaround

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

Database specific
{
    "cpe_ids": [
        "cpe:2.3:a:elixir-mint:mint:*:*:*:*:*:*:*:*"
    ],
    "capec_ids": [
        "CAPEC-130"
    ],
    "cwe_ids": [
        "CWE-770"
    ]
}
References
Credits
    • Peter Ullrich - FINDER
    • Eric Meadows-Jönsson - REMEDIATION_DEVELOPER
    • Jonatan Männchen / EEF - ANALYST

Affected packages

Hex / mint

Package

Name
mint
Purl
pkg:hex/mint

Affected ranges

Type
SEMVER
Events
Introduced
0.2.0
Fixed
1.9.0

Affected versions

0.*
0.2.0
0.2.1
0.3.0
0.4.0
0.5.0
1.*
1.0.0
1.1.0
1.2.0
1.2.1
1.3.0
1.4.0
1.4.1
1.4.2
1.5.0
1.5.1
1.5.2
1.6.0
1.6.1
1.6.2
1.7.0
1.7.1
1.8.0

Database specific

source
"https://cna.erlef.org/osv/EEF-CVE-2026-48862.json"

Git / github.com/elixir-mint/mint.git

Affected ranges

Type
GIT
Repo
https://github.com/elixir-mint/mint.git
Events

Affected versions

v0.*
v0.2.0
v0.2.1
v0.4.0
v0.5.0
v1.*
v1.0.0
v1.1.0
v1.2.0
v1.2.1
v1.3.0
v1.4.0
v1.4.1
v1.4.2
v1.5.0
v1.5.1
v1.5.2
v1.6.0
v1.6.1
v1.6.2
v1.7.0
v1.7.1
v1.8.0

Database specific

source
"https://cna.erlef.org/osv/EEF-CVE-2026-48862.json"