CVE Feed

    Dashboard / CVE / CVE-2018-16840

    CVE-2018-16840

    A heap use-after-free flaw was found in curl versions from 7.59.0 through 7.61.1 in the 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 nulling the pointer) and might then subsequently erroneously write to a struct field within that already freed struct.

    Published:Oct 31, 2018
    Last Modified:Apr 16, 2026
    EPS:Oct 31, 2018
    EPSS Score:0.00305
    CVSS Score:9.8

    Affected Products

    Vendor
    Canonical
    Product
    Ubuntu Linux
    Vendor
    Haxx
    Product
    Curl
    Vendor
    Redhat
    Product
    Jboss Core Services

    Exploits

    No exploit reference

    Common Weakness Enumeration

    Common Attack Pattern Enumeration and Classification (CAPEC)

    No CAPEC recorded yet

    Related CVEs

    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