CVE catalog

CVE-2017-13089

wget: CVE-2017-13089

[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
79.86% · Oct 25, 2026

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.

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.41.18-r2fixed
Alpinewget3.51.18-r3fixed
Susewgetlinux enterprise server for raspberry pi 12 sp21.14-21.3.1fixed
Susewgetopenstack cloud 61.14-21.3.1fixed
Susewgetlinux enterprise desktop 12 sp21.14-21.3.1fixed
Susewgetlinux enterprise desktop 12 sp31.14-21.3.1fixed
Susewgetlinux enterprise server for sap applications 12 sp11.14-21.3.1fixed
Susewgetlinux enterprise server 12-ltss1.14-21.3.1fixed
Susewgetlinux enterprise server 12 sp1-ltss1.14-21.3.1fixed
Susewgetlinux enterprise server 12 sp21.14-21.3.1fixed
Susewgetlinux enterprise server for sap applications 12 sp21.14-21.3.1fixed
Susewgetlinux enterprise server 12 sp31.14-21.3.1fixed
Susewgetlinux enterprise server for sap applications 12 sp31.14-21.3.1fixed
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.41.18-r2Not reportedALPINE-CVE-2017-13089Not reported
Alpinewgetapk3.51.18-r3Not reportedALPINE-CVE-2017-13089Not reported
Susewgetrpmlinux enterprise server for raspberry pi 12 sp21.14-21.3.1Not reportedSUSE-SU-2017:2871-1Not reported
Susewgetrpmopenstack cloud 61.14-21.3.1Not reportedSUSE-SU-2017:2871-2Not reported
Susewgetrpmlinux enterprise desktop 12 sp21.14-21.3.1Not reportedSUSE-SU-2017:2871-2Not reported
Susewgetrpmlinux enterprise desktop 12 sp31.14-21.3.1Not reportedSUSE-SU-2017:2871-2Not reported
Susewgetrpmlinux enterprise server for sap applications 12 sp11.14-21.3.1Not reportedSUSE-SU-2017:2871-2Not reported
Susewgetrpmlinux enterprise server 12-ltss1.14-21.3.1Not reportedSUSE-SU-2017:2871-2Not reported
Susewgetrpmlinux enterprise server 12 sp1-ltss1.14-21.3.1Not reportedSUSE-SU-2017:2871-2Not reported
Susewgetrpmlinux enterprise server 12 sp21.14-21.3.1Not reportedSUSE-SU-2017:2871-2Not reported
Susewgetrpmlinux enterprise server for sap applications 12 sp21.14-21.3.1Not reportedSUSE-SU-2017:2871-2Not reported
Susewgetrpmlinux enterprise server 12 sp31.14-21.3.1Not reportedSUSE-SU-2017:2871-2Not reported
Susewgetrpmlinux enterprise server for sap applications 12 sp31.14-21.3.1Not reportedSUSE-SU-2017:2871-2Not reported
Ubuntuwgetdeb14.041.15-1ubuntu1.14.04.3Not reportedUBUNTU-CVE-2017-13089Not reported
Ubuntuwgetdeb16.041.17.1-1ubuntu1.3Not reportedUBUNTU-CVE-2017-13089Not 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