CURL-CVE-2018-16840

    Dashboard / Vulnerabilities / CURL-CVE-2018-16840

    CURL-CVE-2018-16840

    Published: 31 Oct 2018Last Modified: 25 Oct 2026

    Summary: use after free in handle close

    Details: libcurl contains a heap use after free flaw in code related to closing an easy handle. When closing and cleaning up an "easy" handle in the `Curl_close()` function, the library code first frees a struct (without clearing the pointer) and might then subsequently erroneously write to a struct field within that already freed struct.

    References:

    Affected packages

    Package

    Name:

    Purl:

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 7.59.0
    Fixed -7.62.0

    Affected versions

    7.61.1
    7.61.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