CVE-2026-109584
HIGH 8.7CVSS 4.0HTTP/2 cookie crumb join expands a small HPACK header block into an unbounded allocation in Bandit
Improper Handling of Highly Compressed Data (Data Amplification) vulnerability in the HTTP/2 implementation of mtrudel bandit allows an unauthenticated remote attacker to exhaust server memory via a small HPACK-compressed HEADERS block. The block stores one large cookie value in the HPACK dynamic table and then references it tens of thousands of times with 1-byte indexed fields. In the reporter's run, a 49 KB block made a server with default settings allocate a 183 MB cookie binary before any application code ran, and every concurrent stream can repeat the cost.
Bandit.HTTP2.Connection caps only the compressed block (max_header_block_size), and its check of the decoded list against max_header_list_size never fires because that setting defaults to :infinity. combine_cookie_crumbs/1 in lib/bandit/http2/stream.ex then joins every crumb into one binary.
This issue affects bandit: from 0.3.3 before 1.14.0.
- Published
- 26 Oct 2026
- Last modified
- 25 Nov 2026
- Assigned by
- 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
- NVD status
- Awaiting Analysis
- Weakness
- CWE-409
- Also known as
- EEF-CVE-2026-109584GHSA-7gfj-7gvq-3xqj
- Sources
- NVDJSONCVE ListJSONOSV EEF-CVE-2026-109584JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 6b3ad84c-e1a6-4bf7-a703-f496b71e49db (Secondary) | CVSS 4.0 | HIGH 8.7 | CVSS:4.0/AV:N/AC:L/AT:N/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:X/V:X/RE:X/U:X |
| CVE List | EEF | CVSS 4.0 | HIGH 8.7 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N |
| CVE List | CISA-ADP | SSVC | Exploitation: none; Automatable: yes; Technical Impact: partial |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | https://repo.hex.pm | banditcpe:2.3:a:mtrudel:bandit:*:*:*:*:*:*:*:* |
>= 0.3.3, < 1.14.0 | 1.14.0 |
| CVE List | https://github.com | mtrudel/banditcpe:2.3:a:mtrudel:bandit:*:*:*:*:*:*:*:* |
>= 44bf969cd59851622fb6ee4d16227fbc39a77fb4, < 220b9dfd27f9a21305be2afc75cbe585ddc24e7a | 220b9dfd27f9a21305be2afc75cbe585ddc24e7a |
| OSV | Hex | bandit | >= 0.3.3, < 1.14.0 | 1.14.0 |
References
- https://cna.erlef.org/cves/CVE-2026-109584.html · related, WEB
- https://github.com/mtrudel/bandit/commit/220b9dfd27f9a21305be2afc75cbe585ddc24e7a · patch, FIX
- https://github.com/mtrudel/bandit/commit/44bf969cd59851622fb6ee4d16227fbc39a77fb4 · related, WEB
- https://github.com/mtrudel/bandit/security/advisories/GHSA-7gfj-7gvq-3xqj · vendor-advisory, related, ADVISORY
- https://osv.dev/vulnerability/EEF-CVE-2026-109584 · related
- https://hex.pm/packages/bandit · PACKAGE
History
- 25 Nov 2026 21:22 UTC · NVD: first stored (published 26 Oct 2026)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 26 Oct 2026)
- 25 Nov 2026 20:10 UTC · CVE List: first stored (published 26 Oct 2026)