Description
GNU Wget before 1.19.5 is prone to a cookie injection vulnerability in the resp_new function in http.c via a \r\n sequence in a continuation line.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | WGet | WGet | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | wget | 1.19.5-1 | — |
| Debian 13 | wget | 1.19.5-1 | — |
| Debian 12 | wget | 1.19.5-1 | — |
| Debian 9 | wget | 1.18-5+deb9u2 | DSA-4195-1 |
| Debian 8 | wget | 1.16-1+deb8u5 | DSA-4195-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 7 | wget | 1.13.4-3+deb7u6 | DLA-1375-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | wget | 1.19.4-1ubuntu2.1 | USN-3643-1 |
| Ubuntu 16.04 LTS | wget | 1.17.1-1ubuntu1.4 | USN-3643-1 |
| Ubuntu 14.04 LTS | wget | 1.15-1ubuntu1.14.04.4 | USN-3643-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 7 | wget | 1.14-18.el7 | RHSA-2018:3052 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP3 | wget | 1.14-21.7.1 | SUSE-SU-2018:1373-1 |
| SLES 11 SP4 | wget | 1.11.4-1.41.3.1 | SUSE-SU-2018:1367-1 |
| SLES 11 | wget-openssl1 | 1.11.4-1.41.3.1 | SUSE-SU-2018:1367-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 12 SP3 | wget | 1.14-21.7.1 | SUSE-SU-2018:1373-1 |
| SLES for SAP 11 SP4 | wget | 1.11.4-1.41.3.1 | SUSE-SU-2018:1367-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | wget | 1.21.1-2.2 | openSUSE-SU-2024:11510-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | wget | 1.19.5-r0 | — |
| Alpine v3.23 | wget | 1.19.5-r0 | — |
| Alpine v3.22 | wget | 1.19.5-r0 | — |
| Alpine v3.21 | wget | 1.19.5-r0 | — |
| Alpine v3.20 | wget | 1.19.5-r0 | — |
Show 16 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | wget | 1.19.5-r0 | — |
| Alpine v3.18 | wget | 1.19.5-r0 | — |
| Alpine v3.17 | wget | 1.19.5-r0 | — |
| Alpine v3.16 | wget | 1.19.5-r0 | — |
| Alpine v3.15 | wget | 1.19.5-r0 | — |
| Alpine v3.14 | wget | 1.19.5-r0 | — |
| Alpine v3.13 | wget | 1.19.5-r0 | — |
| Alpine v3.12 | wget | 1.19.5-r0 | — |
| Alpine v3.11 | wget | 1.19.5-r0 | — |
| Alpine v3.10 | wget | 1.19.5-r0 | — |
| Alpine v3.9 | wget | 1.19.5-r0 | — |
| Alpine v3.8 | wget | 1.19.5-r0 | — |
| Alpine v3.7 | wget | 1.19.5-r0 | — |
| Alpine v3.6 | wget | 1.19.5-r0 | — |
| Alpine v3.5 | wget | 1.18-r4 | — |
| Alpine v3.4 | wget | 1.18-r3 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2 | wget | 1.14-18.amzn2 | ALAS2-2018-1121 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 7 | wget | 1.14-18.el7 | ELSA-2018-3052 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- GNU wget - Cookie Injection EDB-44601 · local · May 6, 2018
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 9
- RHSA-2018:3052 Red Hat Security Advisory: wget security and bug fix update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- DSA-4195-1 wget - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-1375-1 wget - security update Debian Security (DSA / DLA) · Mar 9, 2026
- USN-3643-1 wget vulnerability Ubuntu Security Notices (USN) · Feb 10, 2026
- openSUSE-SU-2024:11510-1 wget-1.21.1-2.2 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:1373-1 Security update for wget SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:1367-1 Security update for wget SUSE / openSUSE Security Updates · Feb 4, 2026
- ALAS2-2018-1121 Moderate: wget security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Dec 8, 2018
- ELSA-2018-3052 Moderate: wget security and bug fix update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Nov 5, 2018
References
- https://sintonen.fi/advisories/gnu-wget-cookie-injection.txt
- RHSA-2018:3052 vendor-advisory
- https://savannah.gnu.org/bugs/?53763
- https://git.savannah.gnu.org/cgit/wget.git/commit/?id=1fc9c95ec144499e69dc8ec76dbe07799d7d82cd
- GLSA-201806-01 vendor-advisory
- DSA-4195 vendor-advisory
- 104129 vdb-entry
- 1040838 vdb-entry
- 44601 exploit
- USN-3643-2 vendor-advisory
- [debian-lts-announce] 20180511 [SECURITY] [DLA 1375-1] wget security update mailing-list
- https://lists.gnu.org/archive/html/bug-wget/2018-05/msg00020.html
- USN-3643-1 vendor-advisory