CVE-2016-7126
Published Sep 12, 2016
Last updated 4 years ago
Overview
- 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.
- Source
- cve@mitre.org
- NVD status
- Analyzed
Risk scores
CVSS 3.1
- Type
- Primary
- Base score
- 9.8
- Impact score
- 5.9
- Exploitability score
- 3.9
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Severity
- CRITICAL
CVSS 2.0
- Type
- Primary
- Base score
- 7.5
- Impact score
- 6.4
- Exploitability score
- 10
- Vector string
- AV:N/AC:L/Au:N/C:P/I:P/A:P
Weaknesses
- nvd@nist.gov
- CWE-787
Social media
- Hype score
- Not currently trending
Configurations
[ { "nodes": [ { "negate": false, "cpeMatch": [ { "criteria": "cpe:2.3:a:php:php:7.0.0:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "DB6890AF-8A0A-46EE-AAD5-CF9AAE14A321" }, { "criteria": "cpe:2.3:a:php:php:7.0.1:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "6B90B947-7B54-47F3-9637-2F4AC44079EE" }, { "criteria": "cpe:2.3:a:php:php:7.0.2:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "35848414-BD5D-4164-84DC-61ABBB1C4152" }, { "criteria": "cpe:2.3:a:php:php:7.0.3:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "2B1F8402-8551-4F66-A9A7-81D472AB058E" }, { "criteria": "cpe:2.3:a:php:php:7.0.4:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "7A773E8E-48CD-4D35-A0FD-629BD9334486" }, { "criteria": "cpe:2.3:a:php:php:7.0.5:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "FC492340-79AF-4676-A161-079A97EC6F0C" }, { "criteria": "cpe:2.3:a:php:php:7.0.6:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "F1C2D8FE-C380-4B43-B634-A3DBA4700A71" }, { "criteria": "cpe:2.3:a:php:php:7.0.7:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "3EB58393-0C10-413C-8D95-6BAA8BC19A1B" }, { "criteria": "cpe:2.3:a:php:php:7.0.8:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "751F51CA-9D88-4971-A6EC-8C0B72E8E22B" }, { "criteria": "cpe:2.3:a:php:php:7.0.9:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "37B74118-8FC2-44CB-9673-A83DF777B2E6" } ], "operator": "OR" } ] }, { "nodes": [ { "negate": false, "cpeMatch": [ { "criteria": "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "B6862C7D-F8A4-46E5-AAD4-72C29AB4FB3A", "versionEndIncluding": "5.6.24" } ], "operator": "OR" } ] } ]