Summary
CVE-2026-109584 is a data amplification vulnerability (CWE-409, Improper Handling of Highly Compressed Data) in the HTTP/2 implementation of Bandit, the Elixir HTTP server. A small HPACK-compressed header block of about 49 KB can force the server to allocate a very large amount of memory before application code runs. The issue is rated High (CVSS 8.7), with a network attack vector and availability impact.
Technical details
- Root cause: Three factors combine. HPACK lets a client store a large cookie value in the dynamic table and reference it tens of thousands of times. The decoded header list size limit defaults to infinity, so size checks are bypassed. The
combine_cookie_crumbs/1function then joins all the cookie fragments into one binary. - Trigger conditions: The server must accept HTTP/2 connections. With the default configuration the decoded header list size is unlimited.
- Attack vector: Network, with no authentication or user interaction. The attacker sends a crafted HTTP/2 HEADERS block that can be repeated across concurrent streams.
- Impact: Memory exhaustion leading to denial of service. In the advisory’s example, a 49 KB header block caused a 183 MB allocation for a single cookie binary. No confidentiality or integrity impact was reported.
Affected software
- Bandit versions from 0.3.3 up to, but not including, 1.14.0 (0.3.3 through 1.13.x)
Severity
- CVSS v4.0 base score 8.7 (High):
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 - The CVE record publishes a CVSS v4.0 score. No CVSS v3.1 vector was found in the sources reviewed.
Mitigation and recommended actions
- Immediate: Upgrade Bandit to 1.14.0 or later.
- Workaround (Bandit 1.12.2 and later): Set a finite decoded header list limit,
http_2_options: [default_local_settings: [max_header_list_size: 65_536]]. This resets the stream before cookie fragments are joined. - Workaround (Bandit 0.7.0 and later): Disable HTTP/2 with
http_2_options: [enabled: false]. This removes the vulnerable path. - Check lockfiles and deployed applications, including Phoenix applications that use Bandit, for affected versions.

