Skip to content
Noroxi
CVE-2017-13089· NVD / CVE Program· CNA certcc

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.

HighCVSS 8.8 · v3.0—Proof of concept Fix available
Published
Oct 27, 2017
Updated
Jun 16, 2026
EPSS
79.9% · 100th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

59

Plan

Add it to your regular patch cycle.

CVSS
35 / 40 · 8.8 / 10
CISA KEV
0 / 30 · Not listed
EPSS
24 / 30 · 79.9%

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.

Affected systems

VendorProduct
gnuwget
debiandebian linux

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

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

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Alpine:v3.4wgetbefore 1.18-r21.18-r2
Alpine:v3.5wgetbefore 1.18-r31.18-r3
Debian:12wgetbefore 1.19.2-11.19.2-1
Debian:7wgetbefore 1.13.4-3+deb7u51.13.4-3+deb7u5
Debian:8wgetbefore 1.16-1+deb8u41.16-1+deb8u4
Debian:9wgetbefore 1.18-5+deb9u11.18-5+deb9u1
openSUSE:Tumbleweedwgetbefore 1.21.1-2.21.21.1-2.2
Red Hat:enterprise_linux:7::clientwgetbefore 0:1.14-15.el7_4.10:1.14-15.el7_4.1
Red Hat:enterprise_linux:7::clientwget-debuginfobefore 0:1.14-15.el7_4.10:1.14-15.el7_4.1
SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2wgetbefore 1.14-21.3.11.14-21.3.1

Same product

gnu: all records

Other highest-scoring records for the same primary product.

  • 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 fi
    49Plan
  • CVE-2017-13090GNU Wget: heap overflow in HTTP protocol handling
    46Plan
  • CVE-2019-5953Buffer overflow in GNU Wget 1.20.1 and earlier allows remote attackers to cause a denial-of-service (DoS) or may execute an arbitrary code v
    41Plan
  • CVE-2024-38428url.c in GNU Wget through 1.24.5 mishandles semicolons in the userinfo subcomponent of a URI, and thus there may be insecure behavior in whi
    36Monitor
  • CVE-2026-58469GNU Wget 1.25.0 Heap Buffer Underread via Metalink URL Parsing
    34Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
alpine:wget1.18-r2 · Alpine:v3.4Package registry (OSV)
debian:wget1.19.2-1 · Debian:12Package registry (OSV)
opensuse:wget1.21.1-2.2 · openSUSE:TumbleweedPackage registry (OSV)
red hat:wget0:1.14-15.el7_4.1 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:wget-debuginfo0:1.14-15.el7_4.1 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
suse:wget1.14-21.3.1 · SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2Package registry (OSV)

Exploit status

Proof of concept available

A public proof of concept or detection signature exists. Exploit knowledge is out there; don't delay patching.

Evidence

  • Proof-of-concept repository on GitHub ×2

Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.

Public exploit evidence
SourceKindDate
Proof-of-concept repository on GitHubstars:522017-10-27
Proof-of-concept repository on GitHubstars:552017-11-15

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.

  1. First PoC-1 d
  2. Published
  3. TodaySep 30, 2026+3260 d
EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

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

CVSS 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.

MITRE has no CAPEC/ATT&CK mapping for this CWE.

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records