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.
History

No history.

cve-icon MITRE Information

Status: PUBLISHED

Assigner: mitre

Published: 2016-09-12T01:00:00

Updated: 2020-10-13T12:37:04

Reserved: 2016-09-02T00:00:00


Link: CVE-2016-7126

JSON object: View

cve-icon NVD Information

Status : Analyzed

Published: 2016-09-12T01:59:04.723

Modified: 2020-11-16T19:43:04.927


Link: CVE-2016-7126

JSON object: View

cve-icon Redhat Information

No data.

CWE