High

OpenStack Swift: s3api middleware enters an infinite loop when processing a truncated aws-chunked PUT request body

  • Disclosed: 27.05.2026
  • Updated: 11.10.2026 14:18

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.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Python (PyPI) swift >= 2.36.0, <= 2.36.1, >= 2.37.0, <= 2.37.1 no fix

References

CVSS score -
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:L
Weakness (CWE)
CWE-835
Platform
Python (PyPI)
Package
swift
Disclosed
27.05.2026
Updated
11.10.2026 14:18

Sources and licenses

OSV / GitHub Advisory Database - PYSEC-2026-3080 - PyPA Advisory Database; CC BY 4.0

OSV / GitHub Advisory Database - GHSA-g7jq-j257-rww2 - CC BY 4.0

Vulnerability history: swift

All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.

All (14) in the archive
Total entries
14
First → latest
01.2014 06.2026
Without a fix
1
Exploited in attacks
0

Severity breakdown

  • Critical 1
  • High 5
  • Medium 7
  • Low 1

Disclosures per year

  1. 2017: 0
  2. 2018: 0
  3. 2019: 0
  4. 2020: 0
  5. 2021: 1
  6. 2022: 9
  7. 2023: 1
  8. 2024: 0
  9. 2025: 0
  10. 2026: 2

earlier: 1

Severity:
  1. OpenStack Swift: s3api middleware enters an infinite loop when processing a truncated aws-chunked PUT request body this entry
    High CVE-2026-49017 >= 2.36.0, <= 2.36.1, >= 2.37.0, <= 2.37.1 no fix
  2. High · 7.5 CVE-2016-0738 < 2.3.1, >= 2.4.0, < 2.5.1 2.3.1, 2.5.1
  3. Critical · 9.8 CVE-2012-4406 < 1.7.0 1.7.0

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.