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.
{
"license": "CC-BY-4.0",
"sources": [
{
"modified": "2026-07-09T15:58:45.663Z",
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-58472",
"published": "2026-07-07T21:17:28.873Z",
"id": "CVE-2026-58472",
"imported": "2026-08-03T20:01:18.327Z",
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-58472",
"database_specific": {
"status": "Analyzed"
}
},
{
"html_url": "https://github.com/advisories/GHSA-332r-8pmf-8m9p",
"url": "https://api.github.com/advisories/GHSA-332r-8pmf-8m9p",
"published": "2026-07-07T21:31:36Z",
"id": "GHSA-332r-8pmf-8m9p",
"imported": "2026-08-03T20:01:22.419Z",
"modified": "2026-07-07T21:31:43Z"
},
{
"html_url": "https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-42084",
"url": "https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2026-42084",
"published": "2026-07-07T19:50:53Z",
"id": "EUVD-2026-42084",
"imported": "2026-08-03T20:01:19.724Z",
"modified": "2026-07-14T22:03:12Z"
}
]
}