peter bassill · operator
$ cve CVE-2019-6977 JSON

CVE-2019-6977 EXPLOIT

8.8
HIGH · CVSS 3.0 · EPSS 71.5% (pctl 99)

Patch early

A public exploit exists.

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.

Scoring

CVSS8.8 (HIGH, v3.0)
VectorCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS71.5% — more likely to be exploited than 99% of all CVEs
WeaknessCWE-787
On CISA KEVno
Public exploityes
Published2019-01-27
Last modified2026-06-17

Affected (5)

VendorProduct
canonicalubuntu linux
debiandebian linux
libgdlibgd
netappstorage automation store
phpphp

Public exploits

SourceTitleDate
exploit-dbPHP 7.2 - 'imagecolormatch()' Out of Band Heap Write2019-02-27

References

→ the Explorer  ·  watch your stack  ·  NVD