High severity · published Jul 7, 2026
CVE-2026-58472
GNU Wget 1.25.0 Heap Buffer Overflow via HTML Attribute Encoding
7.1
CVSS
0.4%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
None
Integrity
Low
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.4% · higher than 33% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
WG
wget · gnuwget
through 1.25.0 · source: vendor, NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-58472
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-58472
Patch
https://gitlab.com/gnuwget/wget/-/commit/dd692d9cea5335b181d877ae917fe6e75587a812
Patch
https://www.vulncheck.com/advisories/gnu-wget-heap-buffer-overflow-via-html-attribute-encoding
More from wget
7.5
CVE-2026-58469
GNU Wget 1.25.0 Heap Buffer Underread via Metalink URL Parsing
7.1
CVE-2026-58471
GNU Wget 1.25.0 Heap Buffer Overflow via convert_fname() in url.c
5.3
CVE-2026-58470
GNU Wget 1.25.0 Integer Overflow via Content-Range Header Parsing
