Summary
CVE-2026-116078 is a resource allocation vulnerability (memory exhaustion, leading to denial of service) in Bandit, the Elixir HTTP server (mtrudel/bandit). An unauthenticated remote attacker can exhaust server memory through the HTTP/2 request body reader. The CVE record rates it High (CVSS 8.7).
Technical details
- Root cause:
do_read_data/5inlib/bandit/http2/stream.exaccumulates HTTP/2 DATA frame payloads as list elements. The:lengthoption counts bytes rather than frames. - Trigger conditions: The server must have HTTP/2 enabled and an application that reads the request body. The attacker sends many 1-byte DATA frames.
- Attack vector: Network, with no authentication, user interaction or special complexity required.
- Impact: The stream process retains roughly 5–8 times the number of bytes transmitted. This lets an attacker exhaust server memory and cause a high-impact loss of availability. The record lists no confidentiality or integrity impact.
Affected software
- Bandit (mtrudel/bandit) versions from 0.3.1 up to, but not including, 1.14.1
Severity
- CVSS v4.0 base score 8.7 (High). The CNA record gives a v4.0 score and no v3.1 score.
- 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
Mitigation and recommended actions
- Immediate: Upgrade Bandit to version 1.14.1 or later.
- Workaround: From Bandit 0.7.0 onwards, disable HTTP/2 by setting
http_2_options: [enabled: false]. This prevents the vulnerable code path from running. - Review exposure of Bandit-based services, including those behind reverse proxies that forward HTTP/2 traffic to the application.

