CVE-2026-58472 GNU Wget 1.25.0 Heap Buffer Overflow via HTML Attribute Encoding
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- UbuntuDebianRed Hat
Description
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.
Upgrade path
14 packages: 9 fixed, 5 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/wget(Debian 12) | = 1.21.3-1; = 1.21.3-1+deb12u1; = 1.21.4-1; = 1.24.5-1 +5 more | No fix listed | No fix yet |
| debian/wget(Debian 13) | = 1.25.0-2; = 1.25.0-3; All versions | No fix listed | No fix yet |
| debian/wget(Debian 14) | = 1.25.0-2; = 1.25.0-3; All versions | No fix listed | No fix yet |
| redhat/wget(Red Hat rhel_els 6) | All versions | No fix listed | No fix yet |
| redhat/wget(Red Hat rhel_els 7) | All versions | No fix listed | No fix yet |
| azure linux wget1(Azure Linux 4.0) | < 0:1.25.0-8.azl4 | 0:1.25.0-8.azl4 | Fixed |
| GNU wget | <= 1.25.0 | after 1.25.0 | Fixed |
| gnuwget wget | <= 1.25.0 | after 1.25.0 | Fixed |
| redhat/wget(Red Hat enterprise_linux 10.2) | < 1.24.5-8.el10_2 | 1.24.5-8.el10_2 | Fixed |
| redhat/wget(Red Hat enterprise_linux 8) | < 1.19.5-16.el8_10 | 1.19.5-16.el8_10 | Fixed |
| redhat/wget(Red Hat enterprise_linux 9) | < 1.21.1-11.el9_8 | 1.21.1-11.el9_8 | Fixed |
| ubuntu/wget(Ubuntu 22.04) | < 1.21.2-2ubuntu1.3 | 1.21.2-2ubuntu1.3 | Fixed |
| ubuntu/wget(Ubuntu 24.04) | < 1.21.4-1ubuntu4.3 | 1.21.4-1ubuntu4.3 | Fixed |
| ubuntu/wget(Ubuntu 26.04) | < 1.25.0-2ubuntu4.2 | 1.25.0-2ubuntu4.2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| gnuwget wget | <= 1.25.0 | No fix listed |
| redhat/wget(Red Hat:enterprise_linux:10.2) | < 1.24.5-8.el10_2 | 1.24.5-8.el10_2 |
| redhat/wget(Red Hat:enterprise_linux:8) | < 1.19.5-16.el8_10 | 1.19.5-16.el8_10 |
| redhat/wget(Red Hat:enterprise_linux:9) | < 1.21.1-11.el9_8 | 1.21.1-11.el9_8 |
| redhat/wget(Red Hat:rhel_els:6) | All versions | No fix listed |
| redhat/wget(Red Hat:rhel_els:7) | All versions | No fix listed |
| debian/wget(Debian:12) | All versions | No fix listed |
| debian/wget(Debian:12) | = 1.21.3-1 | No fix listed |
| debian/wget(Debian:12) | = 1.21.3-1+deb12u1 | No fix listed |
| debian/wget(Debian:12) | = 1.21.4-1 | No fix listed |
| debian/wget(Debian:12) | = 1.24.5-1 | No fix listed |
| debian/wget(Debian:12) | = 1.24.5-2 | No fix listed |
| debian/wget(Debian:12) | = 1.25.0-1 | No fix listed |
| debian/wget(Debian:12) | = 1.25.0-2 | No fix listed |
| debian/wget(Debian:12) | = 1.25.0-3 | No fix listed |
| debian/wget(Debian:13) | All versions | No fix listed |
| debian/wget(Debian:13) | = 1.25.0-2 | No fix listed |
| debian/wget(Debian:13) | = 1.25.0-3 | No fix listed |
| debian/wget(Debian:14) | All versions | No fix listed |
| debian/wget(Debian:14) | = 1.25.0-2 | No fix listed |
| debian/wget(Debian:14) | = 1.25.0-3 | No fix listed |
| ubuntu/wget(Ubuntu:22.04) | < 1.21.2-2ubuntu1.3 | 1.21.2-2ubuntu1.3 |
| ubuntu/wget(Ubuntu:24.04) | < 1.21.4-1ubuntu4.3 | 1.21.4-1ubuntu4.3 |
| ubuntu/wget(Ubuntu:26.04) | < 1.25.0-2ubuntu4.2 | 1.25.0-2ubuntu4.2 |
| GNU wget | <= 1.25.0 | No fix listed |
Show 1 more
| Product | Affected versions | Fixed in |
|---|---|---|
| azure linux wget1(Azure Linux:4.0) | < 0:1.25.0-8.azl4 | 0:1.25.0-8.azl4 |
References
- Fix Commit patch
- www.vulncheck.com patch third-party-advisory
- Red Hat CVE page mitigation vendor-advisory
- RHSA-2026:62142 patch vendor-advisory
- RHSA-2026:62144 patch vendor-advisory
- RHSA-2026:62143 patch vendor-advisory
- Red Hat Bugzilla 2497857 issue-tracking
- www.cve.org
- nvd.nist.gov
- Debian Security Tracker CVE-2026-58472 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- USN-8543-1 vendor-advisory
- bugs.debian.org issue-tracking
- MSRC Security Update Guide vendor-advisory
- Release Notes vendor-advisory