9.3

CVE-2017-13090: GNU Wget: heap overflow in HTTP protocol handling

Modified
AliasesALPINE-CVE-2017-13090UBUNTU-CVE-2017-13090DEBIAN-CVE-2017-13090
Published 27-10-2017Last modified 16-09-2024

Vulnerability summary

CVE-2017-13090 is a high (CVSS 9.3) Heap-based Buffer Overflow vulnerability in debian debian_linux. EPSS estimates a 36.56% chance of exploitation in the next 30 days, higher than 98.5% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 8.8, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
9.3/10
010
High · v2.0 (NVD)
EPSS score
36.56%
0%100%
High · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 8 · Related 4

Timeline

  1. 27-10-2017
    PublishedVulnerability first disclosed.
  2. 16-09-2024
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

6 scores · 5 sources · 2 versions

EPSS trend

Probability

36.56%

Chance of exploitation in the next 30 days

Percentile

99%

Versus all other CVEs

30-day change

No change 0.00 pp

From 36.56% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Debian2 products
Alpine1 product
  • wget< 1.19.2-r0 | < 1.18-r2 | < 1.18-r3
Gnu1 product
Gnu project1 product
Ubuntu1 product
  • wget< 1.15-1ubuntu1.14.04.3 | < 1.17.1-1ubuntu1.3

5 vendors · 6 products

References

14 links
Show all 14 references