
CVE catalog
CVE-2017-13090
wget: CVE-2017-13090
- Severity
- High · CVSS 8.8
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 36.56% · Oct 25, 2026
The retr.c:fd_read_body() function is called when processing OK responses. When the response is sent chunked in wget before 1.19.2, the chunk parser uses strtol() to read each chunk's length, but doesn't check that the chunk length is a non-negative number. The code then tries to read the chunk in pieces of 8192 bytes by using the MIN() macro, but ends up passing the negative chunk length to retr.c:fd_read(). As fd_read() takes an int argument, the high 32 bits of the chunk length are discarded, leaving fd_read() with a completely attacker controlled length argument. The attacker can corrupt malloc metadata after the allocated buffer.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | wget | sid | 1.25.0-3 | fixed |
| Debian | wget | forky | 1.25.0-3 | fixed |
| Debian | wget | trixie | 1.25.0-2 | fixed |
| Debian | wget | bookworm | 1.21.3-1+deb12u1 | fixed |
| Alpine | wget | 3.10 | 1.19.2-r0 | fixed |
| Alpine | wget | 3.11 | 1.19.2-r0 | fixed |
| Alpine | wget | 3.12 | 1.19.2-r0 | fixed |
| Alpine | wget | 3.13 | 1.19.2-r0 | fixed |
| Alpine | wget | 3.14 | 1.19.2-r0 | fixed |
| Alpine | wget | 3.15 | 1.19.2-r0 | fixed |
| Alpine | wget | 3.16 | 1.19.2-r0 | fixed |
| Alpine | wget | 3.17 | 1.19.2-r0 | fixed |
| Alpine | wget | 3.18 | 1.19.2-r0 | fixed |
| Alpine | wget | 3.19 | 1.19.2-r0 | fixed |
| Alpine | wget | 3.20 | 1.19.2-r0 | fixed |
| Alpine | wget | 3.21 | 1.19.2-r0 | fixed |
| Alpine | wget | 3.22 | 1.19.2-r0 | fixed |
| Alpine | wget | 3.23 | 1.19.2-r0 | fixed |
| Alpine | wget | 3.24 | 1.19.2-r0 | fixed |
| Alpine | wget | 3.4 | 1.18-r2 | fixed |
| Alpine | wget | 3.5 | 1.18-r3 | fixed |
| Alpine | wget | 3.6 | 1.19.2-r0 | fixed |
| Alpine | wget | 3.7 | 1.19.2-r0 | fixed |
| Alpine | wget | 3.8 | 1.19.2-r0 | fixed |
| Alpine | wget | 3.9 | 1.19.2-r0 | fixed |
| Ubuntu | wget | 14.04 | 1.14-2ubuntu1 | vulnerable |
| Ubuntu | wget | 14.04 | 1.14-5ubuntu1 | vulnerable |
| Ubuntu | wget | 14.04 | 1.15-1ubuntu1 | vulnerable |
| Ubuntu | wget | 14.04 | 1.15-1ubuntu1.14.04.1 | vulnerable |
| Ubuntu | wget | 14.04 | 1.15-1ubuntu1.14.04.2 | vulnerable |
| Ubuntu | wget | 14.04 | 1.15-1ubuntu1.14.04.3 | fixed |
| Ubuntu | wget | 16.04 | 1.16.1-1ubuntu1 | vulnerable |
| Ubuntu | wget | 16.04 | 1.17.1-1ubuntu1 | vulnerable |
| Ubuntu | wget | 16.04 | 1.17.1-1ubuntu1.1 | vulnerable |
| Ubuntu | wget | 16.04 | 1.17.1-1ubuntu1.2 | vulnerable |
| Ubuntu | wget | 16.04 | 1.17.1-1ubuntu1.3 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | wget | source | sid | 1.19.2-1 | not yet assigned | Not reported | [879957] |
| Debian | wget | source | forky | 1.19.2-1 | not yet assigned | Not reported | [879957] |
| Debian | wget | source | trixie | 1.19.2-1 | not yet assigned | Not reported | [879957] |
| Debian | wget | source | bookworm | 1.19.2-1 | not yet assigned | Not reported | [879957] |
| Alpine | wget | apk | 3.10 | 1.19.2-r0 | Not reported | ALPINE-CVE-2017-13090 | Not reported |
| Alpine | wget | apk | 3.11 | 1.19.2-r0 | Not reported | ALPINE-CVE-2017-13090 | Not reported |
| Alpine | wget | apk | 3.12 | 1.19.2-r0 | Not reported | ALPINE-CVE-2017-13090 | Not reported |
| Alpine | wget | apk | 3.13 | 1.19.2-r0 | Not reported | ALPINE-CVE-2017-13090 | Not reported |
| Alpine | wget | apk | 3.14 | 1.19.2-r0 | Not reported | ALPINE-CVE-2017-13090 | Not reported |
| Alpine | wget | apk | 3.15 | 1.19.2-r0 | Not reported | ALPINE-CVE-2017-13090 | Not reported |
| Alpine | wget | apk | 3.16 | 1.19.2-r0 | Not reported | ALPINE-CVE-2017-13090 | Not reported |
| Alpine | wget | apk | 3.17 | 1.19.2-r0 | Not reported | ALPINE-CVE-2017-13090 | Not reported |
| Alpine | wget | apk | 3.18 | 1.19.2-r0 | Not reported | ALPINE-CVE-2017-13090 | Not reported |
| Alpine | wget | apk | 3.19 | 1.19.2-r0 | Not reported | ALPINE-CVE-2017-13090 | Not reported |
| Alpine | wget | apk | 3.20 | 1.19.2-r0 | Not reported | ALPINE-CVE-2017-13090 | Not reported |
| Alpine | wget | apk | 3.21 | 1.19.2-r0 | Not reported | ALPINE-CVE-2017-13090 | Not reported |
| Alpine | wget | apk | 3.22 | 1.19.2-r0 | Not reported | ALPINE-CVE-2017-13090 | Not reported |
| Alpine | wget | apk | 3.23 | 1.19.2-r0 | Not reported | ALPINE-CVE-2017-13090 | Not reported |
| Alpine | wget | apk | 3.24 | 1.19.2-r0 | Not reported | ALPINE-CVE-2017-13090 | Not reported |
| Alpine | wget | apk | 3.4 | 1.18-r2 | Not reported | ALPINE-CVE-2017-13090 | Not reported |
| Alpine | wget | apk | 3.5 | 1.18-r3 | Not reported | ALPINE-CVE-2017-13090 | Not reported |
| Alpine | wget | apk | 3.6 | 1.19.2-r0 | Not reported | ALPINE-CVE-2017-13090 | Not reported |
| Alpine | wget | apk | 3.7 | 1.19.2-r0 | Not reported | ALPINE-CVE-2017-13090 | Not reported |
| Alpine | wget | apk | 3.8 | 1.19.2-r0 | Not reported | ALPINE-CVE-2017-13090 | Not reported |
| Alpine | wget | apk | 3.9 | 1.19.2-r0 | Not reported | ALPINE-CVE-2017-13090 | Not reported |
| Ubuntu | wget | deb | 14.04 | 1.15-1ubuntu1.14.04.3 | Not reported | UBUNTU-CVE-2017-13090 | Not reported |
| Ubuntu | wget | deb | 16.04 | 1.17.1-1ubuntu1.3 | Not reported | UBUNTU-CVE-2017-13090 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [wget]Fixed
Details (2)
1.21.3-1+deb12u1· amd64 · bookwormFixed · Fixed:
1.19.2-1dsa · wget · debian · bookworm; dsa · wget · debian · 12
1.21.3-1+deb12u1· arm64 · bookwormFixed · Fixed:
1.19.2-1dsa · wget · debian · bookworm; dsa · wget · debian · 12
[Debian 13 (Trixie)]
- [wget]Fixed
Details (2)
1.25.0-2· amd64 · trixieFixed · Fixed:
1.19.2-1dsa · wget · debian · 13
1.25.0-2· arm64 · trixieFixed · Fixed:
1.19.2-1dsa · wget · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/rhsa-2017_3075.json]
- [https://osv.dev/vulnerability/ALPINE-CVE-2017-13090]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2017-13090]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2017-13090]
- [https://security-tracker.debian.org/tracker/CVE-2017-13090]
- [https://security.access.redhat.com/data/csaf/v2/vex/2017/cve-2017-13090.json]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]