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.
Fix
Patch, vendor advisory and mitigation references on NVD 2
- https://gitlab.com/gnuwget/wget/-/commit/37a40fcb450153f69537c7cbc2a7a4fb0b6f7826 Patch
- https://www.vulncheck.com/advisories/gnu-wget-heap-buffer-underread-via-metalink-url-parsing Patch, Third Party Advisory
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 1
- First seenCVSS 8.7 · gnuNVD modified 2026-10-25 20:10
Affected (CPE criteria) 1
cpe:2.3:a:gnu:wget:*:*:*:*:*:*:*:*