CVE-2026-92103
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Summary
Allocation of Resources Without Limits or Throttling vulnerability in elixir-mint mint allows a malicious HTTP/2 server to make the client hold up to about 16 MiB per connection in frames it should reject, consuming client memory.
Mint.HTTP2.Frame.decode_next/2 in lib/mint/http2/frame.ex compares a frame with the client's max_frame_size (16,384 bytes by default) only once the whole declared payload has arrived. Until then it returns :more, and Mint.HTTP2 keeps every received byte in the connection buffer. A server can declare a frame length of up to 16,777,215 bytes and withhold the last byte, keeping roughly 1,024 times the advertised limit buffered for as long as the connection stays open. The server has to send every byte the client buffers, so there is no amplification, and the buffer stops at the 24-bit frame length limit.
This issue affects mint: from 0.1.0 before 1.11.0.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| elixir-mint | mint | 0.1.0 < 1.11.0 | affected |
| elixir-mint | mint | 596ca4304504be68939c4929e0831557097962b8 < 20252ca85065f4d1092aed9ee4ed21841a507dfe | affected |
Weaknesses
- CWE-770: CWE-770 Allocation of Resources Without Limits or Throttling
Workarounds
Connect to untrusted origins over HTTP/1 only, with protocols: [:http1] in Mint.HTTP.connect/4, which never runs the HTTP/2 frame decoder. Finch and Req pools use HTTP/1 only unless :http2 is added to their protocols option.
References
- https://github.com/elixir-mint/mint/security/advisories/GHSA-q95c-ccq6-j5j6
- https://cna.erlef.org/cves/CVE-2026-92103.html
- https://osv.dev/vulnerability/EEF-CVE-2026-92103
- https://github.com/elixir-mint/mint/commit/596ca4304504be68939c4929e0831557097962b8
- https://github.com/elixir-mint/mint/commit/20252ca85065f4d1092aed9ee4ed21841a507dfe
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.