curl: URL file scheme drive letter buffer overflow
Published Jun 14, 2017
7.8
HIGHCVSS 3.0
EPSS 3.29%
Description
In curl before 7.54.1 on Windows and DOS, libcurl's default protocol function, which is the logic that allows an application to set which protocol libcurl should attempt to use when given a URL without a scheme part, had a flaw that could lead to it overwriting a heap based memory buffer with seven bytes. If the default protocol is specified to be FILE or a file: URL lacks two slashes, the given "URL" starts with a drive letter, and libcurl is built for Windows or DOS, then libcurl would copy the path 7 bytes off, so that the end of the given path would write beyond the malloc buffer (7 bytes being the length in bytes of the ascii string "file://").
Affected products
No data.
No data.
.NET Core 1.0 on Red Hat Enterprise Linux
rh-dotnetcore10-curl
Not affected
.NET Core 1.1 on Red Hat Enterprise Linux
rh-dotnetcore11-curl
Not affected
.NET Core 2.0 on Red Hat Enterprise Linux
rh-dotnet20-curl
Not affected
Red Hat Enterprise Linux 5
curl
Not affected
Red Hat Enterprise Linux 6
curl
Not affected
Red Hat Enterprise Linux 7
curl
Not affected
Red Hat Enterprise Virtualization 3
mingw-virt-viewer
Not affected
Red Hat JBoss Web Server 3
curl
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| .NET Core 1.0 on Red Hat Enterprise Linux | rh-dotnetcore10-curl | Not affected | n/a |
| .NET Core 1.1 on Red Hat Enterprise Linux | rh-dotnetcore11-curl | Not affected | n/a |
| .NET Core 2.0 on Red Hat Enterprise Linux | rh-dotnet20-curl | Not affected | n/a |
| Red Hat Enterprise Linux 5 | curl | Not affected | n/a |
| Red Hat Enterprise Linux 6 | curl | Not affected | n/a |
| Red Hat Enterprise Linux 7 | curl | Not affected | n/a |
| Red Hat Enterprise Virtualization 3 | mingw-virt-viewer | Not affected | n/a |
| Red Hat JBoss Web Server 3 | curl | Not affected | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
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:N/S:U/C:N/I:N/A:L
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:L/Au:N/C:N/I:N/A:P
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 v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v5
Table of values (14 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 3.29% (0.03287) | 88.07th | v5 (v2026.06.15) |
| Jun 15, 2026 | 3.29% (0.03287) | 86.83th | v5 (v2026.06.15) |
| Jul 20, 2024 | 0.22% (0.00218) | 60.24th | v3 (v2023.03.01) |
| Jul 10, 2024 | 0.22% (0.00218) | 60.16th | v3 (v2023.03.01) |
| Mar 30, 2023 | 0.22% (0.00218) | 58.16th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.28% (0.00279) | 63.37th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.02% (0.01018) | 40.69th | v2 (v2022.01.01) |
| Sep 10, 2022 | 1.02% (0.01018) | 38.88th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.02% (0.01018) | 36.86th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.02% (0.01018) | 19.50th | v2 (v2022.01.01) |
| Feb 3, 2022 | 1.04% (0.01040) | 28.32th | v1 |
| Jan 6, 2022 | 1.04% (0.01040) | 27.69th | v1 |
| Sep 1, 2021 | 1.04% (0.01040) | 64.49th | v1 |
| Apr 14, 2021 | 1.04% (0.01040) | 0.00th | v1 |
References (8)
- http://openwall.com/lists/oss-security/2017/06/14/1 x_refsource_CONFIRMMailing ListThird Party Advisory
- http://www.securityfocus.com/bid/99120 vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry
- http://www.securitytracker.com/id/1038697 vdb-entryx_refsource_SECTRACK
- https://access.redhat.com/security/cve/CVE-2017-9502 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1461321 Issue Tracking
- https://curl.haxx.se/docs/adv_20170614.html x_refsource_CONFIRMVendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2017-9502
- https://www.cve.org/CVERecord?id=CVE-2017-9502
| Link | Providers | Tags |
|---|---|---|
| http://openwall.com/lists/oss-security/2017/06/14/1 | x_refsource_CONFIRMMailing ListThird Party Advisory | |
| http://www.securityfocus.com/bid/99120 | vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry | |
| http://www.securitytracker.com/id/1038697 | vdb-entryx_refsource_SECTRACK | |
| https://access.redhat.com/security/cve/CVE-2017-9502 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1461321 | Issue Tracking | |
| https://curl.haxx.se/docs/adv_20170614.html | x_refsource_CONFIRMVendor Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2017-9502 | ||
| https://www.cve.org/CVERecord?id=CVE-2017-9502 |
Change history (0)
No recorded changes yet.