Live threats

All CVEs / Php

CVE-2016-7127Php

Critical 9.8 No auth needed

Priority
74
CVSS 3.0
9.8
EPSS
6.8%
probability of exploitation in 30 days · percentile 95
Auth required
No
Published
Sep 12, 2016
Updated
Jun 17, 2026
Category
Web application · Cross-platform
Weakness (CWE)
CWE-787
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Php.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
phpphp≤ 5.6.24
phpphp7.0.0
phpphp7.0.1
phpphp7.0.2
phpphp7.0.3
phpphp7.0.4
phpphp7.0.5
phpphp7.0.6
phpphp7.0.7
phpphp7.0.8
phpphp7.0.9

Official sources

References

Links published by the sources. Open them with care.