The GIF decoding function gdImageCreateFromGifCtx in gd_gif_in.c in the GD Graphics Library (aka libgd), as used in PHP before 5.6.31 and 7.x before 7.1.7, does not zero colorMap arrays before use. A specially crafted GIF image could use the uninitialized tables to read ~700 bytes from the top of the stack, potentially disclosing sensitive information.
Advisories
Source ID Title
Debian DLA Debian DLA DLA-1055-1 libgd2 security update
Debian DSA Debian DSA DSA-3938-1 libgd2 security update
EUVD EUVD EUVD-2017-16862 The GIF decoding function gdImageCreateFromGifCtx in gd_gif_in.c in the GD Graphics Library (aka libgd), as used in PHP before 5.6.31 and 7.x before 7.1.7, does not zero colorMap arrays before use. A specially crafted GIF image could use the uninitialized tables to read ~700 bytes from the top of the stack, potentially disclosing sensitive information.
Ubuntu USN Ubuntu USN USN-3389-1 GD vulnerability
Ubuntu USN Ubuntu USN USN-3389-2 GD vulnerability
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-05T16:19:29.486Z

Reserved: 2017-04-17T00:00:00

Link: CVE-2017-7890

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2017-08-02T19:29:00.897

Modified: 2025-04-20T01:37:25.860

Link: CVE-2017-7890

cve-icon Redhat

Severity : Moderate

Publid Date: 2017-07-10T00:00:00Z

Links: CVE-2017-7890 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses