CVE-2017-13089Wget Memory Corruption
The http.c:skip_short_body() function is called in some circumstances, such as when processing redirects.
Published Oct 27, 2017 · Updated Nov 17, 2026 · Also known as ALPINE-CVE-2017-13089, DEBIAN-CVE-2017-13089, DLA-1149-1, DSA-4008-1, MGASA-2017-0396, SUSE-SU-2017:2871-1, SUSE-SU-2017:2871-2, UBUNTU-CVE-2017-13089
Key Facts
Patch immediately- CVE-2017-13089 is a high-severity vulnerability (CVSS 8.8 v3.1) affecting Wget (Gnu), Debian Linux, rootio-wget and 2 more products.
- It is not listed in any known-exploited vulnerabilities catalog. No public exploit code is known.
- EPSS estimates a 80% probability of exploitation in the next 30 days.
- Fixed versions are available, including Wget 1.19.1, Wget 0:1.14-15.el7_4.1, Wget 1.12-10.el6+sp999.
- Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Scores
CVSS v3.1
8.8
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS (30-day exploit likelihood)
80%
Higher than 99.6% of all scored CVEs
Exploit maturity
None known
ATLAS score
35/100
Publication score, see How it works
Exploitation Verdict
KEV listed
Not listed
Federal due date
None
No federal due date
Ransomware use
Not reported
Attributed actors
None named
Exploit & Defence Guidance
Exploit maturity
None known
Public exploit code
0
Proof-of-concept links
In-the-wild evidence
0
Reports of active use
Advisories And Exploit References
Description
The http.c:skip_short_body() function is called in some circumstances, such as when processing redirects. 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 skip the chunk in pieces of 512 bytes by using the MIN() macro, but ends up passing the negative chunk length to connect.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.
Affected Products
61 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| WgetGnu | >= prior to 1.19.2 | 1.19.1 |
| Debian LinuxDebian | 8.0, 9.0 | n/a |
| rootio-wgetrootio | See advisory | 1.19.2-1 |
| seal-wgetseal | See advisory | 1.12-10.el6+sp999 |
| wget-langsuse | See advisory | 1.21.1-2.2 |
Patched Releases
Wget
1.19.1, 0:1.14-15.el7_4.1, 1.12-10.el6+sp999, 1.13.4-3+deb7u5, 1.14-12.1, 1.14-15.el7_4.1, 1.14-21.3.1, 1.15-1ubuntu1.14.04.3, 1.15-5.3.mga5, 1.16-1+deb8u4, 1.17.1-1ubuntu1.3, 1.18-3.28.amzn1, 1.18-3.ph1, 1.18-5+deb9u1, 1.18-r2, 1.18-r3, 1.19.1-3.ph2, 1.19.2-1, 1.19.2-1.mga6, 1.19.5-1.ph3, 1.21.1-2.2
rootio-wget
1.19.2-1
seal-wget
1.12-10.el6+sp999
wget-lang
1.21.1-2.2
Timeline
Publicly disclosed
Oct 27, 2017
Last updated
Nov 17, 2026
Weakness Type
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
- CWE-121 Stack-based Buffer Overflow
References
- advisorygithub.com · CVE-2017-13089
- advisorysecurity.alpinelinux.org · CVE-2017-13089
- advisorysecurity-tracker.debian.org · CVE-2017-13089
- advisoryubuntu.com · CVE-2017-13089
- advisorycve.org · CVERecord
FAQ
Common Questions.
The http.c:skip_short_body() function is called in some circumstances, such as when processing redirects.
Affected: Wget (Gnu) versions >= prior to 1.19.2; Debian Linux versions 8.0, 9.0; rootio-wget, among others. The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
No public exploit code is known.
Fixed versions are available, including Wget 1.19.1, Wget 0:1.14-15.el7_4.1, Wget 1.12-10.el6+sp999.
Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Is CVE-2017-13089 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo