CVE-2016-7126
CRITICALPHP < 5.6.25 and 7.x < 7.0.10 - Out-of-bounds Write via imagetruecolortopalette
Title source: llmDescription
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.
References (11)
Core 11
Core References
Release Notes x_refsource_confirm
http://www.php.net/ChangeLog-7.php
Third Party Advisory vendor-advisory
x_refsource_gentoo
https://security.gentoo.org/glsa/201611-22
Third Party Advisory, VDB Entry vdb-entry
x_refsource_sectrack
http://www.securitytracker.com/id/1036680
Issue Tracking, Patch x_refsource_confirm
https://github.com/php/php-src/commit/b6f13a5ef9d6280cf984826a5de012a32c396cd4?w=1
Third Party Advisory vendor-advisory
x_refsource_redhat
http://rhn.redhat.com/errata/RHSA-2016-2750.html
Third Party Advisory, VDB Entry vdb-entry
x_refsource_bid
http://www.securityfocus.com/bid/92755
Release Notes x_refsource_confirm
http://www.php.net/ChangeLog-5.php
Third Party Advisory x_refsource_confirm
https://www.tenable.com/security/tns-2016-19
Mailing List mailing-list
x_refsource_mlist
http://openwall.com/lists/oss-security/2016/09/02/9
Exploit, Issue Tracking x_refsource_confirm
https://bugs.php.net/bug.php?id=72697
Patch, Vendor Advisory x_refsource_confirm
https://github.com/php/php-src/commit/28022c9b1fd937436ab67bb3d61f652c108baf96
Scores
CVSS v3
9.8
EPSS
0.0463
EPSS Percentile
89.4%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Details
CWE
CWE-787
Status
published
Products (11)
php/php
7.0.0
php/php
7.0.1
php/php
7.0.2
php/php
7.0.3
php/php
7.0.4
php/php
7.0.5
php/php
7.0.6
php/php
7.0.7
php/php
7.0.8
php/php
7.0.9
... and 1 more
Published
Sep 12, 2016
Tracked Since
Feb 18, 2026