CVE-2026-58472CWE-190

GNU Wget 1.25.0 Heap Buffer Overflow via HTML Attribute Encoding

Medium · published July 7, 2026

CVSS v4.0
6.0
EPSS
0%
Percentile
31.9
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
6.0 · MEDIUM
Vector
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N
EPSS
0.00390 · 31.9th percentile
Weakness
CWE-190 · Integer Overflow or Wraparound
Published
2026-07-07T19:50Z
EPSS history
Timeline
  • 07 JUL 19:50Z
    GNU Wget 1.25.0 Heap Buffer Overflow via HTML Attribute Encoding
    cvelistv5