{"id":"CVE-2017-9502","aliases":[],"kind":"cve","tier":"cold","status":"published","title":"In curl before 7.54.1 on Windows and DOS, libcurl's default protocol function, which is the logic that allows an applic…","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://\").","ai_summary":null,"severity":"medium","cvss":{"score":5.3,"version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","source":"NVD"},"scores":[{"score":5.3,"version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","source":"nvd"},{"score":5,"version":"2.0","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","source":"nvd"}],"cwe":["CWE-119"],"remote":true,"remote_unauth":true,"epss":{"score":0.03287,"percentile":0.89251,"date":"2026-11-28"},"kev":{"listed":false,"added":null,"due":null,"ransomware":null},"exploit":{"public":false,"exploitdb_ids":[]},"affected":[],"affected_products":[{"vendor":"n/a","product":"n/a","versions":"","source":"nvd"}],"ai_versions":null,"mitigation":"No fix listed yet: follow the vendor advisory.","technologies":[],"references":[{"url":"https://curl.haxx.se/docs/adv_20170614.html","kind":"vendor"},{"url":"http://www.securitytracker.com/id/1038697","kind":"other"},{"url":"http://openwall.com/lists/oss-security/2017/06/14/1","kind":"other"},{"url":"http://www.securityfocus.com/bid/99120","kind":"other"}],"workarounds":null,"vendors":["haxx"],"products":["curl"],"cpes":["cpe:2.3:a:haxx:curl:*:*:*:*:*:*:*:*"],"published_at":"2017-06-14T13:00:00.000Z","modified_at":"2026-06-17T01:28:15.270Z","promoted_at":null,"attribution":[{"source":"CVE Program","text":"CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation.","url":"https://www.cve.org/Legal/TermsOfUse"},{"source":"NVD","text":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-9502"}],"links":{"html":"https://flawdb.com/CVE-2017-9502","markdown":"https://flawdb.com/CVE-2017-9502.md","json":"https://flawdb.com/api/v1/entries/CVE-2017-9502"}}