CVE-2026-58472 Details
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 heap buffer overflow vulnerability has been identified in GNU Wget versions through 1.25.0, within the html_quote_string() function in src/convert.c. This vulnerability allows remote attackers to cause memory corruption by sending a crafted HTML attribute that includes a large number of characters requiring entity encoding. The exploitation occurs because a server-supplied HTML attribute leads to a signed integer counter overflow during the size calculation, causing an inadequate heap allocation. This undersized allocation is then exploited, resulting in a heap buffer overflow when the data is copied.
Users can upgrade to GNU Wget version 1.25.0 or later to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 8, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-190 | Integer Overflow or Wraparound | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| gnu wget | <= 1.25.0 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 9, 2026 | Initial Analysis | [email protected] |
| Jul 8, 2026 | CVE Modified | CISA-ADP |
| Jul 7, 2026 | New CVE Received | [email protected] |