TROYANOSYVIRUS
Back to CVEs

CVE-2016-7126

CRITICAL
9.8

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.

CVE Details

CVSS v3.1 Score9.8
SeverityCRITICAL
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack VectorNETWORK
ComplexityLOW
Privileges RequiredNONE
User InteractionNONE
Published9/12/2016
Last Modified4/12/2025
Sourcenvd
Honeypot Sightings0

Affected Products

php:php

Weaknesses (CWE)

CWE-787

References

http://openwall.com/lists/oss-security/2016/09/02/9(af854a3a-2127-422b-91ae-364da2661108)
http://rhn.redhat.com/errata/RHSA-2016-2750.html(af854a3a-2127-422b-91ae-364da2661108)
http://www.php.net/ChangeLog-5.php(af854a3a-2127-422b-91ae-364da2661108)
http://www.php.net/ChangeLog-7.php(af854a3a-2127-422b-91ae-364da2661108)
http://www.securityfocus.com/bid/92755(af854a3a-2127-422b-91ae-364da2661108)
http://www.securitytracker.com/id/1036680(af854a3a-2127-422b-91ae-364da2661108)
https://bugs.php.net/bug.php?id=72697(af854a3a-2127-422b-91ae-364da2661108)
https://security.gentoo.org/glsa/201611-22(af854a3a-2127-422b-91ae-364da2661108)
https://www.tenable.com/security/tns-2016-19(af854a3a-2127-422b-91ae-364da2661108)

IOC Correlations

No correlations recorded

This product uses data from the NVD API but is not endorsed or certified by the NVD.