CVE-2026-16599: CWE-606 Unchecked input for loop condition in GNU wget
Description
GNU wget contains a denial of service vulnerability in its FTP OPIE/S-KEY authentication. The vulnerability arises because the server-supplied sequence number used as a loop iteration count for MD5 key derivation is unchecked and can be extremely large. This can cause wget to perform excessive CPU-intensive computations, suspending the process for a significant time. The --timeout option does not mitigate this issue as it only applies to network I/O, not CPU usage. The issue was fixed in a specific commit.
CVSS v4.0
Score 5.1medium
Affected software
GNU
wget
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-16599 is a denial of service vulnerability in GNU wget's FTP OPIE/S-KEY authentication mechanism. The vulnerability is due to unchecked input for the loop condition where the server-supplied sequence number from the FTP challenge line is used as the iteration count for an MD5 key-derivation loop without any upper bound validation. An attacker controlling the FTP server or able to intercept FTP traffic can supply a crafted challenge with a sequence number near INT_MAX, causing wget to perform approximately 2.1 billion MD5 computations, leading to a suspension of the wget process. The --timeout option does not mitigate this because it only applies to network I/O, not CPU-bound operations. The vulnerability was fixed in commit e9697d98e7249b0f68a6be040a4f3dcc5bc101fa.
Potential Impact
An attacker can cause wget to consume excessive CPU resources by sending a crafted FTP OPIE challenge with a very large sequence number. This results in a denial of service by suspending wget for an extended period. The vulnerability does not allow code execution or data compromise but impacts availability of the wget process during exploitation.
Mitigation Recommendations
A fix is available and was implemented in commit e9697d98e7249b0f68a6be040a4f3dcc5bc101fa. Users should update wget to a version that includes this fix. The --timeout option does not mitigate this vulnerability. Until patched, avoid using wget with untrusted FTP servers that support OPIE/S-KEY authentication.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- CERT-PL
- Date Reserved
- 2026-07-22T14:11:18.939Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6a8da8bcacd9273b4950d980
Added to database: 08/25/2026, 14:37:48 UTC
Last enriched: 09/10/2026, 18:26:03 UTC
Last updated: 10/09/2026, 06:48:15 UTC
Views: 62
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.