๐Ÿ” CVE Alert

CVE-2026-58471

MEDIUM 5.9

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

NVD โ†— CVE.org โ†— EPSS Data โ†—
gitlab.com: https://gitlab.com/gnuwget/wget/-/commit/c2640fe5171c59f87c58dc9fcb195b2d18b010ee vulncheck.com: https://www.vulncheck.com/advisories/gnu-wget-heap-buffer-overflow-via-convert-fname-in-url-c

Credits

Tristan Madani Arkadi Vainbrand