--- title: "CVE-2017-13089: GNU Wget: stack overflow in HTTP protocol… | CubePath" 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…" language: en source: https://cubepath.com/security/cve/CVE-2017-13089 --- # CVE-2017-13089: GNU Wget: stack overflow in HTTP protocol… | CubePath ## 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. Official description from the CVE record, published by certcc. Copyright © 1999-2026 The MITRE Corporation. See [/security/cve/legal](https://cubepath.com/security/cve/legal) for the CVE license. [View the record on cve.org](https://www.cve.org/CVERecord?id=CVE-2017-13089) ## Key data ### CVSS 3.0 High 8.8 Score published by certcc in the CVE record. CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | Metric | Value | What it means | | ---------------------- | --------- | ----------------------------------------------------------------------------------- | | Attack vector | Network | The vulnerable component can be reached over a network, possibly from the Internet. | | Attack complexity | Low | No special conditions are needed. The attack can be repeated at will. | | Privileges required | None | No account or privileges are needed. | | User interaction | Required | A user has to do something first, such as opening a file or following a link. | | Scope | Unchanged | The impact stays within the vulnerable component. | | Confidentiality impact | High | Serious or total effect on the secrecy of data. | | Integrity impact | High | Serious or total effect on the trustworthiness of data. | | Availability impact | High | Serious or total effect on availability. | CVSS is owned and managed by FIRST.Org, Inc. (FIRST) and is used by permission. Each CVSS score on this site is shown together with its vector string, as published in the CVE record by the source named next to it. Learn more at [first.org/cvss](https://www.first.org/cvss/) . ### EPSS Exploit Prediction Scoring System by FIRST: an estimate of the probability that exploitation activity will be observed in the next 30 days. Score 0.79855 (79.9% probability) Percentile 99.6% Scores of Nov 10, 2026 Model v2026.06.15 ### Weakness (CWE) CWE catalog version 5.0. CWE names: Copyright © 2006-2026, The MITRE Corporation. See [/security/cve/legal](https://cubepath.com/security/cve/legal) for the CWE license. - [CWE-121](https://cwe.mitre.org/data/definitions/121.html) Stack-based Buffer Overflow ## Affected products Products listed in the CVE record, as the CNA published them. - GNU Project Wget - affected: prior to 1.19.2 ## References Links listed in the CVE record. They lead to other sites, which CubePath does not control. - [viestintavirasto.fi/en/cybersecurity/vulnerabilities/2017/h…](https://www.viestintavirasto.fi/en/cybersecurity/vulnerabilities/2017/haavoittuvuus-2017-037.html) - [GLSA-201711-06](https://security.gentoo.org/glsa/201711-06) (security.gentoo.org) vendor-advisory - [DSA-4008](http://www.debian.org/security/2017/dsa-4008) (debian.org) vendor-advisory - [synology.com/support/security/Synology\_SA\_17\_62\_Wget](https://www.synology.com/support/security/Synology%5FSA%5F17%5F62%5FWget) - [git.savannah.gnu.org/cgit/wget.git/commit/?id=d892291fb8ace…](http://git.savannah.gnu.org/cgit/wget.git/commit/?id=d892291fb8ace4c3b734ea5125770989c215df3f) - [101592](http://www.securityfocus.com/bid/101592) (securityfocus.com) vdb-entry - [github.com/r1b/CVE-2017-13089](https://github.com/r1b/CVE-2017-13089) - [1039661](http://www.securitytracker.com/id/1039661) (securitytracker.com) vdb-entry - [RHSA-2017:3075](https://access.redhat.com/errata/RHSA-2017:3075) (access.redhat.com) vendor-advisory ## Timeline 1. ID reserved Aug 22, 2017 2. Record published Oct 27, 2017 3. Record last updated Sep 17, 2024 ## Look up another CVE ## About CubePath CubePath is a cloud provider with data centers in Europe and the United States. It offers VPS, bare metal servers and DDoS protection. [Cloud VPS](https://cubepath.com/vps) [DDoS protection](https://cubepath.com/ddos-protection) Data from the CVE Program (MITRE), CISA KEV and FIRST EPSS. CVSS is owned by FIRST and used by permission. Not affiliated with or endorsed by MITRE, CISA or FIRST. Data as of Nov 10, 2026, 19:59 UTC. [Sources and licenses](https://cubepath.com/security/cve/legal)