VDB

CVE-2026-58471

CVE-2026-58471 PUBLISHED CVSS 6 MEDIUM

GNU Wget 1.25.0 Heap Buffer Overflow via convert_fname() in url.c

Reported by vulncheck · Published July 7, 2026

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.

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
wget-debuginfoerrata.rockylinux.org1.24.5-8.el10, 1.21.1-11.el9
wgeterrata.rockylinux.org1.24.5-8.el10, 1.21.1-11.el9
wgetgnu1.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, c2640fe5171c59f87c58dc9fcb195b2d18b010ee
gnuwget0
chainguardwget0
wolfiwget0
gnuwgetwget*, 0

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-58471
vulnetix vdb fixes CVE-2026-58471

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-58471/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 ›