CVE-2026-58472

EUVD-2026-42084
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.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
5.9 MEDIUM
NETWORK
HIGH
NONE
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:H
Base Score
CVSS 3.x
EPSS Score
Percentile: 12.94%
Affected Products (NVD)
VendorProductVersion
gnuwget
𝑥
≤ 1.25.0
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
wget
bookworm
postponed
bullseye
postponed
bullseye (security)
vulnerable
forky
vulnerable
sid
vulnerable
trixie
no-dsa
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
wget
bionic
Fixed 1.19.4-1ubuntu2.2+esm3
released
focal
Fixed 1.20.3-1ubuntu2.1+esm2
released
jammy
Fixed 1.21.2-2ubuntu1.3
released
noble
Fixed 1.21.4-1ubuntu4.3
released
questing
ignored
resolute
Fixed 1.25.0-2ubuntu4.2
released
trusty
Fixed 1.15-1ubuntu1.14.04.5+esm2
released
xenial
Fixed 1.17.1-1ubuntu1.5+esm3
released