CVEfocus › CVE database › CVE-2026-58471

CVE-2026-58471GNU Wget 1.25.0 Heap Buffer Overflow via convert_fname() in url.c

CVSS 5.9 MediumEPSS 0.4% (higher than 25% of CVEs)Published 2026-07-07Updated 2026-07-14Assigner: VulnCheck

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-122

What to do

Fixed builds are available from AlmaLinux, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

12Fixed
7Fix pending
1Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04wgetFixed1.25.0-2ubuntu4.2UBUNTU-CVE-2026-58471
Ubuntu 25.10wgetWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-58471
Ubuntu 24.04wgetFixed1.21.4-1ubuntu4.3UBUNTU-CVE-2026-58471
Ubuntu 22.04wgetFixed1.21.2-2ubuntu1.3UBUNTU-CVE-2026-58471
Ubuntu 20.04wgetFix pending1.20.3-1ubuntu2.1+esm2 (Ubuntu Pro)UBUNTU-CVE-2026-58471
Ubuntu 18.04wgetFix pending1.19.4-1ubuntu2.2+esm3 (Ubuntu Pro)UBUNTU-CVE-2026-58471
Debian 14wgetFix pendingDEBIAN-CVE-2026-58471
Debian 13wgetFix pendingDEBIAN-CVE-2026-58471
Debian 12wgetFix pendingDEBIAN-CVE-2026-58471
Red Hat Enterprise Linux 10wgetFixed0:1.24.5-8.el10_2RHSA-2026:62142
Red Hat Enterprise Linux 9wgetFixed0:1.21.1-11.el9_8RHSA-2026:62143
Red Hat Enterprise Linux 8wgetFixed0:1.19.5-16.el8_10RHSA-2026:62144
Red Hat Enterprise Linux 7wgetFix pending
Affected
Red Hat Enterprise Linux 6wgetFix pending
Affected
AlmaLinux 10wgetFixed1.24.5-8.el10_2ALSA-2026:62142
AlmaLinux 9wgetFixed1.21.1-11.el9_8ALSA-2026:62143
AlmaLinux 8wgetFixed1.19.5-16.el8_10ALSA-2026:62144
Rocky Linux 10wgetFixed0:1.24.5-8.el10_2RLSA-2026:62142
Rocky Linux 9wgetFixed0:1.21.1-11.el9_8RLSA-2026:62143
Rocky Linux 8wgetFixed0:1.19.5-16.el8_10RLSA-2026:62144

What the vendor says

As published in the CVE record by VulnCheck, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.