CVE-2026-16599

Denial of Service in GNU wget

Published Aug 25, 2026 CVSS 4.0 · 5.1 Medium EPSS < 1% KEV · Not listed
Description
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

Analysis

AI-generated

Technical impact

GNU wget computes an MD5 key‑derivation loop based on a sequence number supplied in the FTP challenge line. Because the sequence number is used as an iteration count without bounds checking, an attacker can send a value near the maximum integer, causing wget to perform roughly two billion MD5 calculations and suspend for an extended period. This results in a denial of service for any wget process that attempts the authentication, potentially affecting multiple concurrent users if the service is called repeatedly.

Affected Systems

The vulnerability exists in the GNU wget project. The affected product is the wget command‑line tool; all versions prior to commit e9697d98e7249b0f68a6be040a4f3dcc5bc101fa are vulnerable. Users of wget on any platform that connects to FTP servers using OPIE/S‑KEY authentication are at risk.

Risk and Exploitability

The CVSS score of 5.1 indicates a moderate severity. The EPSS score of < 1% indicates a low but nonzero probability of exploitation, though the attack does not require special privileges or a network foothold beyond the ability to send a crafted FTP challenge. The vulnerability is not listed in CISA KEV, suggesting no confirmed active exploits yet. However, the lack of an upper bound on the iteration count makes the attack trivial once a suitable server is in place.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the vendor patch that includes commit e9697d98e7249b0f68a6be040a4f3dcc5bc101fa to limit the iteration count and prevent excessive CPU usage
  • If wget must interact with FTP servers that use OPIE/S‑KEY and a patch is not yet available, configure local firewalls or network segmentation to restrict traffic from untrusted FTP servers to the systems running wget
  • As a temporary countermeasure, avoid using OPIE/S‑KEY authentication over FTP until the patch is applied; use alternative authentication methods or secure FTP (FTPS/SFTP) that do not rely on the vulnerable logic

Generated by OpenCVE AI on August 27, 2026 at 02:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-835
References
Metrics threat_severity

None

cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H'}

threat_severity

Moderate

Type Values Removed Values Added
First Time appeared Gnu
Gnu wget
Vendors & Products Gnu
Gnu wget
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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
Title Denial of Service in GNU wget
Weaknesses CWE-606
References
Metrics cvssV4_0

{'score': 5.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-606

    Unchecked Input for Loop Condition

  • CWE-835

    Loop with Unreachable Exit Condition ('Infinite Loop')

Sources

Status
PUBLISHED
Assigner
CERT-PL
Published
Updated
Aug 25, 2026, 2:51 PM
Reserved
Jul 22, 2026, 2:11 PM
Status
Deferred
Published
Aug 25, 2026, 3:16 PM
Modified
Aug 28, 2026, 3:26 PM
Severity
Moderate
Public date
Aug 25, 2026, 2:17 PM