{"id":"CVE-2026-58469","summary":"GNU Wget 1.25.0 Heap Buffer Underread via Metalink URL Parsing","details":"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.","modified":"2026-07-29T18:28:54.723056681Z","published":"2026-07-07T19:43:34.767Z","related":["SUSE-SU-2026:3148-1","SUSE-SU-2026:3206-1","SUSE-SU-2026:3337-1","openSUSE-SU-2026:11252-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/58xxx/CVE-2026-58469.json","cna_assigner":"VulnCheck","cwe_ids":["CWE-125"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/58xxx/CVE-2026-58469.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-58469"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/gnu-wget-heap-buffer-underread-via-metalink-url-parsing"},{"type":"FIX","url":"https://gitlab.com/gnuwget/wget/-/commit/37a40fcb450153f69537c7cbc2a7a4fb0b6f7826"},{"type":"PACKAGE","url":"https://gitlab.com/gnuwget/wget"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://gitlab.com/gnuwget/wget","events":[{"introduced":"0"},{"fixed":"37a40fcb450153f69537c7cbc2a7a4fb0b6f7826"}],"database_specific":{"cpe":"cpe:2.3:a:gnu:wget:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"last_affected":"1.25.0"}],"source":["CPE_RANGE","REFERENCES"]}}],"versions":["v1.25.0","v1.24.5","v1.21.4","v1.21.3","v1.21.2","v1.21.1","v1.21","v1.20.3","v1.20.2","v1.20.1","v1.20","v1.19.5","v1.19.4","v1.19.3","v1.19.2","v1.19.1","v1.19","v1.18","v1.17.1","v1.17","v1.16.3","v1.16.2","v1.16.1","v1.16","v1.15","v1.14","v1.13.4","v1.13.3","v1.13.2","v1.13.1","v1.13","v1.12"],"database_specific":{"vanir_signatures":[{"signature_version":"v1","source":"https://gitlab.com/gnuwget/wget@37a40fcb450153f69537c7cbc2a7a4fb0b6f7826","target":{"file":"src/metalink.c"},"deprecated":false,"digest":{"threshold":0.9,"line_hashes":["279777212806081404269837293516290664327","234559454700046113207531628846883405645","236777106028439598678333916152656097067","181394056605803212646254343842504292612","174141368972559794622504489197279731075","247076099674464977665253738595927820703","180719650698196209445752783308346902630","305616452463206900411677113326952091810","316916099696186176871715638106183126741","142271809837745298795953043497007316535","329180693624168894576534763933245593899","105633636598175489093638339437179771454","150421902481649071284566745637547350524","125914705137923019308850391719939171876","139136825344791074905304860253814584992"]},"id":"CVE-2026-58469-0571f0cb","signature_type":"Line"},{"id":"CVE-2026-58469-e9d23c44","signature_type":"Function","signature_version":"v1","source":"https://gitlab.com/gnuwget/wget@37a40fcb450153f69537c7cbc2a7a4fb0b6f7826","target":{"function":"clean_metalink_string","file":"src/metalink.c"},"deprecated":false,"digest":{"function_hash":"328313635224449465616632806986919415846","length":543}}],"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-58469.json","vanir_signatures_modified":"2026-07-15T14:03:04Z"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"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"}]}