First published: Mon Sep 12 2016(Updated: )
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.
Credit: cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
PHP | <7.0.10 | 7.0.10 |
PHP | <=5.6.24 | |
PHP | =7.0.0 | |
PHP | =7.0.1 | |
PHP | =7.0.2 | |
PHP | =7.0.3 | |
PHP | =7.0.4 | |
PHP | =7.0.5 | |
PHP | =7.0.6 | |
PHP | =7.0.7 | |
PHP | =7.0.8 | |
PHP | =7.0.9 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2016-7127 has a medium severity rating due to its potential to cause a denial of service through out-of-bounds writes.
To resolve CVE-2016-7127, upgrade your PHP version to at least 5.6.25 or 7.0.10.
CVE-2016-7127 affects PHP versions prior to 5.6.25 and 7.x before 7.0.10.
CVE-2016-7127 can lead to denial of service due to improper handling of gamma values in image processing.
No, CVE-2016-7127 primarily results in denial of service and does not allow for arbitrary code execution.