{"containers":{"cna":{"affected":[{"collectionURL":"https://repo.hex.pm","cpes":["cpe:2.3:a:elixir-mint:mint:*:*:*:*:*:*:*:*"],"defaultStatus":"unaffected","modules":["'Elixir.Mint.HTTP2'"],"packageName":"mint","packageURL":"pkg:hex/mint","product":"mint","programFiles":["lib/mint/http2.ex"],"programRoutines":[{"name":"'Elixir.Mint.HTTP2':handle_push_promise/3"},{"name":"'Elixir.Mint.HTTP2':decode_push_promise_headers_and_add_response/5"}],"repo":"https://github.com/elixir-mint/mint","vendor":"elixir-mint","versions":[{"lessThan":"1.9.0","status":"affected","version":"0.2.0","versionType":"semver"}]},{"collectionURL":"https://github.com","cpes":["cpe:2.3:a:elixir-mint:mint:*:*:*:*:*:*:*:*"],"defaultStatus":"unaffected","modules":["'Elixir.Mint.HTTP2'"],"packageName":"elixir-mint/mint","packageURL":"pkg:github/elixir-mint/mint","product":"mint","programFiles":["lib/mint/http2.ex"],"programRoutines":[{"name":"'Elixir.Mint.HTTP2':handle_push_promise/3"},{"name":"'Elixir.Mint.HTTP2':decode_push_promise_headers_and_add_response/5"}],"repo":"https://github.com/elixir-mint/mint.git","vendor":"elixir-mint","versions":[{"lessThan":"70b97b6a5209fb288b0e04d8e657dda26c59de67","status":"affected","version":"65c6394d05a1b8aa4a7461708c3aa173e8d7a5cf","versionType":"git"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:a:elixir-mint:mint:*:*:*:*:*:*:*:*","versionEndExcluding":"1.9.0","versionStartIncluding":"0.2.0","vulnerable":true}],"negate":false,"operator":"OR"}],"operator":"AND"}],"credits":[{"lang":"en","type":"finder","value":"Peter Ullrich"},{"lang":"en","type":"remediation developer","value":"Eric Meadows-Jönsson"},{"lang":"en","type":"analyst","value":"Jonatan Männchen / EEF"}],"descriptions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"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.<p>In <tt>lib/mint/http2.ex</tt>, <tt>'Elixir.Mint.HTTP2':decode_push_promise_headers_and_add_response/5</tt> inserts a <tt>:reserved_remote</tt> entry into <tt>conn.streams</tt> for every promised stream ID. The neighbouring <tt>'Elixir.Mint.HTTP2':assert_valid_promised_stream_id/2</tt> only verifies that the promised ID is even and not already present; <tt>client_settings.max_concurrent_streams</tt> is not consulted at promise time. The concurrency cap is only checked when the response <tt>HEADERS</tt> for the promised stream arrive, so a server that emits <tt>PUSH_PROMISE</tt> frames and withholds the matching <tt>HEADERS</tt> never trips that check.</p><p>HTTP/2 server push is accepted by default (<tt>client_settings.enable_push</tt> defaults to <tt>true</tt>). A single long-lived HTTP/2 connection to a hostile server lets that server pin one <tt>conn.streams</tt> entry per <tt>PUSH_PROMISE</tt> frame it sends, with no upper bound, until the client process runs out of memory.</p><p>This issue affects mint: from 0.2.0 before 1.9.0.</p>"}],"value":"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.\n\nIn lib/mint/http2.ex, Mint.HTTP2.decode_push_promise_headers_and_add_response/5 inserts a :reserved_remote entry into conn.streams for every promised stream ID. The neighbouring Mint.HTTP2.assert_valid_promised_stream_id/2 only verifies that the promised ID is even and not already present; client_settings.max_concurrent_streams 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.\n\nHTTP/2 server push is accepted by default (client_settings.enable_push 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.\n\nThis issue affects mint: from 0.2.0 before 1.9.0."}],"impacts":[{"capecId":"CAPEC-130","descriptions":[{"lang":"en","value":"CAPEC-130 Excessive Allocation"}]}],"metrics":[{"cvssV4_0":{"attackComplexity":"LOW","attackRequirements":"PRESENT","attackVector":"NETWORK","baseScore":8.2,"baseSeverity":"HIGH","privilegesRequired":"NONE","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"HIGH","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-770","description":"CWE-770 Allocation of Resources Without Limits or Throttling","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-06-02T14:15:10.591Z","orgId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","shortName":"EEF"},"references":[{"tags":["vendor-advisory","related"],"url":"https://github.com/elixir-mint/mint/security/advisories/GHSA-g586-ccqf-7x4r"},{"tags":["related"],"url":"https://cna.erlef.org/cves/CVE-2026-48862.html"},{"tags":["related"],"url":"https://osv.dev/vulnerability/EEF-CVE-2026-48862"},{"tags":["patch"],"url":"https://github.com/elixir-mint/mint/commit/70b97b6a5209fb288b0e04d8e657dda26c59de67"}],"source":{"discovery":"EXTERNAL"},"title":"Unbounded conn.streams growth in Mint HTTP/2 client via unenforced PUSH_PROMISE concurrency","workarounds":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>Disable HTTP/2 server push on connections to untrusted servers by passing <tt>client_settings: [enable_push: false]</tt> to <tt>'Elixir.Mint.HTTP':connect/4</tt>. This makes Mint reject any inbound <tt>PUSH_PROMISE</tt> frame with a <tt>PROTOCOL_ERROR</tt> before the vulnerable code path is reached.</p>"}],"value":"Disable HTTP/2 server push on connections to untrusted servers by passing client_settings: [enable_push: false] to Mint.HTTP.connect/4. This makes Mint reject any inbound PUSH_PROMISE frame with a PROTOCOL_ERROR before the vulnerable code path is reached."}],"x_generator":{"engine":"cvelib 1.8.0"}}},"cveMetadata":{"assignerOrgId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","assignerShortName":"EEF","cveId":"CVE-2026-48862","datePublished":"2026-06-02T14:15:10.591Z","dateReserved":"2026-05-25T20:44:10.697Z","dateUpdated":"2026-06-02T14:15:10.591Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"}