{"id":"UBUNTU-CVE-2026-58472","details":"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.","modified":"2026-07-15T04:00:11.402229072Z","published":"2026-07-07T21:17:00Z","related":["USN-8543-1"],"upstream":["CVE-2026-58472"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-58472"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-58472"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-8543-1"}],"affected":[{"package":{"name":"wget","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/wget?arch=source&distro=esm-infra-legacy%2Ftrusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.15-1ubuntu1.14.04.5+esm2"}]}],"versions":["1.14-2ubuntu1","1.14-5ubuntu1","1.15-1ubuntu1","1.15-1ubuntu1.14.04.1","1.15-1ubuntu1.14.04.2","1.15-1ubuntu1.14.04.3","1.15-1ubuntu1.14.04.4","1.15-1ubuntu1.14.04.5"],"ecosystem_specific":{"binaries":[{"binary_version":"1.15-1ubuntu1.14.04.5+esm2","binary_name":"wget"}],"availability":"Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-58472.json"}},{"package":{"name":"wget","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/wget?arch=source&distro=esm-infra-legacy%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.17.1-1ubuntu1.5+esm3"}]}],"versions":["1.16.1-1ubuntu1","1.17.1-1ubuntu1","1.17.1-1ubuntu1.1","1.17.1-1ubuntu1.2","1.17.1-1ubuntu1.3","1.17.1-1ubuntu1.4","1.17.1-1ubuntu1.5","1.17.1-1ubuntu1.5+esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"wget","binary_version":"1.17.1-1ubuntu1.5+esm3"}],"availability":"Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-58472.json"}},{"package":{"name":"wget","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/wget?arch=source&distro=esm-infra%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.19.4-1ubuntu2.2+esm3"}]}],"versions":["1.19.1-3ubuntu1","1.19.1-3ubuntu1.1","1.19.2-1ubuntu1","1.19.3-2ubuntu1","1.19.4-1ubuntu2","1.19.4-1ubuntu2.1","1.19.4-1ubuntu2.2","1.19.4-1ubuntu2.2+esm1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.19.4-1ubuntu2.2+esm3","binary_name":"wget"}],"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-58472.json"}},{"package":{"name":"wget","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/wget?arch=source&distro=esm-infra%2Ffocal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.20.3-1ubuntu2.1+esm2"}]}],"versions":["1.20.3-1ubuntu1","1.20.3-1ubuntu2","1.20.3-1ubuntu2.1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.20.3-1ubuntu2.1+esm2","binary_name":"wget"}],"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-58472.json"}},{"package":{"name":"wget","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/wget?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.21.2-2ubuntu1.3"}]}],"versions":["1.21-1ubuntu3","1.21-1ubuntu4","1.21-1ubuntu5","1.21.2-2ubuntu1","1.21.2-2ubuntu1.1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.21.2-2ubuntu1.3","binary_name":"wget"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-58472.json"}},{"package":{"name":"wget","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/wget?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.21.4-1ubuntu4.3"}]}],"versions":["1.21.3-1ubuntu1","1.21.4-1ubuntu1","1.21.4-1ubuntu2","1.21.4-1ubuntu3","1.21.4-1ubuntu4","1.21.4-1ubuntu4.1"],"ecosystem_specific":{"binaries":[{"binary_name":"wget","binary_version":"1.21.4-1ubuntu4.3"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-58472.json"}},{"package":{"name":"wget","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/wget?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.24.5-2ubuntu1","1.25.0-2ubuntu1","1.25.0-2ubuntu2","1.25.0-2ubuntu3"],"ecosystem_specific":{"binaries":[{"binary_name":"wget","binary_version":"1.25.0-2ubuntu3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-58472.json"}},{"package":{"name":"wget","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/wget?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.25.0-2ubuntu4.2"}]}],"versions":["1.25.0-2ubuntu3","1.25.0-2ubuntu4"],"ecosystem_specific":{"binaries":[{"binary_name":"wget","binary_version":"1.25.0-2ubuntu4.2"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-58472.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H"},{"type":"CVSS_V4","score":"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"},{"type":"Ubuntu","score":"medium"}]}