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.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published: 2017-08-02T19:00:00

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 : Modified

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

Modified: 2018-05-04T01:29:09.503

Link: CVE-2017-7890

cve-icon Redhat

Severity : Moderate

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

Links: CVE-2017-7890 - Bugzilla