Description
Improper Cleanup on Thrown Exception vulnerability in the HTTP/2 handler of mtrudel bandit allows an unauthenticated remote attacker to bypass per-connection resource limits via a single TCP write that carries several frames, one of which raises a stream error. When a frame raises StreamError partway through a chunk, Bandit.HTTP2.Handler.handle_data/3 sends RST_STREAM and continues with the connection state from before the chunk, dropping the rest of it. Streams opened by earlier frames in the chunk keep running their Plug calls, but the stream counts, last_stream_id, the rapid-reset timestamps, the HPACK decoder state and the buffer roll back, so max_concurrent_streams, max_requests and the rapid-reset limiter never see those streams. A client that sends one HEADERS frame more than max_concurrent_streams in each write has the extra refused and the others forgotten: with a limit of 10, five such writes run 50 Plug calls at once. This issue affects bandit: from 1.9.0 before 1.14.0.
Severity (CVSS)
| Base score | 8.2 |
|---|---|
| Severity | High |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N |
| Provided by | CNA |
Weaknesses
- CWE-460 — CWE-460 Improper Cleanup on Thrown Exception
Affected products
| Vendor | Product | Versions |
|---|---|---|
| mtrudel | bandit | 1.9.0 to <1.14.0 [affected] |
| mtrudel | bandit | 3ad49c80c268891e7cc412e69649115456638e59 to <220b9dfd27f9a21305be2afc75cbe585ddc24e7a [affected] |
References
- https://github.com/mtrudel/bandit/security/advisories/GHSA-2238-pgfc-w82m (vendor-advisory related)
- https://cna.erlef.org/cves/CVE-2026-111103.html (related)
- https://osv.dev/vulnerability/EEF-CVE-2026-111103 (related)
- https://github.com/mtrudel/bandit/commit/3ad49c80c268891e7cc412e69649115456638e59 (related)
- https://github.com/mtrudel/bandit/commit/220b9dfd27f9a21305be2afc75cbe585ddc24e7a (patch)
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 27 Oct 2026 07:01 UTC.