Skip to content

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

MediumCVSS 6.0 EPSS 0.39%
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.

PackageAffectedFixed inStatus
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

ProductAffected versionsFixed 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
ProductAffected versionsFixed in
azure linux wget1(Azure Linux:4.0) < 0:1.25.0-8.azl4 0:1.25.0-8.azl4

References