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.
Metrics
Affected Vendors & Products
References
History
No history.

Status: PUBLISHED
Assigner: mitre
Published:
Updated: 2024-08-06T01:50:47.421Z
Reserved: 2016-09-02T00:00:00
Link: CVE-2016-7126

No data.

Status : Deferred
Published: 2016-09-12T01:59:04.723
Modified: 2025-04-12T10:46:40.837
Link: CVE-2016-7126
