Vulnerability Details : CVE-2016-7126
Potential exploit
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.
Vulnerability category: Memory CorruptionDenial of service
Products affected by CVE-2016-7126
- cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
- 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.3:*:*:*:*:*:*:*
- cpe:2.3:a:php:php:7.0.4:*:*:*:*:*:*:*
- 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.0:*:*:*:*:*:*:*
- cpe:2.3:a:php:php:7.0.9:*:*:*:*:*:*:*
- cpe:2.3:a:php:php:7.0.7:*:*:*:*:*:*:*
- cpe:2.3:a:php:php:7.0.8:*:*:*:*:*:*:*
Threat overview for CVE-2016-7126
Top countries where our scanners detected CVE-2016-7126
Top open port discovered on systems with this issue
80
IPs affected by CVE-2016-7126 477,938
Threat actors abusing to this issue?
Yes
Find out if you* are
affected by CVE-2016-7126!
*Directly or indirectly through your vendors, service providers and 3rd parties.
Powered by
attack surface intelligence
from SecurityScorecard.
Exploit prediction scoring system (EPSS) score for CVE-2016-7126
9.74%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 92 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2016-7126
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.5
|
HIGH | AV:N/AC:L/Au:N/C:P/I:P/A:P |
10.0
|
6.4
|
NIST | |
9.8
|
CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
3.9
|
5.9
|
NIST |
CWE ids for CVE-2016-7126
-
The product writes data past the end, or before the beginning, of the intended buffer.Assigned by: nvd@nist.gov (Primary)
References for CVE-2016-7126
-
http://www.securityfocus.com/bid/92755
PHP 'ext/gd/gd.c' Heap Based Buffer Overflow VulnerabilityThird Party Advisory;VDB Entry
-
https://security.gentoo.org/glsa/201611-22
PHP: Multiple vulnerabilities (GLSA 201611-22) — Gentoo securityThird Party Advisory
-
http://openwall.com/lists/oss-security/2016/09/02/9
oss-security - Re: CVE assignment for PHP 5.6.25 and 7.0.10 - and libcurlMailing List
-
https://github.com/php/php-src/commit/28022c9b1fd937436ab67bb3d61f652c108baf96
Fix bug#72697 - select_colors write out-of-bounds · php/php-src@28022c9 · GitHubPatch;Vendor Advisory
-
https://github.com/php/php-src/commit/b6f13a5ef9d6280cf984826a5de012a32c396cd4?w=1
Fix bug#72697 - select_colors write out-of-bounds · php/php-src@b6f13a5 · GitHubIssue Tracking;Patch
-
https://www.tenable.com/security/tns-2016-19
[R6] SecurityCenter 5.4.1 Fixes Multiple Vulnerabilities - Security Advisory | Tenable®Third Party Advisory
-
http://www.securitytracker.com/id/1036680
PHP Multiple Flaws Let Remote and Local Users Obtain Potentially Sensitive Information, Deny Service, and Execute Arbitrary Code - SecurityTrackerThird Party Advisory;VDB Entry
-
https://bugs.php.net/bug.php?id=72697
PHP :: Sec Bug #72697 :: select_colors write out-of-boundsExploit;Issue Tracking
-
http://www.php.net/ChangeLog-7.php
PHP: PHP 7 ChangeLogRelease Notes
-
http://www.php.net/ChangeLog-5.php
PHP: PHP 5 ChangeLogRelease Notes
-
http://rhn.redhat.com/errata/RHSA-2016-2750.html
RHSA-2016:2750 - Security Advisory - Red Hat Customer PortalThird Party Advisory
Jump to