All reports
Medium

wget: GNU Wget: Arbitrary code execution or denial of service via crafted HTML attribute

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-58472

Probability of exploitation in the next 30 days: 0.39%

FIRST EPSS · 2026-11-24

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.

A flaw was found in GNU Wget. A remote attacker can exploit a heap buffer overflow vulnerability in the html_quote_string() function by providing a specially crafted HTML attribute. This can lead to memory corruption and potentially result in arbitrary code execution or a denial of service.