CVE-2026-49017: OpenStack Swift: s3api middleware enters an infinite loop when processing a truncated aws-chunked PUT request body
In OpenStack Swift before 2.36.2 and 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.
Published May 27, 2026 · Updated Jul 1, 2026
Affected packages
swift
- Ecosystem
- PyPI
- Affected
- >= 2.36.0, <= 2.36.1
- Fixed in
- No patched version yet
- Check
pip show swift
swift
- Ecosystem
- PyPI
- Affected
- >= 2.37.0, <= 2.37.1
- Fixed in
- No patched version yet
- Check
pip show swift
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
In OpenStack Swift before 2.36.2 and 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.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
