{"id":"CVE-2026-108525","published":"2026-10-26T13:29:42Z","modified":"2026-11-19T08:10:25Z","title":"HTTP/2 inbound flow control is not enforced, letting a client queue unbounded DATA in stream processes 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 exhaust server memory via DATA frames sent past the advertised receive window. The attacker requests a response larger than the 65,535-byte initial window and withholds WINDOW_UPDATE, so the stream process blocks while sending and stops reading, then floods small DATA frames on that stream. Every frame is queued in the stream's mailbox until the BEAM node runs out of memory.\n\nBandit.HTTP2.Connection.handle_frame/3 in lib/bandit/http2/connection.ex forwards each DATA frame to the stream process without consulting the receive window, and Bandit.HTTP2.FlowControl.compute_recv_window/2 replenishes the window as data arrives rather than as it is consumed, and never answers a violation with FLOW_CONTROL_ERROR.\n\nThis issue affects bandit: from 0.3.1 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.49774,"provenance":"source"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"references":[{"url":"https://github.com/mtrudel/bandit/security/advisories/GHSA-c3g7-2pg5-qvwh","tags":["vendor-advisory","related"]},{"url":"https://cna.erlef.org/cves/CVE-2026-108525.html","tags":["related"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-108525","tags":["related"]},{"url":"https://github.com/mtrudel/bandit/commit/c8dc1e97050cf359f61ed6cdd110f3cdaf1d6f5f","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.1, < 1.14.0"]},{"vendor":"mtrudel","product":"bandit","versions":[">= c8dc1e97050cf359f61ed6cdd110f3cdaf1d6f5f, < 220b9dfd27f9a21305be2afc75cbe585ddc24e7a"]}],"workarounds":{"items":["From 0.7.0, disable HTTP/2 with http_2_options: [enabled: false], which removes the vulnerable path."],"from":"CVE.org CNA","provenance":"source"},"capec":[{"id":"CAPEC-125","name":"An unauthenticated remote client can exhaust the memory of any Bandit server with HTTP/2 enabled by flooding DATA frames on a stream that is not reading its request body, such as one stalled sending a large response. The queued frames live in the BEAM node's memory, so exhausting it takes down every application on the node, not just the HTTP listener."}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-10-26T15:04:12.110479Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-109818","exploited":false,"provenance":"source"}}