CVE-2026-58471
GNU Wget 1.25.0 Heap Buffer Overflow via convert_fname() in url.c
CVSS Score
5.9
EPSS Score
0.2%
EPSS Percentile
13th
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.
| CWE | CWE-122 |
| Vendor | gnuwget |
| Product | wget |
| Published | Jul 7, 2026 |
| Last Updated | Jul 14, 2026 |
Stay Ahead of the Next One
Get instant alerts for gnuwget wget
Be the first to know when new medium vulnerabilities affecting gnuwget wget are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:H Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
High
Affected Versions
gnuwget / wget
0 โค 1.25.0
References
Credits
Tristan Madani Arkadi Vainbrand