National Vulnerability Database

National Vulnerability Database

National Vulnerability
Database

CVE-2016-7127 Detail

Current Description

The imagegammacorrect function in ext/gd/gd.c in PHP before 5.6.25 and 7.x before 7.0.10 does not properly validate gamma values, which allows remote attackers to cause a denial of service (out-of-bounds write) or possibly have unspecified other impact by providing different signs for the second and third arguments.

Source:  MITRE
View Analysis Description

Impact

CVSS v3.0 Severity and Metrics:

Base Score: 9.8 CRITICAL
Vector: AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (V3.0 legend)
Impact Score: 5.9
Exploitability Score: 3.9


Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope (S): Unchanged
Confidentiality (C): High
Integrity (I): High
Availability (A): High

CVSS v2.0 Severity and Metrics:

Base Score: 7.5 HIGH
Vector: (AV:N/AC:L/Au:N/C:P/I:P/A:P) (V2 legend)
Impact Subscore: 6.4
Exploitability Subscore: 10.0


Access Vector (AV): Network
Access Complexity (AC): Low
Authentication (AU): None
Confidentiality (C): Partial
Integrity (I): Partial
Availability (A): Partial
Additional Information:
Allows unauthorized disclosure of information
Allows unauthorized modification
Allows disruption of service

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to nvd@nist.gov.

Hyperlink Resource
http://openwall.com/lists/oss-security/2016/09/02/9 Mailing List
http://rhn.redhat.com/errata/RHSA-2016-2750.html
http://www.php.net/ChangeLog-5.php Release Notes
http://www.php.net/ChangeLog-7.php Release Notes
http://www.securityfocus.com/bid/92757
http://www.securitytracker.com/id/1036680
https://bugs.php.net/bug.php?id=72730 Exploit Issue Tracking
https://github.com/php/php-src/commit/1bd103df00f49cf4d4ade2cfe3f456ac058a4eae?w=1 Issue Tracking Patch
https://security.gentoo.org/glsa/201611-22
https://www.tenable.com/security/tns-2016-19

Technical Details

Vulnerability Type (View All)

Known Affected Software Configurations Switch to CPE 2.2

Configuration 1 ( hide )
 cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
     Show Matching CPE(s)
Up to (including)
5.6.24

Configuration 2 ( hide )
 cpe:2.3:a:php:php:7.0.0:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:7.0.1:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:7.0.2:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:7.0.3:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:7.0.4:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:7.0.5:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:7.0.6:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:7.0.7:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:7.0.8:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:7.0.9:*:*:*:*:*:*:*
     Show Matching CPE(s)


Change History

7 change records found - show changes

Quick Info

CVE Dictionary Entry:
CVE-2016-7127
NVD Published Date:
09/11/2016
NVD Last Modified:
01/04/2018