All vulnerabilities

Servers and applications

CVE-2017-7890

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.

Severity
Medium 6.5
Published
2 Aug 2017
Last changed
17 Jun 2026
Added to UpHeron
14 Oct 2026
Sources
NVD

Affected software

SoftwareAffected versions
PHPServers and applications · cpe:a:php:php
  • Version 7.1.6
  • Version 7.1.5
  • Version 7.1.4
  • Version 7.1.3
All 29 release lines
  • Every version up to 5.6.30
  • Version 7.0.0
  • Version 7.0.1
  • Version 7.0.2
  • Version 7.0.3
  • Version 7.0.4
  • Version 7.0.5
  • Version 7.0.6
  • Version 7.0.7
  • Version 7.0.8
  • Version 7.0.9
  • Version 7.0.10
  • Version 7.0.11
  • Version 7.0.12
  • Version 7.0.13
  • Version 7.0.14
  • Version 7.0.15
  • Version 7.0.16
  • Version 7.0.17
  • Version 7.0.18
  • Version 7.0.19
  • Version 7.0.20
  • Version 7.1.0
  • Version 7.1.1
  • Version 7.1.2
  • Version 7.1.3
  • Version 7.1.4
  • Version 7.1.5
  • Version 7.1.6

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2017-7890
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2017-7890