In curl before 7.54.1 on Windows and DOS, libcurl's default protocol function, which is…
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · None · Low
- Fix status
- No fix listed
Attack profile from CVSS 3.0 · NVD. Fix status from CNA.
Summary
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://").
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
Remediation
No fixed version listed by the sources yet.
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
Not affected: 8 products
- .NET Core 1.0 on Red Hat Enterprise Linux
- .NET Core 1.1 on Red Hat Enterprise Linux
- .NET Core 2.0 on Red Hat Enterprise Linux
- Red Hat Enterprise Linux 5
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Virtualization 3
- Red Hat JBoss Web Server 3
Timeline
- 2026-10-02 Threatist record created from CVE-2017-9502
- 2026-10-03 Alias added: GHSA-2p6v-q44g-p7m7
References
More Haxx Curl vulnerabilities
- TI-2026-16162 Negotiate ambient user conn reuse CVSS 3.1CRITICAL 9.8
- TI-2026-10231 cross-origin Digest auth state leak CVSS 3.1CRITICAL 9.8
- TI-2026-09063 HTTP/2 stream-dependency tree UAF CVSS 3.1CRITICAL 9.8
- TI-2026-07976 stale proxy password leak CVSS 3.1CRITICAL 9.8
- TI-2026-07845 SASL double-free CVSS 3.1CRITICAL 9.8
- TI-2023-12257 Injection in https://github.com/curl/curl CVSS 3.1CRITICAL 9.8
Sources
- CVE-2017-9502 · CVE Program
- CVE-2017-9502 · NVD
- FIRST EPSS
- GHSA-2p6v-q44g-p7m7 · GitHub Advisory Database · CC BY 4.0
- CVE-2017-9502 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences