{"id":"CVE-2026-110499","published":"2026-10-26T13:32:38Z","modified":"2026-11-19T08:07:37Z","title":"Client-chosen HPACK encoder table size is applied uncapped, growing per-connection state with every response in Bandit","vendor":"mtrudel","product":"bandit","tier":"tail","description":{"text":"Allocation of Resources Without Limits or Throttling vulnerability in the HTTP/2 implementation of mtrudel bandit allows an unauthenticated remote attacker to grow per-connection memory and CPU cost without bound via a large SETTINGS_HEADER_TABLE_SIZE. Bandit resizes its HPACK encoder table to whatever size the client advertises, up to 2^32-1 bytes, and indexes response headers into it. Because responses carry distinct values such as date or content-length, nothing is evicted and the table grows with every response for the life of the connection, while each lookup scans it linearly.\n\nThe SETTINGS handling in Bandit.HTTP2.Connection (lib/bandit/http2/connection.ex) passes remote_settings.header_table_size to HPAX.resize/2 with no server-side cap, and encode_headers encodes every response header as :store. Serving N responses on one connection therefore costs O(N²) CPU in the connection process.\n\nThis issue affects bandit: from 0.3.6 before 1.14.0.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.7,"severity":"HIGH","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00602,"percentile":0.49773,"provenance":"source"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"references":[{"url":"https://github.com/mtrudel/bandit/security/advisories/GHSA-47x4-3fxf-82fr","tags":["vendor-advisory","related"]},{"url":"https://cna.erlef.org/cves/CVE-2026-110499.html","tags":["related"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-110499","tags":["related"]},{"url":"https://github.com/mtrudel/bandit/commit/0e68313fab9d204257ebad5c447e4cd9cea8e0ea","tags":["related"]},{"url":"https://github.com/mtrudel/bandit/commit/220b9dfd27f9a21305be2afc75cbe585ddc24e7a","tags":["patch"]}],"priority":{"score":16.0,"factors":[{"name":"EPSS percentile","points":9.95},{"name":"CVSS severity","points":6.09}]},"vendorSlug":"mtrudel","affectedVersions":[{"vendor":"mtrudel","product":"bandit","versions":[">= 0.3.6, < 1.14.0"]},{"vendor":"mtrudel","product":"bandit","versions":[">= 0e68313fab9d204257ebad5c447e4cd9cea8e0ea, < 220b9dfd27f9a21305be2afc75cbe585ddc24e7a"]}],"workarounds":{"items":["From 0.7.0, cap the requests one HTTP/2 connection may serve, for example with http_2_options: [max_requests: 1000], so each connection and its encoder table is closed before the cost grows large. Alternatively, disable HTTP/2 with http_2_options: [enabled: false]."],"from":"CVE.org CNA","provenance":"source"},"capec":[{"id":"CAPEC-125","name":"An unauthenticated remote client that keeps an HTTP/2 connection busy with cheap requests makes every response on it progressively more expensive, because the encoder table it enlarged never shrinks. Holding several such connections open ties up server CPU and memory for as long as the attacker keeps them alive."}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-10-26T15:02:00.207666Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-109827","exploited":false,"provenance":"source"}}