GNU Wget: heap overflow in HTTP protocol handling
Published Oct 27, 2017
8.8
HIGHCVSS 3.0
EPSS 36.56%
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.
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 (51 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 36.56% (0.36563) | 98.45th | v5 (v2026.06.15) |
| Jun 15, 2026 | 36.56% (0.36563) | 98.29th | v5 (v2026.06.15) |
| May 29, 2026 | 9.65% (0.09652) | 93.03th | v4 (v2025.03.14) |
| Mar 4, 2026 | 8.14% (0.08139) | 92.01th | v4 (v2025.03.14) |
| Mar 1, 2026 | 2.53% (0.02526) | 85.23th | v4 (v2025.03.14) |
| Feb 4, 2026 | 8.14% (0.08139) | 91.95th | v4 (v2025.03.14) |
| Feb 1, 2026 | 2.53% (0.02526) | 85.14th | v4 (v2025.03.14) |
| Jan 4, 2026 | 8.14% (0.08139) | 91.90th | v4 (v2025.03.14) |
| Jan 1, 2026 | 2.53% (0.02526) | 85.08th | v4 (v2025.03.14) |
| Dec 25, 2025 | 8.14% (0.08139) | 91.88th | v4 (v2025.03.14) |
| Dec 4, 2025 | 10.66% (0.10658) | 93.02th | v4 (v2025.03.14) |
| Dec 1, 2025 | 2.53% (0.02526) | 85.00th | v4 (v2025.03.14) |
| Nov 6, 2025 | 10.66% (0.10658) | 92.96th | v4 (v2025.03.14) |
| Nov 4, 2025 | 8.67% (0.08667) | 92.06th | v4 (v2025.03.14) |
| Nov 1, 2025 | 2.09% (0.02088) | 83.50th | v4 (v2025.03.14) |
| Oct 4, 2025 | 8.67% (0.08667) | 92.10th | v4 (v2025.03.14) |
| Oct 1, 2025 | 2.09% (0.02088) | 83.45th | v4 (v2025.03.14) |
| Sep 4, 2025 | 8.67% (0.08667) | 92.13th | v4 (v2025.03.14) |
| Sep 1, 2025 | 2.09% (0.02088) | 83.41th | v4 (v2025.03.14) |
| Aug 4, 2025 | 8.67% (0.08667) | 92.06th | v4 (v2025.03.14) |
| Aug 1, 2025 | 2.09% (0.02088) | 83.38th | v4 (v2025.03.14) |
| Jul 5, 2025 | 8.67% (0.08667) | 92.01th | v4 (v2025.03.14) |
| Jul 1, 2025 | 2.09% (0.02088) | 83.29th | v4 (v2025.03.14) |
| Jun 4, 2025 | 8.67% (0.08667) | 91.98th | v4 (v2025.03.14) |
| Jun 1, 2025 | 2.09% (0.02088) | 83.20th | v4 (v2025.03.14) |
| May 4, 2025 | 9.08% (0.09081) | 92.17th | v4 (v2025.03.14) |
| May 1, 2025 | 2.20% (0.02198) | 83.57th | v4 (v2025.03.14) |
| Apr 17, 2025 | 9.08% (0.09081) | 92.14th | v4 (v2025.03.14) |
| Apr 16, 2025 | 2.20% (0.02198) | 83.46th | v4 (v2025.03.14) |
| Apr 15, 2025 | 9.08% (0.09081) | 92.12th | v4 (v2025.03.14) |
| Apr 14, 2025 | 2.20% (0.02198) | 83.04th | v4 (v2025.03.14) |
| Apr 5, 2025 | 9.08% (0.09081) | 91.90th | v4 (v2025.03.14) |
| Apr 4, 2025 | 2.20% (0.02198) | 83.01th | v4 (v2025.03.14) |
| Mar 30, 2025 | 9.08% (0.09081) | 91.86th | v4 (v2025.03.14) |
| Mar 29, 2025 | 15.36% (0.15359) | 91.09th | v4 (v2025.03.14) |
| Mar 17, 2025 | 9.08% (0.09081) | 92.03th | v4 (v2025.03.14) |
| Dec 17, 2024 | 18.87% (0.18865) | 96.24th | v3 (v2023.03.01) |
| Jan 31, 2024 | 39.88% (0.39880) | 96.93th | v3 (v2023.03.01) |
| May 23, 2023 | 47.61% (0.47614) | 96.91th | v3 (v2023.03.01) |
| May 8, 2023 | 60.37% (0.60369) | 97.21th | v3 (v2023.03.01) |
| Apr 29, 2023 | 65.70% (0.65699) | 97.35th | v3 (v2023.03.01) |
| Mar 20, 2023 | 71.77% (0.71766) | 97.48th | v3 (v2023.03.01) |
| Mar 7, 2023 | 77.80% (0.77799) | 97.63th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.18% (0.01183) | 61.76th | v2 (v2022.01.01) |
| Oct 19, 2022 | 1.18% (0.01183) | 60.79th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.18% (0.01183) | 58.77th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.18% (0.01183) | 35.15th | v2 (v2022.01.01) |
| Feb 3, 2022 | 1.86% (0.01865) | 48.06th | v1 |
| Jan 6, 2022 | 1.86% (0.01865) | 47.54th | v1 |
| Sep 1, 2021 | 1.86% (0.01865) | 76.13th | v1 |
| Apr 14, 2021 | 1.86% (0.01865) | 0.00th | v1 |
References (12)
- http://git.savannah.gnu.org/cgit/wget.git/commit/?id=ba6b44f6745b14dce414761a8e4b35d31b176bba 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/101590 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-13090 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1505445 Issue Tracking
- https://nvd.nist.gov/vuln/detail/CVE-2017-13090
- https://security.gentoo.org/glsa/201711-06 vendor-advisoryx_refsource_GENTOOIssue TrackingThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2017-13090
- 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.