CVE-2016-7127: PHP
Critical severity, CVSS 9.8. EPSS: 6.8% chance of exploitation in the next 30 days.
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.
Affected products
- PHP PHP: up to and including 5.6.24; version 7.0.0 only; version 7.0.1 only; version 7.0.2 only; version 7.0.3 only; version 7.0.4 only; …
Published 2016-09-12. Last modified 2026-06-17.