Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

Libgd

First CVE: May 18, 2007Active for: 19 yearsTotal CVEs: 39
51.4
VTI Score
TOP TARGET

Libgd is a compact but widely embedded image-processing library that, despite a narrow product footprint, sits deep in the software supply chain of web applications, content management systems, and graphics tools. Vulnerabilities affecting the library skew toward serious outcomes, with a meaningful share reaching critical severity and a moderate tendency to acquire public exploit code. The exposure recurs through memory-safety and input-handling weakness classes—including out-of-bounds reads, buffer-boundary violations, double frees, and integer overflows—that are characteristic of C image parsers and graphics renderers. Defenders should inventory downstream products that link this library rather than tracking the library alone, since remediation typically depends on those applications rebuilding and releasing updates. Current exploitation activity and severity counts are shown alongside this summary.

FAUCET AI Generated
39
Total CVEs
More Total CVEs than 98% of tracked vendors
2.2
Avg CVEs / Product / Year
More Avg CVEs / Product / Year than 89% of tracked vendors
7.2
Avg CVSS Score
Higher Avg CVSS Score than 52% of tracked vendors
0.0%
In CISA KEV
Bottom 1%

Trends Over Time

The number and severity of CVEs published that impact products developed by Libgd over time

Volume of CVEsAvg CVSS Base Score
First CVE
May 18, 2007
19 years ago
Most Recent CVE
Sep 8, 2021
1,780 days ago

Products(2 total)

Top CVEs

Signals from CVEs in this vendor scope (39 CVEs).

39 CVEs · Highest risk first

CVEPublishedCVSSRiskKEVExploit
CVE-2019-6977HIGH
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.
Jan 27, 20198.870NOYES
CVE-2016-3074CRITICAL
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 c
Apr 26, 20169.865NOYES
CVE-2016-10166CRITICAL
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
Mar 15, 20179.835NONO
CVE-2016-7568CRITICAL
Integer overflow in the gdImageWebpCtx function in gd_webp.c in the GD Graphics Library (aka libgd) through 2.2.3, as used in PHP through 7.0.11, allows remote attackers to cause a
Sep 28, 20169.834NONO
CVE-2009-3546HIGH
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 m
Oct 19, 20099.334NONO
CVE-2016-5766HIGH
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.
Aug 7, 20168.831NONO
CVE-2016-5116CRITICAL
gd_xbm.c in the GD Graphics Library (aka libgd) before 2.2.0, as used in certain custom PHP 5.5.x configurations, allows context-dependent attackers to obtain sensitive information
Aug 7, 20169.129NONO
CVE-2018-1000222HIGH
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
Aug 20, 20188.828NONO
CVE-2016-9933HIGH
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,
Jan 4, 20177.528NONO
CVE-2016-10168HIGH
Integer overflow in gd_io.c in the GD Graphics Library (aka libgd) before 2.2.4 allows remote attackers to have unspecified impact via vectors involving the number of horizontal an
Mar 15, 20177.827NONO
View all 39 CVEs →

CVE Severity & Scoring

Severity distribution of CVEs that affect this vendor's products39 CVEs
44%
36%
18%
Severity distribution among all CVEs352,294 CVEs
45%
40%
11%
LowMediumHighCritical
Attack Vector
Local5 (12.8%)
Network27 (69.2%)
Unknown7 (17.9%)
Physical0 (0.0%)
Adjacent Network0 (0.0%)
Attack Complexity
Low32 (82.1%)
High0 (0.0%)
Unknown7 (17.9%)
User Interaction
None14 (35.9%)
Unknown7 (17.9%)
Required18 (46.2%)
Privileges Required
Low0 (0.0%)
High0 (0.0%)
None32 (82.1%)
Unknown7 (17.9%)

Exploit Exposure

Signals from CVEs in this vendor scope (39 CVEs).

CISA KEV
0 CVEs
0.0% of CVEs· Bottom 1%
Metasploit
0 CVEs
0.0% of CVEs· Bottom 1%
Nuclei
0 CVEs
0.0% of CVEs· Bottom 1%
ExploitDB
3 CVEs
7.7% of CVEs· 76th percentile

Social Chatter

An overview of all social media posts that mention a CVE ID that affects a product developed by Libgd.

Media Mentions

Media articles that mention a CVE ID that affects a product developed by Libgd — matched by CVE ID, not by vendor name.

Top CNAs Publishing CVEs For Libgd's Products

View all 4 CNAs →

Top CWEs