CVE-2026-116078HTTP/2 request bodies made of 1-byte DATA frames amplify memory use in Bandit
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. do_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. This issue affects bandit: from 0.3.1 before 1.14.1.
What to do
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | bandit | Fix pending | UBUNTU-CVE-2026-116078 | |
| Ubuntu 26.04 | bandit | Under investigation | UBUNTU-CVE-2026-116078 | |
| Ubuntu 24.04 | bandit | Under investigation | UBUNTU-CVE-2026-116078 | |
| Ubuntu 22.04 | bandit | Under investigation | UBUNTU-CVE-2026-116078 | |
| Ubuntu 20.04 | bandit | Fix pending | UBUNTU-CVE-2026-116078 | |
| Ubuntu 18.04 | bandit | Fix pending | UBUNTU-CVE-2026-116078 | |
| Ubuntu 16.04 | bandit | Fix pending | UBUNTU-CVE-2026-116078 |
What the vendor says
As published in the CVE record by EEF, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- mtrudel bandit: affected: 0.3.1 to before 1.14.1; fixed in
1.14.1 - mtrudel bandit: affected: c8dc1e97050cf359f61ed6cdd110f3cdaf1d6f5f to before 327bb02ff84171237e1aeff787930debd16155ee; fixed in
327bb02ff84171237e1aeff787930debd16155ee
Workaround: From 0.7.0, disable HTTP/2 with http_2_options: [enabled: false], so that the vulnerable body reader never runs.
Vendor advisories:
- https://github.com/mtrudel/bandit/security/advisories/GHSA-pxjf-g536-7r93 (vendor-advisory)
- https://github.com/mtrudel/bandit/commit/327bb02ff84171237e1aeff787930debd16155ee (patch)
References
- https://github.com/mtrudel/bandit/security/advisories/GHSA-pxjf-g536-7r93
- https://cna.erlef.org/cves/CVE-2026-116078.html
- https://osv.dev/vulnerability/EEF-CVE-2026-116078
- https://github.com/mtrudel/bandit/commit/c8dc1e97050cf359f61ed6cdd110f3cdaf1d6f5f
- https://github.com/mtrudel/bandit/commit/327bb02ff84171237e1aeff787930debd16155ee
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.