CVE-2026-58472GNU Wget 1.25.0 Heap Buffer Overflow via HTML Attribute Encoding
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.
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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | wget | Fixed | 1.25.0-2ubuntu4.2 | UBUNTU-CVE-2026-58472 |
| Ubuntu 25.10 | wget | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2026-58472 | |
| Ubuntu 24.04 | wget | Fixed | 1.21.4-1ubuntu4.3 | UBUNTU-CVE-2026-58472 |
| Ubuntu 22.04 | wget | Fixed | 1.21.2-2ubuntu1.3 | UBUNTU-CVE-2026-58472 |
| Ubuntu 20.04 | wget | Fix pending | 1.20.3-1ubuntu2.1+esm2 (Ubuntu Pro) | UBUNTU-CVE-2026-58472 |
| Ubuntu 18.04 | wget | Fix pending | 1.19.4-1ubuntu2.2+esm3 (Ubuntu Pro) | UBUNTU-CVE-2026-58472 |
| Ubuntu 16.04 | wget | Fix pending | 1.17.1-1ubuntu1.5+esm3 (Ubuntu Pro) | UBUNTU-CVE-2026-58472 |
| Ubuntu 14.04 | wget | Fix pending | 1.15-1ubuntu1.14.04.5+esm2 (Ubuntu Pro) | UBUNTU-CVE-2026-58472 |
| Debian 14 | wget | Fix pending | DEBIAN-CVE-2026-58472 | |
| Debian 13 | wget | Fix pending | DEBIAN-CVE-2026-58472 | |
| Debian 12 | wget | Fix pending | DEBIAN-CVE-2026-58472 | |
| Red Hat Enterprise Linux 10 | wget | Fixed | 0:1.24.5-8.el10_2 | RHSA-2026:62142 |
| Red Hat Enterprise Linux 9 | wget | Fixed | 0:1.21.1-11.el9_8 | RHSA-2026:62143 |
| Red Hat Enterprise Linux 8 | wget | Fixed | 0:1.19.5-16.el8_10 | RHSA-2026:62144 |
| Red Hat Enterprise Linux 7 | wget | Fix pending Affected | ||
| Red Hat Enterprise Linux 6 | wget | Fix pending Affected | ||
| AlmaLinux 10 | wget | Fixed | 1.24.5-8.el10_2 | ALSA-2026:62142 |
| AlmaLinux 9 | wget | Fixed | 1.21.1-11.el9_8 | ALSA-2026:62143 |
| AlmaLinux 8 | wget | Fixed | 1.19.5-16.el8_10 | ALSA-2026:62144 |
| Rocky Linux 10 | wget | Fixed | 0:1.24.5-8.el10_2 | RLSA-2026:62142 |
| Rocky Linux 9 | wget | Fixed | 0:1.21.1-11.el9_8 | RLSA-2026:62143 |
| Rocky Linux 8 | wget | Fixed | 0:1.19.5-16.el8_10 | RLSA-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.
- gnuwget wget: affected: up to 1.25.0, dd692d9cea5335b181d877ae917fe6e75587a812 not affected
Vendor advisories:
References
- https://gitlab.com/gnuwget/wget/-/commit/dd692d9cea5335b181d877ae917fe6e75587a812
- https://www.vulncheck.com/advisories/gnu-wget-heap-buffer-overflow-via-html-attribute-encoding
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.