46
CVE-2016-7126
CRITICAL
CVSS 9.8EPSS: 4.6%
Published: 12/09/2016
Modified: 06/05/2026
Exploit Prediction Score (EPSS)4.63% probability of exploitation (89th percentile)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Vendor: php
Product: php
Description
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.
AI Remediation Playbook Pro+
Get step-by-step remediation playbooks with specific commands, verification steps, and rollback procedures.
Upgrade to Pro+AI Attack Path AnalysisPro+
Visualize potential attack chains and lateral movement paths with AI-powered analysis.
AI Risk ForecastingPro+
Predict exploitation likelihood with AI-powered threat intelligence forecasting.
AI Compliance MappingPro+
Map vulnerabilities to compliance frameworks with AI-assisted gap analysis.
Weakness Types (CWE)
MITRE ATT&CK TechniquesThreat Intelligence
How attackers may exploit this vulnerability
References (22)
http://rhn.redhat.com/errata/RHSA-2016-2750.html
Third Party Advisory
http://www.php.net/ChangeLog-5.php
Release Notes
http://www.php.net/ChangeLog-7.php
Release Notes
http://www.securityfocus.com/bid/92755
Third Party AdvisoryVDB Entry
http://www.securitytracker.com/id/1036680
Third Party AdvisoryVDB Entry
https://bugs.php.net/bug.php?id=72697
ExploitIssue Tracking
https://github.com/php/php-src/commit/28022c9b1fd937436ab67bb3d61f652c108baf96
PatchVendor Advisory
https://security.gentoo.org/glsa/201611-22
Third Party Advisory
https://www.tenable.com/security/tns-2016-19
Third Party Advisory
http://rhn.redhat.com/errata/RHSA-2016-2750.html
Third Party Advisory
http://www.php.net/ChangeLog-5.php
Release Notes
http://www.php.net/ChangeLog-7.php
Release Notes
http://www.securityfocus.com/bid/92755
Third Party AdvisoryVDB Entry
http://www.securitytracker.com/id/1036680
Third Party AdvisoryVDB Entry
https://bugs.php.net/bug.php?id=72697
ExploitIssue Tracking
https://github.com/php/php-src/commit/28022c9b1fd937436ab67bb3d61f652c108baf96
PatchVendor Advisory
https://security.gentoo.org/glsa/201611-22
Third Party Advisory
https://www.tenable.com/security/tns-2016-19
Third Party Advisory
Affected Products (11)
cpe:2.3:a:php:php:7.0.0:*:*:*:*:*:*:*
cpe:2.3:a:php:php:7.0.1:*:*:*:*:*:*:*
cpe:2.3:a:php:php:7.0.2:*:*:*:*:*:*:*
cpe:2.3:a:php:php:7.0.3:*:*:*:*:*:*:*
cpe:2.3:a:php:php:7.0.4:*:*:*:*:*:*:*
cpe:2.3:a:php:php:7.0.5:*:*:*:*:*:*:*
cpe:2.3:a:php:php:7.0.6:*:*:*:*:*:*:*
cpe:2.3:a:php:php:7.0.7:*:*:*:*:*:*:*
cpe:2.3:a:php:php:7.0.8:*:*:*:*:*:*:*
cpe:2.3:a:php:php:7.0.9:*:*:*:*:*:*:*
cpe:2.3:a:php:php:*:*:*:*:*:*:*:*