CVE-2017-7890

The GIF decoding function gdImageCreateFromGifCtx in gd_gif_in.c in the GD Graphics Library (aka libgd), as used in PHP before 5.6.31 and 7.x before 7.1.7, does not zero colorMap arrays before use. A specially crafted GIF image could use the uninitialized tables to read ~700 bytes from the top of the stack, potentially disclosing sensitive information.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTNIST
6.5 MEDIUM
NETWORK
LOW
NONE
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
mitreCNA
---
---
CVEADP
---
---
Base Score
CVSS 3.x
EPSS Score
Percentile: 87%
VendorProductVersion
phpphp
𝑥
≤ 5.6.30
phpphp
7.0.0
phpphp
7.0.1
phpphp
7.0.2
phpphp
7.0.3
phpphp
7.0.4
phpphp
7.0.5
phpphp
7.0.6
phpphp
7.0.7
phpphp
7.0.8
phpphp
7.0.9
phpphp
7.0.10
phpphp
7.0.11
phpphp
7.0.12
phpphp
7.0.13
phpphp
7.0.14
phpphp
7.0.15
phpphp
7.0.16
phpphp
7.0.17
phpphp
7.0.18
phpphp
7.0.19
phpphp
7.0.20
phpphp
7.1.0
phpphp
7.1.1
phpphp
7.1.2
phpphp
7.1.3
phpphp
7.1.4
phpphp
7.1.5
phpphp
7.1.6
𝑥
= 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
zesty
Fixed 2.2.4-2ubuntu0.2
released
xenial
Fixed 2.1.1-4ubuntu0.16.04.7
released
trusty
Fixed 2.1.0-3ubuntu0.7
released
php5
zesty
dne
xenial
dne
trusty
not-affected
php7.0
zesty
not-affected
xenial
not-affected
trusty
dne
php7.1
zesty
dne
xenial
dne
trusty
dne