- Accueil
- Vulnérabilités
- CVE-2026-91043
CVE-2026-91043
HPACK-indexed cookie fields in Mint HTTP/2 responses bypass max_header_list_size and exhaust client memory
Résumé
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.
Aucune traduction française : description d’origine affichée.
Produits et versions affectés
elixir-mint (1 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| mint | de 1.1.0 (inclus) à 1.10.2 (exclu) |
— | CNA (éditeur ou attributeur) |
Correctif
Non renseigné par l’éditeur.
Contournement
Contournementsource officielle
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.
Source : CNA (éditeur ou attributeur)
Savoir si vous êtes touché
Aucune méthode de vérification renseignée.
Chronologie
- — Publication de la CVE (cve)
Références
- https://github.com/elixir-mint/mint/commit/65a0d61c9eab6b0dedac809de7212515bf506250patch
- https://github.com/elixir-mint/mint/commit/c7895cb022196c77ec35570c8e873a84393ff4b8patch
- https://cna.erlef.org/cves/CVE-2026-91043.htmlrelated
- https://github.com/elixir-mint/mint/commit/8e0e04680476f90f9f68db4dfeabcbe66dabfc4drelated
- https://github.com/elixir-mint/mint/security/advisories/GHSA-9x8p-qrf4-jq7grelated, vendor-advisory
- https://osv.dev/vulnerability/EEF-CVE-2026-91043related
Provenance des données
- Statut
- NVD
- Date de publication
- NVD
- Description
- CNA (éditeur ou attributeur)
- Score CVSS
- CNA (éditeur ou attributeur)
- Faiblesse (CWE)
- CNA (éditeur ou attributeur)
- Vecteur CVSS
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:(CVSS 4.0, CNA:6b3ad84c-e1a6-4bf7-a703-f496b71e49db)- Faiblesse
- CWE-770 · Autre (CWE-770)