Summary
CVE-2026-111101 is an Allocation of Resources Without Limits or Throttling vulnerability (CWE-770) in the HTTP/1.1 chunked body reader of Bandit, the Elixir HTTP server (mtrudel/bandit). A remote, unauthenticated attacker can exhaust server memory and CPU, causing denial of service. The severity is High (CVSS 8.7).
Technical details
- Root cause: The HTTP/1.1 chunked body reader accumulates each chunk as separate list cells and binary terms. It does not enforce a limit on the number of chunks.
- Trigger conditions: A request with a chunked body made up of a very large number of tiny chunks.
- Attack vector: Network. No authentication or user interaction is required.
- Impact: Availability only. The advisory states that a 1 MB body made up of 1-byte chunks can make a handler process consume about 500 MB of memory and about 6 seconds of CPU time. Repeated requests can exhaust server resources.
Affected software
- Bandit (hex package
bandit, mtrudel): versions from 0.1.0 up to, but not including, 1.14.0
Severity
- CVSS v4.0 base score: 8.7 (High)
- Vector:
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N - The CVE record publishes a CVSS v4.0 score. No CVSS v3.1 vector was found in the sources reviewed.
Mitigation and recommended actions
- Immediate: Upgrade Bandit to version 1.14.0 or later, then rebuild and redeploy affected applications. Check transitive dependencies, such as Phoenix applications that use Bandit as their web server adapter.
- If you cannot patch immediately: No workarounds were documented in the sources reviewed. As a general precaution, consider placing a reverse proxy or load balancer in front of the service that limits request body size and rejects or buffers chunked request bodies. Apply per-client rate limits as well. This is a general hardening suggestion, not a vendor-documented fix.
- Credit: reported by Peter Ullrich; fix developed by Mat Trudel.

