CVE-2026-109584 json
HTTP/2 cookie crumb join expands a small HPACK header block into an unbounded allocation in Bandit
published 2026-10-26 13 d ago modified 2026-10-26 13 d ago also EEF-CVE-2026-109584 , GHSA-7gfj-7gvq-3xqj , EUVD-2026-109826
- cvss
- 8.7
- version 4.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 49%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- hex bandit 1.14.0
- mtrudel bandit 1.14.0
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 13 d ago
Exploit prediction
0.60% chance of exploitation in the next 30 days, higher than 49% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 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 |
| CNA | 4.0 | 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 |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| hex | bandit | >=0.3.3, <1.14.0 |
1.14.0 |
Affected products
- mtrudel bandit
Classification
- Weakness
-
- CWE-409 Improper Handling of Highly Compressed Data (Data Amplification)
References
-
github.com
/mtrudel/bandit/commit/44bf969cd59851622fb6ee4d16227fbc39a77fb4
related, web
-
github.com
/mtrudel/bandit/commit/220b9dfd27f9a21305be2afc75cbe585ddc24e7a
patch
-
github.com
/mtrudel/bandit/security/advisories/GHSA-7gfj-7gvq-3xqj
vendor-advisory, related, advisory
-
cna.erlef.org
/cves/CVE-2026-109584.html
related, web
-
osv.dev
/vulnerability/EEF-CVE-2026-109584
related
-
hex.pm
/packages/bandit
package
Sources
- CVE List CVE-2026-109584
- NVD CVE-2026-109584
- OSV EEF-CVE-2026-109584
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.