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 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.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTNIST
8.8 HIGH
NETWORK
LOW
NONE
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
mitreCNA
---
---
CVEADP
---
---
Base Score
CVSS 3.x
EPSS Score
Percentile: 99%
VendorProductVersion
libgdlibgd
2.2.5
phpphp
𝑥
< 5.6.40
phpphp
7.0.0 ≤
𝑥
< 7.1.26
phpphp
7.2.0 ≤
𝑥
< 7.2.14
phpphp
7.3.0
debiandebian_linux
8.0
debiandebian_linux
9.0
canonicalubuntu_linux
14.04
canonicalubuntu_linux
16.04
canonicalubuntu_linux
18.04
canonicalubuntu_linux
18.10
netappstorage_automation_store
*
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
libgd2
bullseye
2.3.0-2
fixed
bookworm
2.3.3-9
fixed
sid
2.3.3-12
fixed
trixie
2.3.3-12
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
libgd2
cosmic
Fixed 2.2.5-4ubuntu1.1
released
bionic
Fixed 2.2.5-4ubuntu0.3
released
xenial
Fixed 2.1.1-4ubuntu0.16.04.11
released
trusty
Fixed 2.1.0-3ubuntu0.11
released
php5
cosmic
dne
bionic
dne
xenial
dne
trusty
not-affected
php7.0
cosmic
dne
bionic
dne
xenial
not-affected
trusty
dne
php7.2
cosmic
not-affected
bionic
not-affected
xenial
dne
trusty
dne
php7.3
cosmic
dne
bionic
dne
xenial
dne
trusty
dne
References