Loop with Unreachable Exit Condition ('Infinite Loop') Affecting swift package, versions *


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.32% (24th 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-UBUNTU2604-SWIFT-16913755
  • published10 Jun 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?

There is no fixed version for Ubuntu:26.04 swift.

NVD Description

Note: Versions mentioned in the description apply only to the upstream swift package and not the swift package as distributed by Ubuntu. See How to fix? for Ubuntu:26.04 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