Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. swift
  4. ›
  5. CVE-2026-49017

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

May 27, 2026 (updated July 1, 2026)

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

  • bugs.launchpad.net/bugs/2152205
  • github.com/advisories/GHSA-g7jq-j257-rww2
  • nvd.nist.gov/vuln/detail/CVE-2026-49017
  • review.opendev.org/c/openstack/swift/+/987957
  • review.opendev.org/c/openstack/swift/+/988093

Code Behaviors & Features

Detect and mitigate CVE-2026-49017 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 2.36.0 up to 2.36.1, all versions starting from 2.37.0 up to 2.37.1

Solution

Unfortunately, there is no solution available yet.

Impact 7.7 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop')

Source file

pypi/swift/CVE-2026-49017.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 11 Jul 2026 12:17:03 +0000.