Skip to content
CVE Tracker
Back

CVE-2017-13089

GNU Wget: stack overflow in HTTP protocol handling

High8.8EPSS 79.9%
Published
Updated
Reserved
Assigned by
certcc

Description

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.

Scores

CVSS scores of CVE-2017-13089, by who scored it
Scored byCVSSScoreVector
certccCNA (assigner)3.0High8.8CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVDNVD · Modified3.0High8.8CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS (exploitation in 30 days)
79.9% · top 0.4% of all CVEs (3 Nov 2026)
Loading the EPSS history…

The list uses the assigner's score when there is one, then CISA's, then NVD's: High 8.8.

Weakness

Affected products

References (9)

Sources

The same CVE in the primary databases and aggregators, to check against.

Badge for a README or a ticket

CVE-2017-13089 badge
[![CVE-2017-13089](https://trackcve.app/badge/CVE-2017-13089.svg)](https://trackcve.app/cve/CVE-2017-13089)

Record last updated .