Information disclosure in Php

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.

Vulnerability class: Information Disclosure

EPSS: 0.034 (87.7th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N.

Affected products

  • Php — versions 7.0.0, 7.0.1, 7.0.2
  • N/a — versions n/a

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2017-7890?
CVE-2017-7890 is a medium-severity vulnerability in Php, classified under Information Disclosure. CVSS score: 6.5/10. Published 2017-08-02.
How severe is CVE-2017-7890?
Medium severity. CVSS v3 base score is 6.5 out of 10.