Description
Allocation of Resources Without Limits or Throttling vulnerability in elixir-mint mint allows a malicious HTTP/2 server to exhaust memory on the client host and cause a denial of service.

Mint.HTTP2 enforces the client's max_header_list_size setting only on the compressed size of an inbound header block, while RFC 9113 section 6.5.2 defines the limit on the decoded header list. An HPACK indexed field costs one byte on the wire and decodes to a dynamic table entry of up to 4 KB, and join_cookie_headers/1 in lib/mint/http2.ex copies every cookie value of a response into one new binary. A header block under the default 256 KB wire limit therefore makes the client allocate about 1 GB for a single response, and several such responses in one delivery exhaust the memory of the process that owns the connection or of the whole VM.

This issue affects mint: from 1.1.0 before 1.10.2.
Published: 2026-09-28
Score: 8.2 High
EPSS: < 1% Very Low
KEV: No
Impact: Memory Exhaustion / Denial of Service
Action: Patch
AI Analysis

Impact

The updated CVE description confirms a memory exhaustion vulnerability in the Elixir Mint HTTP client that can lead to denial of service. A malicious HTTP/2 server can send header blocks that are compressed using HPACK. The compressed size is limited by the client’s max_header_list_size, but the decoded header list may grow to a much larger size. Each HPACK indexed field uses one byte on the wire format and expands into a dynamic table entry that can be up to 4 KB. When the server sends many cookie values, the client copies each value into its own binary, causing the memory consumption to balloon. In the default configuration where the wire limit is 256 KB, a single response can force the client to allocate roughly 1 GB of memory, and multiple such responses can exhaust the entire process or whole virtual machine. This results in memory exhaustion and a denial of service for the client application.

Affected Systems

The vulnerability affects the Elixir Mint HTTP client library. Versions from 1.1.0 up to but not including 1.10.2 are impacted. Users deploying older versions of the mint package should review the version in use and consider upgrading when the fix is available.

Risk and Exploitability

The CVSS score of 8.2 classifies the issue as high severity. Because the attack requires control over the HTTP/2 server, a remote adversary capable of acting as a server can trigger the vulnerability by sending specially crafted header blocks. The EPSS score of 0.00384 indicates a very low but non‑zero likelihood of exploitation, and the flaw is currently not listed in the CISA KEV catalog. Nonetheless, the potential to exhaust memory makes the exploitation attractive to disrupt services, especially for long‑running client processes that maintain persistent connections to untrusted servers. The lack of a client‑side throttle means an attacker can repeatedly issue large responses to deplete resources during a single session or across multiple sessions.

Generated by OpenCVE AI on September 30, 2026 at 04:56 UTC.

Remediation

Vendor Workaround

Lower client_settings: [max_header_list_size: n] in Mint.HTTP.connect/4. The compressed check still applies, and each byte of the block can expand to at most one 4 KB table entry, so a limit of 4,096 bounds a response to roughly 16 MB. Alternatively, restrict connections to untrusted servers to HTTP/1 with protocols: [:http1], which avoids the HTTP/2 receive path entirely. Do not set max_header_list_size: :infinity, which disables the compressed check as well.


OpenCVE Recommended Actions

  • Update the Elixir Mint library to version 1.11.0 or later to include the vendor’s fix.
  • Configure Mint.HTTP.client_settings to set max_header_list_size to a modest value (for example 4096) so that the memory allocation per response is bounded.
  • For trusted clients that must communicate with untrusted servers, restrict the protocol to HTTP/1 by setting protocols to [:http1] or avoid using max_header_list_size :infinity, which disables the compressed check.

Generated by OpenCVE AI on September 30, 2026 at 04:56 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 29 Sep 2026 13:15:00 +0000

Type Values Removed Values Added
Description Allocation of Resources Without Limits or Throttling vulnerability in elixir-mint mint allows a malicious HTTP/2 server to exhaust memory on the client host and cause a denial of service. Mint.HTTP2 enforces the client's max_header_list_size setting only on the compressed size of an inbound header block, while RFC 9113 section 6.5.2 defines the limit on the decoded header list. An HPACK indexed field costs one byte on the wire and decodes to a dynamic table entry of up to 4 KB, and join_cookie_headers/1 in lib/mint/http2.ex copies every cookie value of a response into one new binary. A header block under the default 256 KB wire limit therefore makes the client allocate about 1 GB for a single response, and several such responses in one delivery exhaust the memory of the process that owns the connection or of the whole VM. This issue affects mint: from 1.1.0 before 1.11.0. Allocation of Resources Without Limits or Throttling vulnerability in elixir-mint mint allows a malicious HTTP/2 server to exhaust memory on the client host and cause a denial of service. Mint.HTTP2 enforces the client's max_header_list_size setting only on the compressed size of an inbound header block, while RFC 9113 section 6.5.2 defines the limit on the decoded header list. An HPACK indexed field costs one byte on the wire and decodes to a dynamic table entry of up to 4 KB, and join_cookie_headers/1 in lib/mint/http2.ex copies every cookie value of a response into one new binary. A header block under the default 256 KB wire limit therefore makes the client allocate about 1 GB for a single response, and several such responses in one delivery exhaust the memory of the process that owns the connection or of the whole VM. This issue affects mint: from 1.1.0 before 1.10.2.
References

Mon, 28 Sep 2026 14:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 28 Sep 2026 11:30:00 +0000

Type Values Removed Values Added
Description Allocation of Resources Without Limits or Throttling vulnerability in elixir-mint mint allows a malicious HTTP/2 server to exhaust memory on the client host and cause a denial of service. Mint.HTTP2 enforces the client's max_header_list_size setting only on the compressed size of an inbound header block, while RFC 9113 section 6.5.2 defines the limit on the decoded header list. An HPACK indexed field costs one byte on the wire and decodes to a dynamic table entry of up to 4 KB, and join_cookie_headers/1 in lib/mint/http2.ex copies every cookie value of a response into one new binary. A header block under the default 256 KB wire limit therefore makes the client allocate about 1 GB for a single response, and several such responses in one delivery exhaust the memory of the process that owns the connection or of the whole VM. This issue affects mint: from 1.1.0 before 1.11.0.
Title HPACK-indexed cookie fields in Mint HTTP/2 responses bypass max_header_list_size and exhaust client memory
First Time appeared Elixir-mint
Elixir-mint mint
Weaknesses CWE-770
CPEs cpe:2.3:a:elixir-mint:mint:*:*:*:*:*:*:*:*
Vendors & Products Elixir-mint
Elixir-mint mint
References
Metrics cvssV4_0

{'score': 8.2, 'vector': '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'}


Subscriptions

Elixir-mint Mint
cve-icon MITRE

Status: PUBLISHED

Assigner: EEF

Published:

Updated: 2026-09-29T10:15:15.619Z

Reserved: 2026-09-15T23:45:02.178Z

Link: CVE-2026-91043

cve-icon Vulnrichment

Updated: 2026-09-28T13:24:17.162Z

cve-icon NVD

Status : Deferred

Published: 2026-09-28T12:17:41.693

Modified: 2026-09-29T11:16:43.197

Link: CVE-2026-91043

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-30T05:00:13Z

Weaknesses
  • CWE-770

    Allocation of Resources Without Limits or Throttling