CVE-2026-58469
JSON

8.7high

GNU Wget 1.25.0 Heap Buffer Underread via Metalink URL Parsing

Severity
8.7high CVSS:4.0 by VulnCheck
Exploit likelihood
0.43% (higher than 39% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck

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.

Affected

Product or packageVersionsReported by
gnuwget wgetup to 1.25.0
Not affected: 37a40fcb450153f69537c7cbc2a7a4fb0b6f7826
CVE List
gnu wgetup to 1.25.0NVD

All scores

VulnCheck8.7high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
VulnCheck7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-125

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

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.

NVD (es)

GNU Wget hasta 1.25.0, corregido en el commit 37a40fc, contiene una vulnerabilidad de lectura por debajo del límite del búfer de pila en la función clean_metalink_string() dentro de src/metalink.c que permite a un servidor malicioso activar corrupción de memoria al servir un documento Metalink que contiene una URL que solo tiene espacios en blanco. Los atacantes pueden hacer que la función decremente un puntero más allá del inicio del búfer al procesar una URL Metalink que solo contiene espacios en blanco, lo que podría llevar a un comportamiento anómalo del programa.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-58469 changed 2026-07-14CVE Terms of Use
NVDCVE-2026-58469 changed 2026-10-25Public domain