CVE-2026-58469 PUBLISHED

GNU Wget 1.25.0 Heap Buffer Underread via Metalink URL Parsing

Assigner: VulnCheck
Reserved: 30.06.2026 Published: 07.07.2026 Updated: 08.07.2026

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.

Metrics

CVSS 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
CVSS Score: 8.7

Product Status

Vendor gnuwget
Product wget
Versions Default: affected
  • affected from 0 to 1.25.0 (incl.)
  • Version 37a40fcb450153f69537c7cbc2a7a4fb0b6f7826 is unaffected

Credits

  • Tristan Madani finder

References

Problem Types

  • Out-of-bounds Read CWE