CURL-CVE-2016-9953

    Dashboard / Vulnerabilities / CURL-CVE-2016-9953

    CURL-CVE-2016-9953

    Published: 21 Dec 2016Last Modified: 27 May 2026
    Aliases:

    Summary: Win CE Schannel cert name out of buffer read

    Details: curl's TLS server certificate checks are flawed on Windows CE. This vulnerability occurs in the verify certificate function when comparing a wildcard certificate name (as returned by the Windows API function `CertGetNameString()` to the hostname used to make the connection to the server. The pattern matching logic exhibits an out of bounds read. If the wildcard certificate name field is longer than the connection hostname, the wildcard comparison code performs an access out of bounds of the connection hostname heap based buffer. This issue could technically leak the contents of memory immediately preceding the connection hostname buffer, a crash or at worst happen to match against another piece of data.

    References:

    Affected packages

    Package

    Name:

    Purl:

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 7.27.0
    Fixed -7.52.0

    Affected versions

    7.51.0

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High