Buffer overflow in Php

CVE-2016-7127

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.

Vulnerability class: Buffer Overflow

EPSS: 0.068 (93.3th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Affected products

  • Php — versions 7.0.0, 7.0.1, 7.0.2
  • N/a — versions n/a

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2016-7127?
CVE-2016-7127 is a critical-severity vulnerability in Php, classified under Out-of-bounds Write. CVSS score: 9.8/10. Published 2016-09-12.
How severe is CVE-2016-7127?
Critical severity. CVSS v3 base score is 9.8 out of 10.