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.
References
Configurations
Configuration 1 (hide)
|
Configuration 2 (hide)
|
History
No history.
Information
Published : 2016-09-12 01:59
Updated : 2025-04-12 10:46
NVD link : CVE-2016-7126
Mitre link : CVE-2016-7126
CVE.ORG link : CVE-2016-7126
JSON object : View
Products Affected
php
- php
CWE
CWE-787
Out-of-bounds Write