{"id":"CVE-2026-58472","published":"2026-07-07T19:50:53Z","modified":"2026-07-14T22:03:12Z","title":"GNU Wget 1.25.0 Heap Buffer Overflow via HTML Attribute Encoding","vendor":"gnuwget","product":"wget","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0039,"percentile":0.33941,"provenance":"source"},"cwes":[{"id":"CWE-190","name":"Integer Overflow or Wraparound"}],"references":[{"url":"https://gitlab.com/gnuwget/wget/-/commit/dd692d9cea5335b181d877ae917fe6e75587a812","tags":["patch"]},{"url":"https://www.vulncheck.com/advisories/gnu-wget-heap-buffer-overflow-via-html-attribute-encoding","tags":["third-party-advisory"]}],"priority":{"score":10.9,"factors":[{"name":"EPSS percentile","points":6.79},{"name":"CVSS severity","points":4.13}]},"vendorSlug":"gnuwget","affectedVersions":[{"vendor":"gnuwget","product":"wget","versions":["<= 1.25.0"]}],"fixedVersions":[{"vendor":"gnuwget","product":"wget","versions":["dd692d9cea5335b181d877ae917fe6e75587a812"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-07-08T13:45:48.507469Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-42084","exploited":false,"provenance":"source"}}