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

Published · last modified .

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.

EPSS exploit prediction

EPSS: 0.068 (93.8th percentile), scored .

Low probability of exploitation in the next 30 days, but still tracked. 94th percentile — 93.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2016-7127: held from 0.068 to 0.068.

EPSS over last 30 days · oldest: 0.068 · newest: 0.068 · change: 0.000

Affected products

  • PHP — versions 7.0.0, 7.0.1, 7.0.2

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.