GNU Wget: stack overflow in HTTP protocol handling
Published Oct 27, 2017
8.8
HIGHCVSS 3.0
EPSS 79.86%
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.
Affected products
-
- Version prior to 1.19.2StatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| GNU Project | Wget | n/a |
|
Configuration 2
- 8.0
- 9.0
No data.
Red Hat Enterprise Linux 7
wget-0:1.14-15.el7_4.1
Fixed · RHSA-2017:3075
Red Hat Enterprise Linux 5
wget
Not affected
Red Hat Enterprise Linux 6
wget
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 7 | wget-0:1.14-15.el7_4.1 | Fixed | RHSA-2017:3075 |
| Red Hat Enterprise Linux 5 | wget | Not affected | n/a |
| Red Hat Enterprise Linux 6 | wget | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
This issue affects the versions of wget as shipped with Red Hat Enterprise Linux 7. This issue did not affect the versions of wget as shipped with Red Hat Enterprise Linux 5 and 6.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
1 other source (Red Hat) ▾
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
AV:N/AC:M/Au:N/C:C/I:C/A:C
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (66 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 79.86% (0.79855) | 99.60th | v5 (v2026.06.15) |
| Jun 15, 2026 | 79.86% (0.79855) | 99.56th | v5 (v2026.06.15) |
| Jun 1, 2026 | 74.05% (0.74049) | 98.85th | v4 (v2025.03.14) |
| Mar 17, 2026 | 76.53% (0.76526) | 98.92th | v4 (v2025.03.14) |
| Mar 4, 2026 | 73.11% (0.73113) | 98.76th | v4 (v2025.03.14) |
| Mar 1, 2026 | 51.23% (0.51228) | 97.83th | v4 (v2025.03.14) |
| Feb 4, 2026 | 73.11% (0.73113) | 98.75th | v4 (v2025.03.14) |
| Feb 1, 2026 | 51.23% (0.51228) | 97.81th | v4 (v2025.03.14) |
| Jan 4, 2026 | 73.11% (0.73113) | 98.73th | v4 (v2025.03.14) |
| Jan 1, 2026 | 51.23% (0.51228) | 97.78th | v4 (v2025.03.14) |
| Dec 4, 2025 | 73.11% (0.73113) | 98.72th | v4 (v2025.03.14) |
| Dec 1, 2025 | 51.23% (0.51228) | 97.76th | v4 (v2025.03.14) |
| Nov 6, 2025 | 73.11% (0.73113) | 98.72th | v4 (v2025.03.14) |
| Nov 4, 2025 | 71.46% (0.71458) | 98.66th | v4 (v2025.03.14) |
| Nov 1, 2025 | 48.77% (0.48766) | 97.64th | v4 (v2025.03.14) |
| Oct 4, 2025 | 71.46% (0.71458) | 98.67th | v4 (v2025.03.14) |
| Oct 1, 2025 | 48.77% (0.48766) | 97.69th | v4 (v2025.03.14) |
| Sep 5, 2025 | 71.46% (0.71458) | 98.67th | v4 (v2025.03.14) |
| Sep 1, 2025 | 48.77% (0.48766) | 97.70th | v4 (v2025.03.14) |
| Aug 4, 2025 | 71.46% (0.71458) | 98.65th | v4 (v2025.03.14) |
| Aug 1, 2025 | 48.77% (0.48766) | 97.69th | v4 (v2025.03.14) |
| Jul 19, 2025 | 71.46% (0.71458) | 98.64th | v4 (v2025.03.14) |
| Jul 4, 2025 | 66.63% (0.66629) | 98.43th | v4 (v2025.03.14) |
| Jul 1, 2025 | 48.77% (0.48766) | 97.64th | v4 (v2025.03.14) |
| Jun 4, 2025 | 66.63% (0.66629) | 98.42th | v4 (v2025.03.14) |
| Jun 1, 2025 | 48.77% (0.48766) | 97.63th | v4 (v2025.03.14) |
| May 9, 2025 | 67.51% (0.67507) | 98.45th | v4 (v2025.03.14) |
| May 4, 2025 | 70.09% (0.70090) | 98.56th | v4 (v2025.03.14) |
| May 1, 2025 | 55.70% (0.55704) | 97.93th | v4 (v2025.03.14) |
| Apr 17, 2025 | 70.09% (0.70090) | 98.55th | v4 (v2025.03.14) |
| Apr 16, 2025 | 55.70% (0.55704) | 97.89th | v4 (v2025.03.14) |
| Apr 12, 2025 | 70.09% (0.70090) | 98.58th | v4 (v2025.03.14) |
| Apr 11, 2025 | 55.70% (0.55704) | 97.89th | v4 (v2025.03.14) |
| Apr 8, 2025 | 70.09% (0.70090) | 98.57th | v4 (v2025.03.14) |
| Apr 7, 2025 | 55.70% (0.55704) | 97.89th | v4 (v2025.03.14) |
| Apr 5, 2025 | 70.09% (0.70090) | 98.57th | v4 (v2025.03.14) |
| Apr 4, 2025 | 55.70% (0.55704) | 97.89th | v4 (v2025.03.14) |
| Apr 3, 2025 | 70.09% (0.70090) | 98.57th | v4 (v2025.03.14) |
| Apr 2, 2025 | 55.70% (0.55704) | 97.89th | v4 (v2025.03.14) |
| Mar 31, 2025 | 70.09% (0.70090) | 98.56th | v4 (v2025.03.14) |
| Mar 30, 2025 | 55.70% (0.55704) | 97.88th | v4 (v2025.03.14) |
| Mar 29, 2025 | 77.04% (0.77039) | 98.66th | v4 (v2025.03.14) |
| Mar 28, 2025 | 70.09% (0.70090) | 98.56th | v4 (v2025.03.14) |
| Mar 27, 2025 | 77.04% (0.77039) | 98.88th | v4 (v2025.03.14) |
| Mar 26, 2025 | 73.61% (0.73615) | 98.74th | v4 (v2025.03.14) |
| Mar 25, 2025 | 60.51% (0.60512) | 98.13th | v4 (v2025.03.14) |
| Mar 20, 2025 | 73.61% (0.73615) | 98.76th | v4 (v2025.03.14) |
| Mar 19, 2025 | 77.04% (0.77039) | 98.90th | v4 (v2025.03.14) |
| Mar 17, 2025 | 73.61% (0.73615) | 98.73th | v4 (v2025.03.14) |
| Dec 17, 2024 | 37.35% (0.37352) | 97.21th | v3 (v2023.03.01) |
| Aug 13, 2024 | 64.47% (0.64474) | 97.94th | v3 (v2023.03.01) |
| Aug 10, 2024 | 16.91% (0.16912) | 96.14th | v3 (v2023.03.01) |
| Jan 31, 2024 | 64.47% (0.64474) | 97.60th | v3 (v2023.03.01) |
| Sep 6, 2023 | 70.73% (0.70733) | 97.62th | v3 (v2023.03.01) |
| May 23, 2023 | 67.10% (0.67100) | 97.43th | v3 (v2023.03.01) |
| May 8, 2023 | 76.56% (0.76560) | 97.68th | v3 (v2023.03.01) |
| Apr 29, 2023 | 77.01% (0.77006) | 97.68th | v3 (v2023.03.01) |
| Mar 20, 2023 | 81.26% (0.81261) | 97.77th | v3 (v2023.03.01) |
| Mar 7, 2023 | 83.24% (0.83243) | 97.81th | v3 (v2023.03.01) |
| Mar 6, 2023 | 12.26% (0.12262) | 95.30th | v2 (v2022.01.01) |
| Apr 1, 2022 | 12.26% (0.12262) | 94.93th | v2 (v2022.01.01) |
| Feb 4, 2022 | 12.26% (0.12262) | 89.36th | v2 (v2022.01.01) |
| Feb 3, 2022 | 8.66% (0.08659) | 85.81th | v1 |
| Jan 6, 2022 | 8.66% (0.08659) | 85.64th | v1 |
| Sep 1, 2021 | 8.66% (0.08659) | 92.95th | v1 |
| Apr 14, 2021 | 8.66% (0.08659) | 0.00th | v1 |
References (13)
- http://git.savannah.gnu.org/cgit/wget.git/commit/?id=d892291fb8ace4c3b734ea5125770989c215df3f x_refsource_CONFIRMIssue TrackingPatchThird Party Advisory
- http://www.debian.org/security/2017/dsa-4008 vendor-advisoryx_refsource_DEBIANIssue TrackingThird Party Advisory
- http://www.securityfocus.com/bid/101592 vdb-entryx_refsource_BIDIssue TrackingThird Party AdvisoryVDB Entry
- http://www.securitytracker.com/id/1039661 vdb-entryx_refsource_SECTRACKIssue TrackingThird Party AdvisoryVDB Entry
- https://access.redhat.com/errata/RHSA-2017:3075 vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2017-13089 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1505444 Issue Tracking
- https://github.com/r1b/CVE-2017-13089 x_refsource_MISCIssue TrackingThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2017-13089
- https://security.gentoo.org/glsa/201711-06 vendor-advisoryx_refsource_GENTOOIssue TrackingThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2017-13089
- https://www.synology.com/support/security/Synology_SA_17_62_Wget x_refsource_CONFIRM
- https://www.viestintavirasto.fi/en/cybersecurity/vulnerabilities/2017/haavoittuvuus-2017-037.html x_refsource_MISCIssue TrackingPatchThird Party Advisory
Change history (0)
No recorded changes yet.