Unchecked Input for Loop Condition Affecting wget package, versions <1.25.0-r17


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.38% (31st 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-CHAINGUARDLATEST-WGET-19706415
  • published12 Sept 2026
  • disclosed25 Aug 2026

Introduced: 25 Aug 2026

NewCVE-2026-16599  (opens in a new tab)
CWE-606  (opens in a new tab)

How to fix?

Upgrade Chainguard wget to version 1.25.0-r17 or higher.

NVD Description

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

GNU wget is vulnerable to denial of service in its FTP OPIE/S-KEY authentication functionality. The server-supplied sequence number from the FTP challenge line is used as an iteration count for an MD5 key-derivation loop without any upper bound validation. A malicious FTP server or a network attacker positioned to intercept FTP traffic can send a crafted OPIE challenge with a sequence number near INT_MAX, causing wget to perform up to approximately 2.1 billion MD5 computations and suspend for some time. The --timeout option does not mitigate this because it applies only to network I/O, not CPU computation.

This issue was fixed in commit e9697d98e7249b0f68a6be040a4f3dcc5bc101fa

CVSS Base Scores

version 3.1