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.
Advisories
Source ID Title
Debian DSA Debian DSA DSA-3689-1 php5 security update
EUVD EUVD EUVD-2016-8004 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.
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

No history.

Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2024-08-06T01:50:47.421Z

Reserved: 2016-09-02T00:00:00

Link: CVE-2016-7126

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2016-09-12T01:59:04.723

Modified: 2025-04-12T10:46:40.837

Link: CVE-2016-7126

cve-icon Redhat

Severity : Moderate

Publid Date: 2016-09-02T00:00:00Z

Links: CVE-2016-7126 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses