CVE-2026-111101
High 8.7No known exploitationFix availableHTTP/1.1 chunked request bodies made of 1-byte chunks amplify memory use in Bandit
Record last updated
CVSS score
High on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Higher than 50% 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 the HTTP/1.1 chunked body reader of mtrudel bandit allows an unauthenticated remote attacker to exhaust server memory and CPU via a request body made of many 1-byte chunks. The chunked reader in lib/bandit/http1/socket.ex keeps every chunk as its own list cell and binary term until IO.iodata_to_binary/1 joins them, and nothing limits the number of chunks. The :length option of read_body/2 counts only data bytes, so tiny chunks cost far more memory than their payload: 48 MB of 1-byte chunks grew one handler process to about 500 MB and took about 6 s of CPU. The route does not need to read the body, because on keep-alive connections ensure_completed/1 drains unread bodies through the same reader. This issue affects bandit: from 0.1.0 before 1.14.0.
Weakness: CWE-770
Patching and mitigation
- Patch status
- Fix available (source: CVE record (EEF))
- Fix documented (source date)
- Mitigation
- From 0.7.0, a server whose clients and proxies all speak HTTP/2 can disable HTTP/1 with http_1_options: [enabled: false], so that the vulnerable chunked body reader never runs. Source (opens in a new tab)
- Vendor guidance
- github.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| mtrudel | bandit | from 0.1.0 before 1.14.0 | 1.14.0 | CVE Program |
| mtrudel | bandit | from 7201270c34b90f6c9e15c0386c2bb802c0c72ab4 before 220b9dfd27f9a21305be2afc75cbe585ddc24e7a | 220b9dfd27f9a21305be2afc75cbe585ddc24e7a | 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 220b9df in mtrudel/bandit (opens in a new tab)patch
- HTTP/1.1 chunked request bodies made of 1-byte chunks amplify memory use in Bandit (opens in a new tab)vendor-advisory, related
- EEF CNA record for CVE-2026-111101 (opens in a new tab)related
- Introducing commit 7201270 in mtrudel/bandit (opens in a new tab)related
- OSV record EEF-CVE-2026-111101 (opens in a new tab)related