Logo
›
›component›wget
Name
wget
Version
1.21.4
Type
library
Description
Console URL download utility supporting HTTP, FTP, etc
Licenses
GPL-3.0-only
PURL
-
CPE
cpe:2.3:*:gnu:wget:1.21.4:*:*:*:*:*:*:*

Other Versions#


Project
Branch
Version
kirkstone
1.21.4
master
1.25.0

Patches#


#
Title
Author
Resolve
1
Regression: Fix buffer overflow in html_quote_string()
=?UTF-8?q?Tim=20R=C3=BChsen?= <tim.ruehsen@gmx.de>
CVE-2026-58472
2
* src/metalink.c (clean_metalink_string): Fix inverted
ChenYanpan <chenyanpan@xfusion.com>
CVE-2026-58469
3
Fix CVE-2024-10524 (drop support for shorthand URLs)
Tim Rühsen <tim.ruehsen@gmx.de>
CVE-2024-10524
4
* src/http.c (parse_content_range): Use strtoll instead of
=?UTF-8?q?Tim=20R=C3=BChsen?= <tim.ruehsen@gmx.de>
CVE-2026-58470
5
Properly re-implement userinfo parsing (rfc2396)
=?UTF-8?q?Tim=20R=C3=BChsen?= <tim.ruehsen@gmx.de>
CVE-2024-38428
6
* src/convert.c (html_quote_string): Fix integer+buffer
=?UTF-8?q?Tim=20R=C3=BChsen?= <tim.ruehsen@gmx.de>
CVE-2026-58472
7
src/Makefile.am: improve reproducibility
Hongxu Jia <hongxu.jia@windriver.com>
8
* src/metalink.c (clean_metalink_string): Fix buffer
=?UTF-8?q?Tim=20R=C3=BChsen?= <tim.ruehsen@gmx.de>
CVE-2026-58469
9
Fix buffer size handling in filename conversion
Arkadi Vainbrand <arkadva8@gmail.com>
CVE-2026-58471
10
* src/metalink.c: Include ctype.h
=?UTF-8?q?Tim=20R=C3=BChsen?= <tim.ruehsen@gmx.de>
CVE-2026-58469
11
* src/http.c (parse_content_range): Fix integer overflow
=?UTF-8?q?Tim=20R=C3=BChsen?= <tim.ruehsen@gmx.de>
CVE-2026-58470

Vulnerabilities#


Name
Analysis
Description
Patched
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.
Patched
GNU Wget through 1.25.0, fixed in commit c2640fe, contains a heap buffer overflow vulnerability in the convert_fname() function within src/url.c that allows remote attackers to trigger memory corruption through a server-supplied filename requiring character set conversion. When the output buffer is too small during iconv E2BIG reallocation, the reallocation logic miscalculates the remaining space, leading to a heap buffer overflow that can be exploited via a maliciously crafted server response.
Patched
GNU Wget through 1.25.0, fixed in commit 43d3ba9, contains an integer overflow vulnerability in the parse_content_range() function within src/http.c that allows server-controlled values to cause signed integer arithmetic to overflow. Attackers can supply malicious Content-Range header values to trigger undefined behavior and download desynchronization in the affected client.
Patched
GNU Wget through 1.25.0, fixed in commit 37a40fc, contains a heap buffer underread vulnerability in the clean_metalink_string() function within src/metalink.c that allows a malicious server to trigger memory corruption by serving a Metalink document containing a whitespace-only URL. Attackers can cause the function to decrement a pointer past the start of the buffer when processing an all-whitespace Metalink URL, potentially leading to abnormal program behavior.
Patched
url.c in GNU Wget through 1.24.5 mishandles semicolons in the userinfo subcomponent of a URI, and thus there may be insecure behavior in which data that was supposed to be in the userinfo subcomponent is misinterpreted to be part of the host subcomponent.
Patched
Applications that use Wget to access a remote resource using shorthand URLs and pass arbitrary user credentials in the URL are vulnerable. In these cases attackers can enter crafted credentials which will cause Wget to access an arbitrary host.