ALPINE-CVE-2018-16840

    Dashboard / Vulnerabilities / ALPINE-CVE-2018-16840

    ALPINE-CVE-2018-16840

    Published: 31 Oct 2018Last Modified: 23 Oct 2026
    Upstream:

    Summary:

    Details: 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.

    Affected packages

    Package

    Name: curl

    Purl: pkg:apk/alpine/curl?arch=source

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 7.59.0
    Fixed -7.62.0-r0

    Affected versions

    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