cvedb.io
CVE-2017-7890
MEDIUM · CVSS 6.5
EPSS exploitation probability: 0%
Published 2017-08-02T19:29:00.897 · Last modified 2026-06-17T01:25:24.390

Summary

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.

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.