CVEfocus › CVE database › CVE-2026-58472

CVE-2026-58472GNU Wget 1.25.0 Heap Buffer Overflow via HTML Attribute Encoding

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

CWE-190

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
9Fix 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-58472
Ubuntu 25.10wgetWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-58472
Ubuntu 24.04wgetFixed1.21.4-1ubuntu4.3UBUNTU-CVE-2026-58472
Ubuntu 22.04wgetFixed1.21.2-2ubuntu1.3UBUNTU-CVE-2026-58472
Ubuntu 20.04wgetFix pending1.20.3-1ubuntu2.1+esm2 (Ubuntu Pro)UBUNTU-CVE-2026-58472
Ubuntu 18.04wgetFix pending1.19.4-1ubuntu2.2+esm3 (Ubuntu Pro)UBUNTU-CVE-2026-58472
Ubuntu 16.04wgetFix pending1.17.1-1ubuntu1.5+esm3 (Ubuntu Pro)UBUNTU-CVE-2026-58472
Ubuntu 14.04wgetFix pending1.15-1ubuntu1.14.04.5+esm2 (Ubuntu Pro)UBUNTU-CVE-2026-58472
Debian 14wgetFix pendingDEBIAN-CVE-2026-58472
Debian 13wgetFix pendingDEBIAN-CVE-2026-58472
Debian 12wgetFix pendingDEBIAN-CVE-2026-58472
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.