CURL-CVE-2021-22945

    Dashboard / Vulnerabilities / CURL-CVE-2021-22945

    CURL-CVE-2021-22945

    Published: 15 Sept 2021Last Modified: 27 May 2026

    Summary: UAF and double free in MQTT sending

    Details: When sending data to an MQTT server, libcurl could in some circumstances erroneously keep a pointer to an already freed memory area and both use that again in a subsequent call to send data and also free it *again*.

    References:

    Affected packages

    Package

    Name:

    Purl:

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 7.73.0
    Fixed -7.79.0

    Affected versions

    7.78.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
    CURL-CVE-2021-22945 | CVE-DB