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

- Severity: High 7.1 (CVSS:4.0, scored by mitre) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.36%, higher than 31% of CVEs (2026-12-01)
- Published: 2026-05-27T01:57:58.831Z
- Modified: 2026-09-24T17:25:35.187Z
- Also known as: GHSA-g7jq-j257-rww2, PYSEC-2026-3080
- Weaknesses: CWE-835
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- OpenStack Swift: from 2.36.0 before 2.36.2; from 2.37.0 before 2.37.2; from 2.35.1 before 2.35.3
- swift (PyPI): from 2.36.0 up to 2.36.1; from 2.37.0 up to 2.37.1

## Every score

- mitre: CVSS:4.0 7.1 High `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`
- GitHub: CVSS:4.0 High `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`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- PyPA Advisory Database: CVSS:4.0 `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`

## References

- <https://bugs.launchpad.net/bugs/2152205> (issue-tracking, vendor-advisory, web)
- <https://review.opendev.org/c/openstack/swift/+/987957> (issue-tracking, patch, web)
- <https://review.opendev.org/c/openstack/swift/+/988093> (issue-tracking, patch, technical-description, web)
- <http://www.openwall.com/lists/oss-security/2026/05/27/9> (mailing-list, patch, third-party-advisory, web)
- <http://www.openwall.com/lists/oss-security/2026/06/02/6> (mailing-list, patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-49017> (advisory)
- <https://github.com/openstack/swift> (package)
- <https://pypi.org/project/swift> (package)
- <https://github.com/advisories/GHSA-g7jq-j257-rww2> (advisory)

## Sources

- CVE List: [CVE-2026-49017](https://www.cve.org/CVERecord?id=CVE-2026-49017), CVE Terms of Use, modified 2026-06-02
- GitHub Advisory Database: [GHSA-g7jq-j257-rww2](https://github.com/advisories/GHSA-g7jq-j257-rww2), CC-BY-4.0, modified 2026-07-13
- NVD: [CVE-2026-49017](https://nvd.nist.gov/vuln/detail/CVE-2026-49017), Public domain, modified 2026-09-24
- PyPA Advisory Database: [PYSEC-2026-3080](https://osv.dev/vulnerability/PYSEC-2026-3080), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2026-49017 · Whole record: https://cve.day/CVE-2026-49017.json · Rebuilt by cve.day 2026-11-25T22:59:22.406Z
