Vulnerability Monitor

The vendors, products, and vulnerabilities you care about

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 service (select_colors allocation error and out-of-bounds write) or possibly have unspecified other impact via a large value in the third argument.


Published

2016-09-12T01:59:04.723

Last Modified

2025-04-12T10:46:40.837

Status

Deferred

Source

[email protected]

Severity

CVSSv3.1: 9.8 (CRITICAL)

CVSSv2 Vector

AV:N/AC:L/Au:N/C:P/I:P/A:P

  • Access Vector: NETWORK
  • Access Complexity: LOW
  • Authentication: NONE
  • Confidentiality Impact: PARTIAL
  • Integrity Impact: PARTIAL
  • Availability Impact: PARTIAL
Exploitability Score

10.0

Impact Score

6.4

Weaknesses
  • Type: Primary
    CWE-787

Affected Vendors & Products
Type Vendor Product Version/Range Vulnerable?
Application php php 7.0.0 Yes
Application php php 7.0.1 Yes
Application php php 7.0.2 Yes
Application php php 7.0.3 Yes
Application php php 7.0.4 Yes
Application php php 7.0.5 Yes
Application php php 7.0.6 Yes
Application php php 7.0.7 Yes
Application php php 7.0.8 Yes
Application php php 7.0.9 Yes
Application php php ≤ 5.6.24 Yes

References