CVE-2016-7127: Critical severity php vulnerability

Published 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.

Other sources

Fixed bug (imagegammacorrect allows arbitrary write access). (CVE-2016-7127)

PHP

Affected Software

12 affected componentsFixes available
PHP PHP<=5.6.24
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
PHP PHP<7.0.10
7.0.10

Event History

Sep 12, 2016
CVE Published
via MITRE·01:00 AM
Data Sourced
via MITRE·01:00 AM
Description

Frequently Asked Questions

1

What is the severity of CVE-2016-7127?

CVE-2016-7127 has a medium severity rating due to its potential to cause a denial of service through out-of-bounds writes.

2

How do I fix CVE-2016-7127?

To resolve CVE-2016-7127, upgrade your PHP version to at least 5.6.25 or 7.0.10.

3

Which versions of PHP are affected by CVE-2016-7127?

CVE-2016-7127 affects PHP versions prior to 5.6.25 and 7.x before 7.0.10.

4

What impact does CVE-2016-7127 have on my system?

CVE-2016-7127 can lead to denial of service due to improper handling of gamma values in image processing.

5

Is CVE-2016-7127 a code execution vulnerability?

No, CVE-2016-7127 primarily results in denial of service and does not allow for arbitrary code execution.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203