PatchSiren cyber security CVE debrief
CVE-2026-111101 mtrudel CVE debrief
A vulnerability in the HTTP/1.1 chunked body reader of the Bandit library allows an unauthenticated remote attacker to exhaust server memory and CPU via a request body made of many 1-byte chunks. This issue arises because the chunked reader keeps every chunk as its own list cell and binary term until they are joined, with no limit on the number of chunks. As a result, tiny chunks can lead to significant memory amplification, such as 48 MB of 1-byte chunks growing one handler process to about 500 MB and taking about 6 seconds of CPU. The vulnerability affects bandit versions from 0.1.0 before 1.14.0.
- Vendor
- mtrudel
- Product
- bandit
- CVSS
- HIGH 8.7
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-10-26
- Original CVE updated
- 2026-11-19
- Advisory published
- 2026-10-26
- Advisory updated
- 2026-11-19
Who should care
Defenders of servers using the Bandit library should assess exposure and prioritize patching or mitigating this vulnerability to prevent potential denial-of-service attacks. This includes reviewing the library version used, understanding the potential impact of the vulnerability on their systems, and taking appropriate measures to protect against exploitation.
Why it matters
CVE-2026-111101 allows an unauthenticated remote attacker to exhaust server memory and CPU via a request body made of many 1-byte chunks. Defenders of servers using the Bandit library should assess exposure and prioritize patching or mitigating this vulnerability to prevent potential denial-of-service attacks.
- Denial-of-service attacks via memory exhaustion
- CPU exhaustion via prolonged processing of chunked requests
- Potential for performance degradation due to increased memory usage
Technical summary
The vulnerability is caused by the chunked reader in lib/bandit/http1/socket.ex keeping 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. This allows an unauthenticated remote attacker to exhaust server memory and CPU via a request body made of many 1-byte 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.
Defensive priority
Defenders should prioritize patching or mitigating this vulnerability to prevent potential denial-of-service attacks.
Recommended defensive actions
- Patch Bandit to version 1.14.0 or later
- Implement rate limiting on incoming requests
- Monitor server memory and CPU usage for unusual activity
- Review compensating controls for exposed systems while remediation is scheduled and verified
- Check relevant monitoring, detection, and logs for exposed assets that need extra review
- Track exceptions, retest remediated assets, and close the item only after evidence is documented
- Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up
Evidence notes
The vulnerability is caused by the chunked reader in lib/bandit/http1/socket.ex keeping 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.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-111101 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-111101
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-111101 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-111101
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
HTTP/1.1 chunked request bodies made of 1-byte chunks amplify memory use in Bandit
Unverified legacy reference
URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/111xxx/CVE-2026-111101.json
cve_program_cvelist_v5
-
Source reference
Unverified legacy reference
URL: https://github.com/mtrudel/bandit/security/advisories/GHSA-jwh3-j29h-qfmw
Supplemental source - vendor-advisory, related
-
Source reference
Unverified legacy reference
URL: https://cna.erlef.org/cves/CVE-2026-111101.html
Supplemental source - related
-
Source reference
Unverified legacy reference
URL: https://osv.dev/vulnerability/EEF-CVE-2026-111101
Supplemental source - related
-
Source reference
Unverified legacy reference
URL: https://github.com/mtrudel/bandit/commit/7201270c34b90f6c9e15c0386c2bb802c0c72ab4
Supplemental source - related
-
Source reference
Unverified legacy reference
URL: https://github.com/mtrudel/bandit/commit/220b9dfd27f9a21305be2afc75cbe585ddc24e7a
Supplemental source - patch
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.