Description
GNU Wget through 1.25.0, fixed in commit 37a40fc, contains a heap buffer underread vulnerability in the clean_metalink_string() function within src/metalink.c that allows a malicious server to trigger memory corruption by serving a Metalink document containing a whitespace-only URL. Attackers can cause the function to decrement a pointer past the start of the buffer when processing an all-whitespace Metalink URL, potentially leading to abnormal program behavior.
Published: 2026-07-07
Score: 8.7 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

GNU Wget versions up to and including 1.25.0 contain a heap buffer underread flaw in the clean_metalink_string() function that processes Metalink URL lists. When a Metalink document includes a URL comprised only of whitespace characters, the function subtracts one from the pointer that references the buffer, allowing code to read past the buffer's start. This improper read can corrupt program memory or trigger abnormal termination, as the result of accessing memory outside the intended region. The weakness is classified as CWE‑125.

Affected Systems

All installations that use the GNUget vendor, up to version 1.25.0, are impacted. Versions that incorporate commit 37a40fcb450153f69537c7cbc2a7a4fb0b6f7826 or later are no longer vulnerable.

Risk and Exploitability

The CVSS score of 8.7 indicates a significant potential impact. The EPSS score, being below 1 %, suggests that exploitation is currently unlikely. The flaw is not listed in CISA’s Known Exploited Vulnerabilities catalog. Based on the description, it is inferred that an attacker can exploit the vulnerability remotely by hosting a malicious Metalink document containing a whitespace‑only URL; the victim’s Wget client merely needs to fetch the file over the network to trigger the bug. The combination of high severity and low exploitation probability points to a moderate overall risk for affected systems that regularly retrieve Metalink files.

Generated by OpenCVE AI on July 26, 2026 at 19:09 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade GNU Wget to any release that incorporates commit 37a40fc; for example, move to a newer major version or apply the patch directly.
  • Disable Metalink processing by running Wget with the --no-metalink option or by setting metalink=off in the .wgetrc configuration file to avoid the vulnerable code path.
  • Validate Metalink documents before processing, ensuring that all URLs contain non‑whitespace characters and originate from trusted sources; reject any document that includes a whitespace‑only URL to mitigate the CWE‑125 weakness.

Generated by OpenCVE AI on July 26, 2026 at 19:09 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Ubuntu USN Ubuntu USN USN-8543-1 Wget vulnerabilities
History

Tue, 21 Jul 2026 00:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Moderate


Tue, 14 Jul 2026 22:30:00 +0000

Type Values Removed Values Added
First Time appeared Gnu
Gnu wget
CPEs cpe:2.3:a:gnu:wget:*:*:*:*:*:*:*:*
Vendors & Products Gnu
Gnu wget

Fri, 10 Jul 2026 10:00:00 +0000

Type Values Removed Values Added
First Time appeared Wget
Wget wget
Vendors & Products Wget
Wget wget

Wed, 08 Jul 2026 14:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Tue, 07 Jul 2026 20:30:00 +0000

Type Values Removed Values Added
Description GNU Wget through 1.25.0, fixed in commit 37a40fc, contains a heap buffer underread vulnerability in the clean_metalink_string() function within src/metalink.c that allows a malicious server to trigger memory corruption by serving a Metalink document containing a whitespace-only URL. Attackers can cause the function to decrement a pointer past the start of the buffer when processing an all-whitespace Metalink URL, potentially leading to abnormal program behavior.
Title GNU Wget 1.25.0 Heap Buffer Underread via Metalink URL Parsing
Weaknesses CWE-125
References
Metrics cvssV3_1

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

cvssV4_0

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


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-07-14T22:03:10.940Z

Reserved: 2026-06-30T20:20:33.790Z

Link: CVE-2026-58469

cve-icon Vulnrichment

Updated: 2026-07-08T13:36:38.971Z

cve-icon NVD

No data.

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-07-07T19:43:34Z

Links: CVE-2026-58469 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-07-26T19:15:03Z

Weaknesses