CVE-2026-58471: gnu wget Heap-based Buffer Overflow
Vulnerability summary
CVE-2026-58471 is a high (CVSS 7.1) Heap-based Buffer Overflow vulnerability in gnu wget. EPSS estimates a 0.39% chance of exploitation in the next 30 days, higher than 31.5% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 13 · Related 9Timeline
- 07-07-2026PublishedVulnerability first disclosed.
- 14-07-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
9 scores · 6 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated6.0MediumCVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N
- OSV · WolfiEcosystem advisory · calculated6.0MediumCVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N
- OSV · ChainguardEcosystem advisory · calculated6.0MediumCVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N
- NVDNIST6.0MediumCVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- CVE.orgCNA5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:HDiffers
- OSV · UbuntuEcosystem advisory · calculated7.1HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H
- OSV · DebianEcosystem advisory · calculated7.1HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H
EPSS trend
Probability
0.39%
Chance of exploitation in the next 30 days
Percentile
32%
Versus all other CVEs
30-day change
+0.17 pp
From 0.22% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Chainguard2 products
- wget< 1.25.0-r15 | All versions (No fix recorded)
- wget-docAll versions (No fix recorded)
Wolfi2 products
- wget< 1.25.0-r15 | All versions (No fix recorded)
- wget-docAll versions (No fix recorded)
Debian1 product
- wgetAll versions (No fix recorded)
Gnu1 product
- wget≤ 1.25.0
Gnuwget1 product
- wget≤ 1.25.0
Ubuntu1 product
- wget< 1.19.4-1ubuntu2.2+esm3 | < 1.20.3-1ubuntu2.1+esm2 | < 1.21.2-2ubuntu1.3 | < 1.21.4-1ubuntu4.3 | All versions (No fix recorded) | < 1.25.0-2ubuntu4.2
6 vendors · 8 products
References
9 links- www.vulncheck.com/advisories/gnu-wget-heap-buffer-overflow-via-convert-fname-in-url-cThird Party AdvisoryAdvisoryPatch
- gitlab.com/gnuwget/wgetPACKAGE