CVE-2019-6977

EUVD-2019-16529
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
NISTPrimary
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
Base Score
CVSS 3.x
EPSS Score
Percentile: 99%
Affected Products (NVD)
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
bookworm
2.3.3-9
fixed
bullseye
2.3.0-2
fixed
sid
2.3.3-12
fixed
trixie
2.3.3-12
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
libgd2
bionic
Fixed 2.2.5-4ubuntu0.3
released
cosmic
Fixed 2.2.5-4ubuntu1.1
released
trusty
Fixed 2.1.0-3ubuntu0.11
released
xenial
Fixed 2.1.1-4ubuntu0.16.04.11
released
php5
bionic
dne
cosmic
dne
trusty
not-affected
xenial
dne
php7.0
bionic
dne
cosmic
dne
trusty
dne
xenial
not-affected
php7.2
bionic
not-affected
cosmic
not-affected
trusty
dne
xenial
dne
php7.3
bionic
dne
cosmic
dne
trusty
dne
xenial
dne
References