Loop with Unreachable Exit Condition ('Infinite Loop') Affecting swift package, versions <2.37.1-4


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.36% (27th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIANUNSTABLE-SWIFT-17090543
  • published29 May 2026
  • disclosed27 May 2026

Introduced: 27 May 2026

CVE-2026-49017  (opens in a new tab)
CWE-835  (opens in a new tab)

How to fix?

Upgrade Debian:unstable swift to version 2.37.1-4 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream swift package and not the swift package as distributed by Debian. See How to fix? for Debian:unstable relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1