Skip to content
OpenAdvisories
Medium · 5.9 CVE-2026-58472 EUVD-2026-42084GHSA-332r-8pmf-8m9p

GNU Wget 1.25.0 Heap Buffer Overflow via HTML Attribute Encoding

Published Jul 7, 2026 · Updated Jul 14, 2026 · Assigned by VulnCheck

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.

Affected products

VendorProductAffectedFixed
gnuwget wget ≤ 1.25.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 wget No fix yet —
Debian 13 wget No fix yet —
Debian 12 wget No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.04 LTS wget 1.25.0-2ubuntu4.2 USN-8543-1
Ubuntu 25.10 wget No fix yet —
Ubuntu 24.04 LTS wget 1.21.4-1ubuntu4.3 USN-8543-1
Ubuntu 22.04 LTS wget 1.21.2-2ubuntu1.3 USN-8543-1
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS wget 1.20.3-1ubuntu2.1+esm2 USN-8543-1
Ubuntu Pro 18.04 LTS wget 1.19.4-1ubuntu2.2+esm3 USN-8543-1
Ubuntu Pro 16.04 LTS wget 1.17.1-1ubuntu1.5+esm3 USN-8543-1
Ubuntu Pro 14.04 LTS wget 1.15-1ubuntu1.14.04.5+esm2 USN-8543-1
ReleasePackageFixed inAdvisory
RHEL 10 wget 1.24.5-8.el10_2 RHSA-2026:62142
RHEL 9 wget 1.21.1-11.el9_8 RHSA-2026:62143
RHEL 8 wget 1.19.5-16.el8_10 RHSA-2026:62144

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 10 wget 1.24.5-8.el10_2 ALSA-2026:62142
AlmaLinux 9 wget 1.21.1-11.el9_8 ALSA-2026:62143
AlmaLinux 8 wget 1.19.5-16.el8_10 ALSA-2026:62144

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 10 wget 1.24.5-8.el10_2 RLSA-2026:62142
Rocky Linux 9 wget 1.21.1-11.el9_8 RLSA-2026:62143
Rocky Linux 8 wget 1.19.5-16.el8_10 RLSA-2026:62144
ReleasePackageFixed inAdvisory
SLES 15 SP7 wget 1.24.5-150700.3.3.1 SUSE-SU-2026:3148-1
SLES 15 SP5 wget 1.20.3-150000.3.34.1 SUSE-SU-2026:3206-1
SLES 15 SP4 wget 1.20.3-150000.3.34.1 SUSE-SU-2026:3206-1
SLES 12 SP5 wget 1.14-21.28.1 SUSE-SU-2026:3205-1
Show 10 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 16.0 wget 1.25.0-160000.3.1 SUSE-SU-2026:23326-1
SLES for SAP 15 SP5 wget 1.20.3-150000.3.34.1 SUSE-SU-2026:3206-1
SLES for SAP 15 SP4 wget 1.20.3-150000.3.34.1 SUSE-SU-2026:3206-1
SLES 16.0 wget 1.25.0-160000.3.1 SUSE-SU-2026:23326-1
SLE Micro 6.2 wget 1.25.0-160000.3.1 SUSE-SU-2026:23297-1
SLE Micro 6.1 wget 1.24.5-slfo.1.1_4.1 SUSE-SU-2026:23163-1
SLE Micro 6.0 wget 1.24.5-3.1 SUSE-SU-2026:23053-1
SLE Micro 5.5 wget 1.20.3-150000.3.34.1 SUSE-SU-2026:3206-1
SLE HPC 15 SP5 wget 1.20.3-150000.3.34.1 SUSE-SU-2026:3206-1
SLE HPC 15 SP4 wget 1.20.3-150000.3.34.1 SUSE-SU-2026:3206-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed wget 1.25.0-3.1 openSUSE-SU-2026:11252-1
openSUSE Leap 16.0 wget 1.25.0-160000.3.1 openSUSE-SU-2026:21665-1

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling wget 1.25.0-r15 —
Wolfi rolling wget-doc No fix yet —

Advisories 22

References