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

GNU Wget: heap overflow in HTTP protocol handling

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.

HighCVSS 8.8 · v3.0—No exploit Fix available
Published
Oct 27, 2017
Updated
Jun 16, 2026
EPSS
36.6% · 98th 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

46

Plan

Add it to your regular patch cycle.

CVSS
35 / 40 · 8.8 / 10
CISA KEV
0 / 30 · Not listed
EPSS
11 / 30 · 36.6%

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.10wgetbefore 1.19.2-r01.19.2-r0
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-2017-13089GNU Wget: stack overflow in HTTP protocol handling
    59Plan
  • 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-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.19.2-r0 · Alpine:v3.10Package 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

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.

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.

ATT&CK techniques

—

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