Libgd vulnerabilitiesNone on the known-exploited list.

Vendor
The short answer

Libgd has 39 published vulnerabilities across 2 products in our catalogue. None of them is on the list of flaws known to be exploited today. The most affected product is Libgd, with 34. If you run Libgd software, patch the exploited flaws first.

See the exploited flaws

We keep watching the known-exploited list.

Products

Which Libgd products have the most vulnerabilities?

Libgd leads with 34 published vulnerabilities. Open a product to see its versions and which of its flaws criminals are already using.

  1. Libgd34
  2. Gd Graphics Library5
Published vulnerabilities
Known exploited

Which Libgd vulnerabilities are being exploited?

This is the list that matters most: flaws criminals are using now.

None of Libgd's published vulnerabilities is on the list of flaws known to be exploited today. We keep watching that list.

Exploit likelihood

Which Libgd flaws are most likely to be used?

Ranked by the latest exploit-likelihood forecast: the chance each flaw is used in an attack in the next 30 days. A high severity score on its own doesn't tell you that. Flaws shared by many other makers' products are left out.

50% or more10% to 49%Under 10%
  1. 71%

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

    CVSS8.8Published27 Jan 2019
  2. 37%

    Integer signedness error in GD Graphics Library 2.1.1 (aka libgd or libgd2) allows remote attackers to cause a denial of service (crash) or potentially execute arbitrary code via crafted compressed gd2 data, which...

    CVSS9.8Published26 Apr 2016
  3. 15%

    The GetCode_ function in gd_gif_in.c in GD 2.1.1 and earlier, as used in PHP before 5.5.21 and 5.6.x before 5.6.5, allows remote attackers to cause a denial of service (buffer over-read and application crash) via a...

    CVSS5.0Published30 Mar 2015
  4. 13%

    The gdImageCreateXbm function in the GD Graphics Library (libgd) before 2.0.35 allows user-assisted remote attackers to cause a denial of service (crash) via unspecified vectors involving a gdImageCreate failure.

    CVSS4.3Published28 Jun 2007
  5. 11%

    Integer underflow in the _gdContributionsAlloc function in gd_interpolation.c in the GD Graphics Library (aka libgd) before 2.2.4 allows remote attackers to have unspecified impact via vectors related to decrementing...

    CVSS9.8Published15 Mar 2017
  6. 10%

    The _gdGetColors function in gd_gd.c in PHP 5.2.11 and 5.3.x before 5.3.1, and the GD Graphics Library 2.x, does not properly verify a certain colorsTotal structure member, which might allow remote attackers to...

    CVSS9.3Published19 Oct 2009
  7. 7.5%

    Integer overflow in the _gd2GetHeader function in gd_gd2.c in the GD Graphics Library (aka libgd) before 2.2.3, as used in PHP before 5.5.37, 5.6.x before 5.6.23, and 7.x before 7.0.8, allows remote attackers to...

    CVSS8.8Published7 Aug 2016
  8. 7.3%

    Integer overflow in gdImageCreateTrueColor function in the GD Graphics Library (libgd) before 2.0.35 allows user-assisted remote attackers to have unspecified attack vectors and impact.

    CVSS4.3Published28 Jun 2007
  9. 6.9%

    Stack consumption vulnerability in the gdImageFillToBorder function in gd.c in the GD Graphics Library (aka libgd) before 2.2.2, as used in PHP before 5.6.28 and 7.x before 7.0.13, allows remote attackers to cause a...

    CVSS7.5Published4 Jan 2017
  10. 6.8%

    The gdImageCropThreshold function in gd_crop.c in the GD Graphics Library (aka libgd) before 2.2.3, as used in PHP before 7.0.9, allows remote attackers to cause a denial of service (application crash) via an invalid...

    CVSS7.5Published7 Aug 2016
Every product

All Libgd products we track.

2 products, most vulnerabilities first. Find the ones you run, then open a product to see its versions and exploited flaws.

Precursor Intelligence

Running Libgd? We'll keep checking.

Looking flaws up one at a time doesn't scale. Tell us what you run once, and we tell you which flaws matter to you, in what order, and keep watching for new ones.

  1. Tell us what you runPick your software from a list, or let us work it out from your website.
  2. We match it to every flawOver 400,000 published flaws, checked against your list.
  3. Ranked by real-world riskA 0 to 100 score, led by evidence criminals are using it.
  4. Told as soon as we knowAn alert by email, in the app or by webhook to your own tools.

Free plan, no card needed. Nothing to install.

FAQ

Common questions, answered plainly.

Something else? Talk to the team →

Our catalogue lists 39 published vulnerabilities across 2 products and 64 versions from Libgd.

None of Libgd's vulnerabilities is on the list of flaws known to be exploited today.

Libgd, with 34 published vulnerabilities. Its own page lists the ones known to be exploited.

Create a Precursor Intelligence account and track the Libgd products you run. We match them against every published flaw, give each one a risk score from 0 to 100 and tell you as soon as we spot one that affects you, by email, in the app or by webhook.