CVE-2026-42788
Medium 6.9No known exploitationFix availableHTTP/2 frame size limit checked after body is buffered in bandit
Record last updated
CVSS score
Medium on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Higher than 44% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
Not in the KEV catalog
Description
Allocation of Resources Without Limits or Throttling vulnerability in mtrudel bandit allows unauthenticated memory exhaustion via oversized HTTP/2 frames. Bandit.HTTP2.Frame.deserialize/2 in lib/bandit/http2/frame.ex checks the SETTINGS_MAX_FRAME_SIZE limit only after pattern-matching payload::binary-size(length), which requires the entire frame body to be present in memory before either the accept or reject clause can fire. A peer that announces a frame length up to the 24-bit maximum (~16 MiB) causes the server to buffer that entire body before the size guard is evaluated, regardless of the max_frame_size negotiated during the HTTP/2 handshake (default 16 KiB per RFC 9113). An unauthenticated attacker holding many concurrent connections can force the server to buffer far more memory than the negotiated frame size limit should permit, leading to memory pressure and potential denial of service. This issue affects bandit: from 0.3.6 before 1.11.0.
Weakness: CWE-770
Patching and mitigation
- Patch status
- Fix available (source: CVE record (EEF))
- Fix documented (source date)
- Mitigation
- None documented
- Vendor guidance
- github.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| mtrudel | bandit | from 0.3.6 before 1.11.0 | 1.11.0 | CVE Program |
| mtrudel | bandit | from f00dd69a5b2a4863be585907acd853c4ffd41399 before 1e8e55966da9129016b73d32f0e1df4630e3b463 | 1e8e55966da9129016b73d32f0e1df4630e3b463 | CVE Program |
Timeline
Disclosure
CVE record published by EEF
Source: CVE Program (opens in a new tab)
Patch
Fix documented by CVE record (EEF)
Vendor guidance and references
- Fix commit 1e8e559 in mtrudel/bandit (opens in a new tab)patch
- HTTP/2 frame size limit bypassed by late buffer check enables memory exhaustion in Bandit (opens in a new tab)related, vendor-advisory
- EEF CNA record for CVE-2026-42788 (opens in a new tab)related
- Introducing commit f00dd69 in mtrudel/bandit (opens in a new tab)related
- OSV record EEF-CVE-2026-42788 (opens in a new tab)related