CVE-2016-7126

Source
https://cve.org/CVERecord?id=CVE-2016-7126
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2016-7126.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2016-7126
Downstream
Related
Published
2016-09-12T01:59:04.723Z
Modified
2026-05-16T12:00:58.235642346Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages