CVE catalog

CVE-2017-13090

wget: CVE-2017-13090

[CVE catalog]

Severity
High · CVSS 8.8CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Published
Source
[NVD] · [CVE record]
EPSS
36.56% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianwgetsid1.25.0-3fixed
Debianwgetforky1.25.0-3fixed
Debianwgettrixie1.25.0-2fixed
Debianwgetbookworm1.21.3-1+deb12u1fixed
Alpinewget3.101.19.2-r0fixed
Alpinewget3.111.19.2-r0fixed
Alpinewget3.121.19.2-r0fixed
Alpinewget3.131.19.2-r0fixed
Alpinewget3.141.19.2-r0fixed
Alpinewget3.151.19.2-r0fixed
Alpinewget3.161.19.2-r0fixed
Alpinewget3.171.19.2-r0fixed
Alpinewget3.181.19.2-r0fixed
Alpinewget3.191.19.2-r0fixed
Alpinewget3.201.19.2-r0fixed
Alpinewget3.211.19.2-r0fixed
Alpinewget3.221.19.2-r0fixed
Alpinewget3.231.19.2-r0fixed
Alpinewget3.241.19.2-r0fixed
Alpinewget3.41.18-r2fixed
Alpinewget3.51.18-r3fixed
Alpinewget3.61.19.2-r0fixed
Alpinewget3.71.19.2-r0fixed
Alpinewget3.81.19.2-r0fixed
Alpinewget3.91.19.2-r0fixed
Ubuntuwget14.041.14-2ubuntu1vulnerable
Ubuntuwget14.041.14-5ubuntu1vulnerable
Ubuntuwget14.041.15-1ubuntu1vulnerable
Ubuntuwget14.041.15-1ubuntu1.14.04.1vulnerable
Ubuntuwget14.041.15-1ubuntu1.14.04.2vulnerable
Ubuntuwget14.041.15-1ubuntu1.14.04.3fixed
Ubuntuwget16.041.16.1-1ubuntu1vulnerable
Ubuntuwget16.041.17.1-1ubuntu1vulnerable
Ubuntuwget16.041.17.1-1ubuntu1.1vulnerable
Ubuntuwget16.041.17.1-1ubuntu1.2vulnerable
Ubuntuwget16.041.17.1-1ubuntu1.3fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianwgetsourcesid1.19.2-1not yet assignedNot reported[879957]
Debianwgetsourceforky1.19.2-1not yet assignedNot reported[879957]
Debianwgetsourcetrixie1.19.2-1not yet assignedNot reported[879957]
Debianwgetsourcebookworm1.19.2-1not yet assignedNot reported[879957]
Alpinewgetapk3.101.19.2-r0Not reportedALPINE-CVE-2017-13090Not reported
Alpinewgetapk3.111.19.2-r0Not reportedALPINE-CVE-2017-13090Not reported
Alpinewgetapk3.121.19.2-r0Not reportedALPINE-CVE-2017-13090Not reported
Alpinewgetapk3.131.19.2-r0Not reportedALPINE-CVE-2017-13090Not reported
Alpinewgetapk3.141.19.2-r0Not reportedALPINE-CVE-2017-13090Not reported
Alpinewgetapk3.151.19.2-r0Not reportedALPINE-CVE-2017-13090Not reported
Alpinewgetapk3.161.19.2-r0Not reportedALPINE-CVE-2017-13090Not reported
Alpinewgetapk3.171.19.2-r0Not reportedALPINE-CVE-2017-13090Not reported
Alpinewgetapk3.181.19.2-r0Not reportedALPINE-CVE-2017-13090Not reported
Alpinewgetapk3.191.19.2-r0Not reportedALPINE-CVE-2017-13090Not reported
Alpinewgetapk3.201.19.2-r0Not reportedALPINE-CVE-2017-13090Not reported
Alpinewgetapk3.211.19.2-r0Not reportedALPINE-CVE-2017-13090Not reported
Alpinewgetapk3.221.19.2-r0Not reportedALPINE-CVE-2017-13090Not reported
Alpinewgetapk3.231.19.2-r0Not reportedALPINE-CVE-2017-13090Not reported
Alpinewgetapk3.241.19.2-r0Not reportedALPINE-CVE-2017-13090Not reported
Alpinewgetapk3.41.18-r2Not reportedALPINE-CVE-2017-13090Not reported
Alpinewgetapk3.51.18-r3Not reportedALPINE-CVE-2017-13090Not reported
Alpinewgetapk3.61.19.2-r0Not reportedALPINE-CVE-2017-13090Not reported
Alpinewgetapk3.71.19.2-r0Not reportedALPINE-CVE-2017-13090Not reported
Alpinewgetapk3.81.19.2-r0Not reportedALPINE-CVE-2017-13090Not reported
Alpinewgetapk3.91.19.2-r0Not reportedALPINE-CVE-2017-13090Not reported
Ubuntuwgetdeb14.041.15-1ubuntu1.14.04.3Not reportedUBUNTU-CVE-2017-13090Not reported
Ubuntuwgetdeb16.041.17.1-1ubuntu1.3Not reportedUBUNTU-CVE-2017-13090Not reported

[Debian bug #879957]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [wget]Fixed
    Details (2)
    • 1.21.3-1+deb12u1 · amd64 · bookworm

      Fixed · Fixed: 1.19.2-1

      dsa · wget · debian · bookworm; dsa · wget · debian · 12

    • 1.21.3-1+deb12u1 · arm64 · bookworm

      Fixed · Fixed: 1.19.2-1

      dsa · wget · debian · bookworm; dsa · wget · debian · 12

[Debian 13 (Trixie)]

  • [wget]Fixed
    Details (2)
    • 1.25.0-2 · amd64 · trixie

      Fixed · Fixed: 1.19.2-1

      dsa · wget · debian · 13

    • 1.25.0-2 · arm64 · trixie

      Fixed · Fixed: 1.19.2-1

      dsa · wget · debian · 13

Observed:

References