p PatchFirst

PatchFirst · Latest vulnerabilities

libgd2 vulnerabilities

Vulnerabilities published for libgd2 in the last 30 days: 0. Listed in the KEV catalogue: 0.

Filter vulnerabilities
Clear filters

Vulnerabilities: 54

  1. CVE-2021-40145

    High · CVSS 7.5EPSS 2.13%Fix available

    CVE-2021-40145

    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.

    • Update to 2.3.3-1
    Published Updated
  2. CVE-2017-6363

    High · CVSS 8.1EPSS 1.4%Fix available

    CVE-2017-6363

    In the GD Graphics Library (aka LibGD) through 2.2.5, there is a heap-based buffer over-read in tiffWriter in gd_tiff.c. NOTE: the vendor says "In my opinion this issue should not have a CVE, since the GD and GD2 formats are documented to be 'obsolete, and should only be used for development and testing purposes.'

    • Update to 2.3.0-1
    Published Updated
  3. CVE-2019-11038

    Low · CVSS 3.1EPSS 4.33%Fix available

    Uninitialized read in gdImageCreateFromXbm

    When using the gdImageCreateFromXbm() function in the GD Graphics Library (aka LibGD) 2.2.5, as used in the PHP GD extension in PHP versions 7.1.x below 7.1.30, 7.2.x below 7.2.19 and 7.3.x below 7.3.6, it is possible to supply data that will cause the function to use the value of uninitialized variable. This may lead to disclosing contents of the stack that has been left there by previous code.

    • Update to 2.2.5-5.2
    Published Updated
  4. CVE-2019-6977

    High · CVSS 8.8EPSS 71.5%Public exploitFix available

    CVE-2019-6977

    gdImageColorMatch in gd_color_match.c in the GD Graphics Library (aka LibGD) 2.2.5, as used in the imagecolormatch function in PHP before 5.6.40, 7.x before 7.1.26, 7.2.x before 7.2.14, and 7.3.x before 7.3.1, has a heap-based buffer overflow. This can be exploited by an attacker who is able to trigger imagecolormatch calls with crafted image data.

    • Update to 2.2.5-5.1
    Published Updated
  5. CVE-2018-1000222

    High · CVSS 8.8EPSS 4.2%Fix available

    CVE-2018-1000222

    Libgd version 2.2.5 contains a Double Free Vulnerability vulnerability in gdImageBmpPtr Function that can result in Remote Code Execution . This attack appear to be exploitable via Specially Crafted Jpeg Image can trigger double free. This vulnerability appears to have been fixed in after commit ac16bdf2d41724b5a65255d4c28fb0ec46bc42f5.

    • Update to 2.2.5-4.1
    Published Updated
  6. CVE-2018-5711

    Medium · CVSS 5.5EPSS 13.2%Fix available

    CVE-2018-5711

    gd_gif_in.c in the GD Graphics Library (aka libgd), as used in PHP before 5.6.33, 7.0.x before 7.0.27, 7.1.x before 7.1.13, and 7.2.x before 7.2.1, has an integer signedness error that leads to an infinite loop via a crafted GIF file, as demonstrated by a call to the imagecreatefromgif or imagecreatefromstring PHP function. This is related to GetCode_ and gdImageCreateFromGifCtx.

    • Update to 2.2.5-4.1
    Published Updated
  7. CVE-2017-7890

    Medium · CVSS 6.5EPSS 3.42%Fix available

    CVE-2017-7890

    The GIF decoding function gdImageCreateFromGifCtx in gd_gif_in.c in the GD Graphics Library (aka libgd), as used in PHP before 5.6.31 and 7.x before 7.1.7, does not zero colorMap arrays before use. A specially crafted GIF image could use the uninitialized tables to read ~700 bytes from the top of the stack, potentially disclosing sensitive information.

    • Update to 2.2.5-1
    Published Updated

Check your server

Check your installed stack and versions against the current vulnerability feeds.

Check your server →