cve/2016/CVE-2016-7126.md

19 lines
847 B
Markdown
Raw Normal View History

2024-05-26 14:27:05 +02:00
### [CVE-2016-7126](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-7126)
![](https://img.shields.io/static/v1?label=Product&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brighgreen)
### 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.
### POC
#### Reference
- https://bugs.php.net/bug.php?id=72697
- https://www.tenable.com/security/tns-2016-19
#### Github
No PoCs found on GitHub currently.