VULNERABILITY INTELLIGENCE

CVE-2016-7126

CVSS score9.8 CRITICAL
EPSS probability8.82%
CISA KEVNot currently listed
Published2016-09-12
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

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.

Weakness classification

  • CWE-787: Out-of-bounds Write

Primary references