CVE-2017-13089 | GNU Wget: stack overflow in HTTP protocol handling

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.

Published: 2017-10-27 Last update: 2026-05-13 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2017-13089 is rated High Risk (75/100): CVSS High severity, with high exploitation likelihood (EPSS 79.86%, 100th percentile). Core evidence: EPSS ranks this CVE among the most likely to be exploited in the near term. EPSS rose +5.81% over the last day, indicating growing attacker interest. Mandatory action: High exploitation likelihood—assess exposure and prioritize remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2017-13089

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-15 74.05% 79.86% +5.81%
2 2026-06-01 75.77% 74.05% -1.72%
3 2026-04-15 75.77%

Full EPSS history (62 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2017-13089

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
8.8 3.0 HIGH
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:R)
A real person has to do something—click, install, enable—otherwise it doesn’t land.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
2.8 5.9 [email protected]
8.8 3.0 HIGH
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:R)
A real person has to do something—click, install, enable—otherwise it doesn’t land.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
2.8 5.9 [email protected]
9.3 2.0 HIGH
AV:N/AC:M/Au:N/C:C/I:C/A:C Click to expand
Access vector (AV:N)
Can be exploited remotely over network reachability.
Access complexity (AC:M)
Exploitation needs some favorable conditions, but not exceptional ones.
Authentication (AU:N)
No authentication is required.
Confidentiality impact (C:C)
Complete confidentiality impact.
Integrity impact (I:C)
Complete integrity impact.
Availability impact (A:C)
Complete availability impact.
8.6 10.0 [email protected]

Weakness enumeration for CVE-2017-13089

OS Trackers for CVE-2017-13089

vendor priority summary link
debian not yet assigned CVE-2017-13089 not yet assigned priority: Debian including 1 source packages (wget), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2017-13089
gentoo normal CVE-2017-13089: 1 GLSA(s) (201711-06), 1 atom(s) (net-misc/wget); latest impact normal. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2017-13089
redhat high https://access.redhat.com/security/cve/CVE-2017-13089
suse high https://www.suse.com/security/cve/CVE-2017-13089/
ubuntu medium CVE-2017-13089 medium priority: Ubuntu including 1 source packages (wget), 5 status rows across 5 suites (artful, trusty, upstream, xenial, zesty): released 4, needs-triage 1. https://ubuntu.com/security/CVE-2017-13089

Affected software / configurations for CVE-2017-13089

Vendor Product Version Raw CPE
gnu wget <= 1.19.1 cpe:2.3:a:gnu:wget:*:*:*:*:*:*:*:*
debian debian_linux 8.0 cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
debian debian_linux 9.0 cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*

References for CVE-2017-13089

URL Tags
http://git.savannah.gnu.org/cgit/wget.git/commit/?id=d892291fb8ace4c3b734ea5125770989c215df3f Issue Tracking Patch Third Party Advisory
http://www.debian.org/security/2017/dsa-4008 Issue Tracking Third Party Advisory
http://www.securityfocus.com/bid/101592 Issue Tracking Third Party Advisory VDB Entry
http://www.securitytracker.com/id/1039661 Issue Tracking Third Party Advisory VDB Entry
https://access.redhat.com/errata/RHSA-2017:3075
https://github.com/r1b/CVE-2017-13089 Issue Tracking Third Party Advisory
https://security.gentoo.org/glsa/201711-06 Issue Tracking Third Party Advisory
https://www.synology.com/support/security/Synology_SA_17_62_Wget
https://www.viestintavirasto.fi/en/cybersecurity/vulnerabilities/2017/haavoittuvuus-2017-037.html Issue Tracking Patch Third Party Advisory
cvelogic Threat Intelligence