CVE-2016-7126

  • Severity 9.8 CRITICAL
  • Published
  • Updated
  • Status Modified
The imagetruecolortopalette function in ext/gd/gd.c in PHP before 5.6.25 and 7.x before 7.0.10 does not properly validate the number of colors, which allows remote attackers to cause a denial of service (select_colors allocation error and out-of-bounds write) or possibly have unspecified other impact via a large value in the third argument.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
9.8 CRITICAL
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Base Score
CVSS 3.1
EPSS Score
Percentile: 95.32%
Affected Products (NVD)
VendorProductVersion
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
𝑥
≤ 5.6.24
𝑥
= 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
php5
bullseye
unimportant
buster
unimportant
jessie
unimportant
stretch
unimportant
wheezy
unimportant
php7.0
bullseye
unimportant
buster
unimportant
jessie
unimportant
stretch
unimportant
wheezy
unimportant
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
libgd2
precise
not-affected
trusty
not-affected
xenial
not-affected
php5
precise
not-affected
trusty
not-affected
xenial
dne
php7.0
precise
dne
trusty
dne
xenial
not-affected