UBUNTU-CVE-2021-40145

    Dashboard / Vulnerabilities / UBUNTU-CVE-2021-40145

    UBUNTU-CVE-2021-40145

    Published: 26 Aug 2021Last Modified: 22 Apr 2026
    Upstream:
    Aliases:

    Summary:

    Details: gdImageGd2Ptr in gd_gd2.c in the GD Graphics Library (aka LibGD) through 2.3.2 has a double free. NOTE: the vendor's position is "The GD2 image format is a proprietary image format of libgd. It has to be regarded as being obsolete, and should only be used for development and testing purposes.

    Affected packages

    Package

    Name: libgd2

    Purl: pkg:deb/ubuntu/[email protected]+esm2?arch=source&distro=trusty/esm

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -2.1.0-3ubuntu0.11+esm2

    Affected versions

    2.1.0-2
    2.1.0-3
    2.1.0-3ubuntu0.1
    2.1.0-3ubuntu0.2
    2.1.0-3ubuntu0.3
    2.1.0-3ubuntu0.5
    2.1.0-3ubuntu0.6
    2.1.0-3ubuntu0.7
    2.1.0-3ubuntu0.8
    2.1.0-3ubuntu0.10
    2.1.0-3ubuntu0.11
    2.1.0-3ubuntu0.11+esm1

    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
    UBUNTU-CVE-2021-40145 | CVE-DB