Affected versions
Ubuntu22.04:LTS/wget
- Affected versions
- <1.21.2-2ubuntu1.3
- Fixed version
- 1.21.2-2ubuntu1.3
Ubuntu24.04:LTS/wget
- Affected versions
- <1.21.4-1ubuntu4.3
- Fixed version
- 1.21.4-1ubuntu4.3
Ubuntu25.10/wget
- Affected versions
- *
- Fixed version
- Not reported
Ubuntu26.04:LTS/wget
- Affected versions
- <1.25.0-2ubuntu4.2
- Fixed version
- 1.25.0-2ubuntu4.2
UbuntuPro:14.04:LTS/wget
- Affected versions
- <1.15-1ubuntu1.14.04.5+esm2
- Fixed version
- 1.15-1ubuntu1.14.04.5+esm2
UbuntuPro:16.04:LTS/wget
- Affected versions
- <1.17.1-1ubuntu1.5+esm3
- Fixed version
- 1.17.1-1ubuntu1.5+esm3
UbuntuPro:18.04:LTS/wget
- Affected versions
- <1.19.4-1ubuntu2.2+esm3
- Fixed version
- 1.19.4-1ubuntu2.2+esm3
UbuntuPro:20.04:LTS/wget
- Affected versions
- <1.20.3-1ubuntu2.1+esm2
- Fixed version
- 1.20.3-1ubuntu2.1+esm2
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.

