CWE
119
Advisory Published
Updated

CVE-2017-9502: Buffer Overflow

First published: Wed Jun 14 2017(Updated: )

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://").

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
Curl<=7.54.0

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2017-9502?

    CVE-2017-9502 has been assigned a medium severity rating due to the potential for memory corruption leading to application crashes or arbitrary code execution.

  • How do I fix CVE-2017-9502?

    To fix CVE-2017-9502, upgrade to curl version 7.54.1 or later, which includes a patch for the vulnerability.

  • What systems are affected by CVE-2017-9502?

    CVE-2017-9502 affects curl versions prior to 7.54.1 specifically on Windows and DOS platforms.

  • Can CVE-2017-9502 be exploited remotely?

    Yes, CVE-2017-9502 can potentially be exploited remotely if an attacker crafts a URL that triggers the vulnerability.

  • What is the impact of CVE-2017-9502?

    The impact of CVE-2017-9502 includes possible memory corruption which could lead to crashes or execution of malicious code in affected applications.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203