# CVE-2026-111103: HTTP/2 StreamError recovery rolls back connection state and bypasses per-connection limits in Bandit

- Severity: High 8.2 (CVSS:4.0, scored by EEF) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.63%, higher than 51% of CVEs (2026-12-01)
- Published: 2026-10-26T13:32:06.340Z
- Modified: 2026-11-25T06:30:17.119Z
- Also known as: EEF-CVE-2026-111103, GHSA-2238-pgfc-w82m
- Weaknesses: CWE-460
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: EEF

## 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.

(As written by CVE List.)

## Affected

- bandit: from 1.9.0 before 1.14.0
- mtrudel/bandit: from 3ad49c80c268891e7cc412e69649115456638e59 before 220b9dfd27f9a21305be2afc75cbe585ddc24e7a
- bandit (Hex): from 1.9.0 before 1.14.0
- https://github.com/mtrudel/bandit: from 3ad49c80c268891e7cc412e69649115456638e59 before 220b9dfd27f9a21305be2afc75cbe585ddc24e7a

## Every score

- EEF: CVSS:4.0 8.2 High `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`
- Erlang Ecosystem Foundation: CVSS:4.0 `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`

## References

- <https://github.com/mtrudel/bandit/security/advisories/GHSA-2238-pgfc-w82m> (advisory, related, vendor-advisory)
- <https://cna.erlef.org/cves/CVE-2026-111103.html> (related, web)
- <https://osv.dev/vulnerability/EEF-CVE-2026-111103> (related)
- <https://github.com/mtrudel/bandit/commit/3ad49c80c268891e7cc412e69649115456638e59> (related, web)
- <https://github.com/mtrudel/bandit/commit/220b9dfd27f9a21305be2afc75cbe585ddc24e7a> (fix, patch)
- <https://hex.pm/packages/bandit> (package)

## Sources

- CVE List: [CVE-2026-111103](https://www.cve.org/CVERecord?id=CVE-2026-111103), CVE Terms of Use, modified 2026-11-19
- Erlang Ecosystem Foundation: [EEF-CVE-2026-111103](https://osv.dev/vulnerability/EEF-CVE-2026-111103), CC-BY-4.0, modified 2026-11-25
- NVD: [CVE-2026-111103](https://nvd.nist.gov/vuln/detail/CVE-2026-111103), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-111103 · Whole record: https://cve.day/CVE-2026-111103.json · Rebuilt by cve.day 2026-11-25T22:59:47.118Z
