HIGH · 8.8

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

Vulnerability Description

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.

CVSS Score

8.8

HIGH

CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH

Affected Products

VendorProductVersions
LibgdLibgd2.2.5
PhpPhp< 5.6.40
DebianDebian Linux8.0
CanonicalUbuntu Linux14.04
NetappStorage Automation StoreAll versions

Related Weaknesses (CWE)

References

FAQ

What is CVE-2019-6977?

CVE-2019-6977 is a vulnerability with a CVSS score of 8.8 (HIGH). 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 befo...

How severe is CVE-2019-6977?

CVE-2019-6977 has been rated HIGH with a CVSS base score of 8.8/10. Review the CVSS metrics above for detailed severity breakdown.

Is there a patch for CVE-2019-6977?

Check the references section above for vendor advisories and patch information. Affected products include: Libgd Libgd, Php Php, Debian Debian Linux, Canonical Ubuntu Linux, Netapp Storage Automation Store.