CVE-2026-58469

Summary

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 Software

VendorProductVersion RangeStatus
gnuwgetwget0 <= 1.25.0affected
gnuwgetwget37a40fcb450153f69537c7cbc2a7a4fb0b6f7826unaffected

Weaknesses

  • CWE-125: Out-of-bounds Read

References