{"id":"CVE-2026-116078","published":"2026-10-28T13:26:25Z","modified":"2026-11-19T07:01:59Z","title":"HTTP/2 request bodies made of 1-byte DATA frames amplify memory use in Bandit","vendor":"mtrudel","product":"bandit","tier":"tail","description":{"text":"Allocation of Resources Without Limits or Throttling vulnerability in the HTTP/2 request body reader of mtrudel bandit allows an unauthenticated remote attacker to exhaust server memory via a request body sent as many 1-byte DATA frames.\n\ndo_read_data/5 in lib/bandit/http2/stream.ex keeps every DATA frame payload as its own list element until the read returns. The :length option of read_body/2 counts body bytes, not frames, so a body of 1-byte frames costs a list cell and a binary term per byte. Interleaving the frames across up to 500 concurrent streams per connection keeps each stream consuming its frames as they arrive; in the reporter's test, 100 streams held 25 to 40 MiB of stream process memory for 5 MB sent. Only routes whose Plug reads the request body are affected, which includes any route behind Plug.Parsers.\n\nThis issue affects bandit: from 0.3.1 before 1.14.1.","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.00493,"percentile":0.43276,"provenance":"source"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"references":[{"url":"https://github.com/mtrudel/bandit/security/advisories/GHSA-pxjf-g536-7r93","tags":["vendor-advisory","related"]},{"url":"https://cna.erlef.org/cves/CVE-2026-116078.html","tags":["related"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-116078","tags":["related"]},{"url":"https://github.com/mtrudel/bandit/commit/c8dc1e97050cf359f61ed6cdd110f3cdaf1d6f5f","tags":["related"]},{"url":"https://github.com/mtrudel/bandit/commit/327bb02ff84171237e1aeff787930debd16155ee","tags":["patch"]}],"priority":{"score":14.7,"factors":[{"name":"EPSS percentile","points":8.66},{"name":"CVSS severity","points":6.09}]},"vendorSlug":"mtrudel","affectedVersions":[{"vendor":"mtrudel","product":"bandit","versions":[">= 0.3.1, < 1.14.1"]},{"vendor":"mtrudel","product":"bandit","versions":[">= c8dc1e97050cf359f61ed6cdd110f3cdaf1d6f5f, < 327bb02ff84171237e1aeff787930debd16155ee"]}],"workarounds":{"items":["From 0.7.0, disable HTTP/2 with http_2_options: [enabled: false], so that the vulnerable body reader never runs."],"from":"CVE.org CNA","provenance":"source"},"capec":[{"id":"CAPEC-130","name":"An unauthenticated client can make a Bandit HTTP/2 server hold about 5 to 8 times the bytes it sends in stream process memory, across up to 500 streams per connection and many connections, for as long as each body read runs. This affects any Bandit server with HTTP/2 enabled whose routes read request bodies, which Plug.Parsers does for POST, PUT and PATCH."}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-11-05T18:41:05.502712Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-112087","exploited":false,"provenance":"source"}}