VDB

CVE-2026-58472

CVE-2026-58472 PUBLISHED CVSS 6 MEDIUM

GNU Wget 1.25.0 Heap Buffer Overflow via HTML Attribute Encoding

Reported by vulncheck · Published July 7, 2026

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
wget-debugsourceerrata.rockylinux.org1.24.5-8.el10, 1.21.1-11.el9, 1.19.5-16.el8
wget-debuginfoerrata.rockylinux.org1.24.5-8.el10, 1.21.1-11.el9, 1.19.5-16.el8
wgeterrata.rockylinux.org1.24.5-8.el10, 1.21.1-11.el9, 1.19.5-16.el8
wgetChainguard1.25.0-r15
wgetWolfi1.25.0-r15
wgetgnu1.25.0
wgetgnuwget1.25.0

Risk scores

CVSS 4.0
6
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N

Affected products

VendorProductVersions
gnuwgetwget0, dd692d9cea5335b181d877ae917fe6e75587a812
chainguardwget0
wolfiwget0
gnuwgetwget*, 0
gnuwget0

Timeline

  • Jul 7, 2026 CVE Published
  • Jul 8, 2026 EPSS Score (30 in total, the first dated here)
  • Jul 8, 2026 Coalition ESS Score
  • Jul 9, 2026 Security Advisory (5 in total, the first dated here)
  • Aug 12, 2026 Distribution Patch (7 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-58472
vulnetix vdb fixes CVE-2026-58472

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-58472/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›