CVE-2026-42788
Description
A flaw was found in bandit. An unauthenticated remote attacker can exploit a vulnerability in the HTTP/2 frame deserialization process by sending oversized HTTP/2 frames. This allows the attacker to force the server to buffer excessive amounts of memory, leading to memory exhaustion and a denial of service (DoS) condition.
Statement
This IMPORTANT DoS vulnerability in Bandit's HTTP/2 implementation allows unauthenticated memory exhaustion by sending oversized frames. The size validation occurs after buffering, bypassing the negotiated max_frame_size setting. Impact is high availability loss through memory pressure. Affects Bandit versions 0.3.6 to before 1.11.0.
Understanding the Weakness (CWE)
Availability
Technical Impact: DoS: Resource Consumption (CPU); DoS: Resource Consumption (Memory); DoS: Resource Consumption (Other)
When allocating resources without limits, an attacker could prevent other systems, applications, or processes from accessing the same type of resource. It can be easy for an attacker to consume many resources by rapidly making many requests or causing larger resources to be used than is needed.
Frequently Asked Questions
Not sure what something means? Check out our Security Glossary.
Want to get errata notifications? Sign up here.