CVE-2016-7126 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 servi...
CriticalCVSS 9.8
EPSS 8.8%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| PHP | = 7.0.0 | No fix listed |
| PHP | = 7.0.1 | No fix listed |
| PHP | = 7.0.2 | No fix listed |
| PHP | = 7.0.3 | No fix listed |
| PHP | = 7.0.4 | No fix listed |
| PHP | = 7.0.5 | No fix listed |
| PHP | = 7.0.6 | No fix listed |
| PHP | = 7.0.7 | No fix listed |
| PHP | = 7.0.8 | No fix listed |
| PHP | = 7.0.9 | No fix listed |
| PHP | <= 5.6.24 | No fix listed |
References
- [oss-security] 20160902 Re: CVE assignment for PHP 5.6.25 and 7.0.10 - and libcurl mailing-list
- RHSA-2016:2750 third-party-advisory vendor-advisory
- www.php.net release-notes
- www.php.net release-notes
- 92755 third-party-advisory vdb-entry
- 1036680 third-party-advisory vdb-entry
- bugs.php.net exploit issue-tracking
- github.com patch vendor-advisory
- github.com issue-tracking patch
- GLSA-201611-22 third-party-advisory vendor-advisory
- www.tenable.com third-party-advisory
- Debian Security Tracker CVE-2016-7126 vendor-advisory