CVE-2017-13090: GNU Wget: heap overflow in HTTP protocol handling
Noroxi assessment
Priority: Plan (action score 46/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 36.5% (FIRST EPSS); higher than 98.5% of all records.
- Anyone who can reach it over the internet can trigger it. No account or password is required. A user must open a link or visit a page. No special conditions are required; it is repeatable.
- Fixed version: wget (Alpine:v3.10) 1.19.2-r0; wget (Alpine:v3.4) 1.18-r2; wget (Alpine:v3.5) 1.18-r3.
Add it to your regular patch cycle. Upgrade to wget (Alpine:v3.10) 1.19.2-r0; wget (Alpine:v3.4) 1.18-r2; wget (Alpine:v3.5) 1.18-r3 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- Oct 27, 2017
- Updated
- Jun 16, 2026
- EPSS
- 36.5% · 98th percentile
- CWE
- CWE-122
Report tools
Action score
46
Add it to your regular patch cycle.
- CVSS
- 35 / 40 · 8.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 11 / 30 · 36.5%
CNA vs NVD score
- NVD
- 8.8
- CNA · certcc
- 8.8
- agree
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
Versions reported by the vendor
Affected version ranges reported by the assigning authority (certcc). Independent of NVD's CPE analysis and usually ahead of it.
GNU Project Wget
- prior to 1.19.2affected
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- debian debian linux8.0
- debian debian linux9.0
- gnu wgetup to 1.19.1 inclusive
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Alpine:v3.10 | wget | before 1.19.2-r0 | 1.19.2-r0 |
| Alpine:v3.4 | wget | before 1.18-r2 | 1.18-r2 |
| Alpine:v3.5 | wget | before 1.18-r3 | 1.18-r3 |
| Debian:12 | wget | before 1.19.2-1 | 1.19.2-1 |
| Debian:7 | wget | before 1.13.4-3+deb7u5 | 1.13.4-3+deb7u5 |
| Debian:8 | wget | before 1.16-1+deb8u4 | 1.16-1+deb8u4 |
| Debian:9 | wget | before 1.18-5+deb9u1 | 1.18-5+deb9u1 |
| openSUSE:Tumbleweed | wget | before 1.21.1-2.2 | 1.21.1-2.2 |
| Red Hat:enterprise_linux:7::client | wget | before 0:1.14-15.el7_4.1 | 0:1.14-15.el7_4.1 |
| Red Hat:enterprise_linux:7::client | wget-debuginfo | before 0:1.14-15.el7_4.1 | 0:1.14-15.el7_4.1 |
| SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 | wget | before 1.14-21.3.1 | 1.14-21.3.1 |
Same product
gnu: all recordsOther highest-scoring records for the same primary product.
- CVE-2017-13089GNU Wget: stack overflow in HTTP protocol handling59Plan
- CVE-2016-4971GNU wget before 1.18 allows remote servers to write to arbitrary files by redirecting a request from HTTP to a crafted FTP resource.49Plan
- CVE-2014-4877Absolute path traversal vulnerability in GNU Wget before 1.16, when recursion is enabled, allows remote FTP servers to write to arbitrary…49Plan
Published before and after this one in the same product
- ← EarlierCVE-2016-7098Sep 26, 2016 · Race condition in wget 1.17 and earlier, when used in recursive or mirroring mode to download a single file, might allow remote servers to…34Monitor
- ← EarlierCVE-2017-6508Mar 7, 2017 · CRLF injection vulnerability in the url_parse function in url.c in Wget through 1.19.1 allows remote attackers to inject arbitrary HTTP…25Monitor
- Later →CVE-2018-0494May 6, 2018 · 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…31Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| alpine:wget | 1.19.2-r0 · Alpine:v3.10 | Package registry (OSV) |
| debian:wget | 1.19.2-1 · Debian:12 | Package registry (OSV) |
| opensuse:wget | 1.21.1-2.2 · openSUSE:Tumbleweed | Package registry (OSV) |
| red hat:wget | 0:1.14-15.el7_4.1 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:wget-debuginfo | 0:1.14-15.el7_4.1 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| suse:wget | 1.14-21.3.1 · SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
Not on record for this CVE: EPSS history · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- A user must open a link or visit a page.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-122 · Heap-based Buffer OverflowCVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
ATT&CK techniques
—
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (7 more)Show less
- www.debian.org/security/2017/dsa-4008
- www.securityfocus.com/bid/101590
- www.securitytracker.com/id/1039661
- access.redhat.com/errata/RHSA-2017:3075
- security.gentoo.org/glsa/201711-06
- www.synology.com/support/security/Synology_SA_17_62_Wget
- www.viestintavirasto.fi/en/cybersecurity/vulnerabilities/2017/haavoittuvuus-2017-037.html
Vendor advisories and official records. Exploit/PoC links are deliberately left out.