CURL-CVE-2016-8624

    Dashboard / Vulnerabilities / CURL-CVE-2016-8624

    CURL-CVE-2016-8624

    Published: 2 Nov 2016Last Modified: 25 Oct 2026
    Aliases:

    Summary: invalid URL parsing with '#'

    Details: curl does not parse the authority component of the URL correctly when the host name part ends with a hash (`#`) character, and could instead be tricked into connecting to a different host. This may have security implications if you for example use a URL parser that follows the RFC to check for allowed domains before using curl to request them. Passing in `http://example.com#@evil.com/x.txt` would wrongly make curl send a request to evil.com while your browser would connect to example.com given the same URL. The problem exists for most protocol schemes.

    References:

    Affected packages

    Package

    Name:

    Purl:

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 6.0
    Fixed -7.51.0

    Affected versions

    7.50.3
    7.50.2
    7.50.1
    7.50.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