Logo
vulnerabilityCVE-2026-58472
Name
CVE-2026-58472
Source
NVD ( link)Debian ( link)
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.
Published Date
Updated Date
Workaround
-

Analysis#


Affected Component
Analysis
wget
Exploitable

Vulnerability Ratings#


6
CVSSv4
5.9
CVSSv31
7.1
CVSSv31
NaN
other

Others affected components#


Name
Project
Project Version
Version
Status
buildroot
2025.02.x
1.25.0
Exploitable
buildroot
master
1.25.0
Exploitable
openwrt
master
1.25.0-r5
Exploitable
yocto
kirkstone
1.21.4
Exploitable
yocto
master
1.25.0
Patched
yocto
scarthgap
1.21.4
Exploitable

Resolved with patches#


wget (yocto:master)

#
Title
Author
Resolve
1
Regression: Fix buffer overflow in html_quote_string()
=?UTF-8?q?Tim=20R=C3=BChsen?= <tim.ruehsen@gmx.de>
CVE-2026-58472
2
* src/convert.c (html_quote_string): Fix integer+buffer
=?UTF-8?q?Tim=20R=C3=BChsen?= <tim.ruehsen@gmx.de>
CVE-2026-58472