Loop with Unreachable Exit Condition ('Infinite Loop')
CVE-2026-49017
Summary
In OpenStack Swift 2.36.x prior to 2.36.2 and 2.37.x prior to 2.37.2, `s3api` middleware enters an infinite loop when processing a truncated aws-chunked PUT request body. The `StreamingInput` class repeatedly appends an empty buffer and re-reads, causing the proxy-server worker handling the request to become permanently unresponsive with increasing CPU and memory consumption. An authenticated attacker can systematically exhaust all proxy-server workers, resulting in denial of service. The defect was introduced in Swift 2.36.0.
- LOW
- NETWORK
- NONE
- UNCHANGED
- NONE
- LOW
- NONE
- HIGH
CWE-835 - Loop with Unreachable Exit Condition
Loops with multiple exits and flags detract from the quality of an application. They tend to make control structures difficult to understand, and introduce the risk of non-termination and other structural problems. The vulnerability “loop with unreachable exit condition” enables attackers to exploit this flaw, leading to denial of service.
Advisory Timeline
- Published