CVE-2026-58472: gnu wget Integer Overflow or Wraparound
Vulnerability summary
CVE-2026-58472 is a high (CVSS 7.1) Integer Overflow or Wraparound 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 14 · Related 10Timeline
- 07-07-2026PublishedVulnerability first disclosed.
- 14-07-2026Last modifiedVulnerability information updated.
Description
GNU Wget through 1.25.0, fixed in commit dd692d9, contains a heap buffer overflow vulnerability in the html_quote_string() function in src/convert.c that allows a remote attacker to trigger memory corruption by supplying a crafted HTML attribute with a large number of characters requiring entity encoding. A server-supplied HTML attribute causes a signed integer counter to overflow during output size accumulation, resulting in an undersized heap allocation and subsequent heap buffer overflow during the copy phase.
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
- wgetAll versions (No fix recorded) | < 1.25.0-r15
- wget-docAll versions (No fix recorded)
Wolfi2 products
- wgetAll versions (No fix recorded) | < 1.25.0-r15
- 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.15-1ubuntu1.14.04.5+esm2 | < 1.17.1-1ubuntu1.5+esm3 | < 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-html-attribute-encodingThird Party AdvisoryAdvisoryPatch
- gitlab.com/gnuwget/wgetPACKAGE