Read the docs
TI-2017-09727 Aliases CVE-2017-13089GHSA-3737-prh2-4m4p

GNU Wget: stack overflow in HTTP protocol handling

Priority HIGH 78CWE-121Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.0 · CNA. Fix status from CNA and Red Hat. Impact type from CWE-121 and the CVSS impact.

Summary

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.

Why it matters now

EPSS 0.79855 99th percentileScored 2026-11-07
Fix Fixed Wget (GNU Project): 1.19.2Red Hat: 1 advisory

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
GNUWgetbefore 1.19.21.19.2Patch availableCNA
  • Wget VendorGNU Affected before 1.19.2 Fixed in 1.19.2 Patch available CNA

CPE configurations NVD · 3

CPEVersionsRoleVendor
cpe:2.3:a:gnu:wget:*:*:*:*:*:*:*:*up to 1.19.1VulnerableGNU
cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*8.0VulnerableDebian
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*9.0VulnerableDebian
  • cpe:2.3:a:gnu:wget:*:*:*:*:*:*:*:* Versions up to 1.19.1 Vulnerable ·GNU
  • cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* Versions 8.0 Vulnerable ·Debian
  • cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* Versions 9.0 Vulnerable ·Debian

Remediation

  • Fix · CNA Wget (GNU Project) Fixed in 1.19.2

Red Hat 1 advisory

  • RHSA-2017:3075 Released 2017-10-26 · Red Hat rating Important
    wget security update
    • Red Hat Enterprise Linux Client (v. 7) wget-1.14-15.el7_4.1
    • Red Hat Enterprise Linux ComputeNode (v. 7) wget-1.14-15.el7_4.1
    • Red Hat Enterprise Linux Server (v. 7) wget-1.14-15.el7_4.1
    • Red Hat Enterprise Linux Workstation (v. 7) wget-1.14-15.el7_4.1

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Advisory ·

    GNU Project Wget — DSA-4008

    2 records Highest priority Priority HIGH 1 HIGH, 1 MEDIUM

    Other records, highest priority first

    • TI-2017-09728 GNU Wget: heap overflow in HTTP protocol handlingPriority MEDIUM 64
  • Advisory ·

    GNU Project Wget — RHSA-2017:3075

    2 records Highest priority Priority HIGH 1 HIGH, 1 MEDIUM

    Other records, highest priority first

    • TI-2017-09728 GNU Wget: heap overflow in HTTP protocol handlingPriority MEDIUM 64
Show 1 more group
  • Advisory ·

    GNU Project Wget — GLSA-201711-06

    2 records Highest priority Priority HIGH 1 HIGH, 1 MEDIUM

    Other records, highest priority first

    • TI-2017-09728 GNU Wget: heap overflow in HTTP protocol handlingPriority MEDIUM 64

Vendor assessments

Red Hat

Red Hat rating: Important. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux Client (v. 7)Fixed RHSA-2017:3075
Red Hat Enterprise Linux ComputeNode (v. 7)Fixed RHSA-2017:3075
Red Hat Enterprise Linux Server (v. 7)Fixed RHSA-2017:3075
Red Hat Enterprise Linux Workstation (v. 7)Fixed RHSA-2017:3075
Not affected: 2 products
  • Red Hat Enterprise Linux 5
  • Red Hat Enterprise Linux 6

Timeline

  1. 2026-10-02 Threatist record created from CVE-2017-13089
  2. 2026-10-03 Alias added: GHSA-3737-prh2-4m4p

References

  • TI-2016-04293 GNU wget before 1.18 allows remote servers to write to arbitrary files by redirecting a… CVSS 3.1HIGH 8.8
  • TI-2014-04014 Absolute path traversal vulnerability in GNU Wget before 1.16, when recursion is enabled… CVSS 2.0HIGH 9.3
  • TI-2017-09728 GNU Wget: heap overflow in HTTP protocol handling CVSS 3.0HIGH 8.8
  • TI-2019-04244 Out-of-bounds write in GNU Wget CVSS 3.0CRITICAL 9.8
  • TI-2016-06103 Race condition in wget 1.17 and earlier, when used in recursive or mirroring mode to… CVSS 3.0HIGH 8.1
  • TI-2018-00451 Improper input validation in WGet CVSS 3.0MEDIUM 6.5
See all 22 →

Sources