# CVE-2026-109584 - HTTP/2 cookie crumb join expands a small HPACK header block into an unbounded allocation in Bandit

DevFeed: [CVE-2026-109584 - HTTP/2 cookie crumb join expands a small HPACK header block into an unbounded allocation in Bandit](<https://devfeed.tech/articles/cve-2026-109584-http-2-cookie-crumb-join-expands-a-small-hpack-header-block-into-an-unbounded-allocation-in-bandit-100466.md>)

Original publisher: [Read original article](<https://cvefeed.io/vuln/detail/CVE-2026-109584>)

Author: cvefeed.io

Published: 2026-10-26T13:32:22Z

Content type: news

Language: en

Sources: [Latest High/Critical Vulnerabilitiy Feed](<https://devfeed.tech/sources/latest-high-critical-vulnerabilitiy-feed.md>)

Topics: [memory handling](<https://devfeed.tech/topics/memory-handling.md>), [HTTP](<https://devfeed.tech/topics/http.md>), [Cookies](<https://devfeed.tech/topics/cookies.md>)

Tags: [bandit](<https://devfeed.tech/tags/bandit.md>), [cve-2026-109584](<https://devfeed.tech/tags/cve-2026-109584.md>), [http-2](<https://devfeed.tech/tags/http-2.md>), [memory](<https://devfeed.tech/tags/memory.md>), [mtrudel](<https://devfeed.tech/tags/mtrudel.md>), [vulnerability](<https://devfeed.tech/tags/vulnerability.md>)

## AI overview

In Bandit versions 0.3.3 through releases before 1.14.0, an unauthenticated attacker can use a small HPACK-compressed HTTP/2 HEADERS block to trigger excessive memory allocation. The block can store a large cookie value once and reference it tens of thousands of times; Bandit then joins the cookie crumbs into one binary. A reported 49 KB block caused a default-configured server to allocate a 183 MB cookie binary before application code ran, and each concurrent stream can repeat the cost. Bandit limits compressed block size, but the decoded header-list check defaults to :infinity, so it does not constrain this amplification.

## Source excerpt

CVE ID :CVE-2026-109584 Published : Oct. 26, 2026, 1:32 p.m. | 32 minutes ago Description :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. Severity: 8.7 | HIGH Visit the link for more details, such as CVSS details, affected products, timeline, and more...