cvedb.io
CVE-2016-7126
CRITICAL · CVSS 9.8
EPSS exploitation probability: 0%
Published 2016-09-12T01:59:04.723 · Last modified 2026-06-17T00:52:38.150

Summary

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

php — php

Does this affect you?

Add your gear to cvedb and we'll alert you only when php ships something exploited.

Check my exposure →

References

This product uses data from the NVD API but is not endorsed or certified by the NVD. Informational only; not professional security advice.