VULNERABILITY INTELLIGENCE
CVE-2016-7126
CVSS score9.8 CRITICAL
EPSS probability8.82%
CISA KEVNot currently listed
Published2016-09-12
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Description
The imagetruecolortopalette function in ext/gd/gd.c in PHP before 5.6.25 and 7.x before 7.0.10 does not properly validate the number of colors, which allows remote attackers to cause a denial of service (select_colors allocation error and out-of-bounds write) or possibly have unspecified other impact via a large value in the third argument.
Weakness classification
- CWE-787: Out-of-bounds Write
Primary references
- cve@mitre.org — Mailing List
- cve@mitre.org — Third Party Advisory
- cve@mitre.org — Release Notes
- cve@mitre.org — Release Notes
- cve@mitre.org — Third Party Advisory, VDB Entry
- cve@mitre.org — Third Party Advisory, VDB Entry
- cve@mitre.org — Exploit, Issue Tracking
- cve@mitre.org — Patch, Vendor Advisory
- cve@mitre.org — Issue Tracking, Patch
- cve@mitre.org — Third Party Advisory
- cve@mitre.org — Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Mailing List