{"id":"CVE-2026-58471","published":"2026-07-07T19:47:47Z","modified":"2026-07-14T22:03:12Z","title":"GNU Wget 1.25.0 Heap Buffer Overflow via convert_fname() in url.c","vendor":"gnuwget","product":"wget","tier":"tail","description":{"text":"GNU Wget through 1.25.0, fixed in commit c2640fe, contains a heap buffer overflow vulnerability in the convert_fname() function within src/url.c that allows remote attackers to trigger memory corruption through a server-supplied filename requiring character set conversion. When the output buffer is too small during iconv E2BIG reallocation, the reallocation logic miscalculates the remaining space, leading to a heap buffer overflow that can be exploited via a maliciously crafted server response.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0039,"percentile":0.24722,"provenance":"source"},"cwes":[{"id":"CWE-122","name":"Heap-based Buffer Overflow"}],"references":[{"url":"https://gitlab.com/gnuwget/wget/-/commit/c2640fe5171c59f87c58dc9fcb195b2d18b010ee","tags":["patch"]},{"url":"https://www.vulncheck.com/advisories/gnu-wget-heap-buffer-overflow-via-convert-fname-in-url-c","tags":["third-party-advisory"]}],"priority":{"score":9.1,"factors":[{"name":"EPSS percentile","points":4.94},{"name":"CVSS severity","points":4.13}]},"vendorSlug":"gnuwget","affectedVersions":[{"vendor":"gnuwget","product":"wget","versions":["<= 1.25.0"]}],"fixedVersions":[{"vendor":"gnuwget","product":"wget","versions":["c2640fe5171c59f87c58dc9fcb195b2d18b010ee"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-07-07T20:32:14.930000Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-42083","exploited":false,"provenance":"source"}}