PT-2026-40607 · Bandit · Bandit

·

CVE-2026-39803

·

Published

2026-05-13

·

Updated

2026-05-19

CVSS v4.0

8.7

High

VectorAV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions bandit versions 1.4.0 through 1.11.0
Description An unauthenticated remote attacker can cause a denial of service via memory exhaustion. The read data/2 function in Elixir.Bandit.HTTP1.Socket ignores the :length option when processing HTTP/1 chunked request bodies. Specifically, the do read chunked data!/5 function buffers every received chunk into an iolist without capping the accumulated body at the configured limit, materializing the entire body as a single binary. Since this process occurs before routing and authentication in standard Phoenix endpoints, sending a single POST request with a Transfer-Encoding: chunked header and an arbitrarily large body can exhaust the BEAM process memory, leading to termination by the operating system's Out-Of-Memory (OOM) killer.
Recommendations Update bandit to version 1.11.1.

Exploit

Fix

Allocation of Resources Without Limits

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-39803
GHSA-9Q9Q-324X-93R2

Affected Products

Bandit