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.
Subscriptions
Tracking
Sign in to view the affected projects.
Advisories
| Source | ID | Title |
|---|---|---|
Debian DLA |
DLA-1651-1 | libgd2 security update |
Debian DSA |
DSA-4384-1 | libgd2 security update |
Ubuntu USN |
USN-3900-1 | GD vulnerabilities |
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
Sat, 12 Jul 2025 13:45:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
epss
|
epss
|
Status: PUBLISHED
Assigner: mitre
Published:
Updated: 2024-08-04T20:38:32.847Z
Reserved: 2019-01-26T00:00:00.000Z
Link: CVE-2019-6977
No data.
Status : Modified
Published: 2019-01-27T02:29:00.340
Modified: 2024-11-21T04:47:20.960
Link: CVE-2019-6977
OpenCVE Enrichment
No data.
Debian DLA
Debian DSA
Ubuntu USN