CVE-2019-6977

High

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.

SeverityHigh
CVSS8.8
Exploit probability—
ProductLibgd
PublishedJan 27, 2019
First seenJan 27, 2019

How to fix

Affected products

ProductAffected versionsFixed in
libgd libgd2.2.5—
php phpv < 5.6.40, 7.0.0 ≤ v < 7.1.26, 7.2.0 ≤ v < 7.2.14, 7.3.05.6.40, 7.1.26, 7.2.14
debian debian_linux8.0, 9.0—
canonical ubuntu_linux14.04, 16.04, 18.04, 18.10—
netapp storage_automation_storeNo range specified—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.