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

Published · last modified .

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.

EPSS exploit prediction

EPSS: 0.034 (88.5th percentile), scored .

Low probability of exploitation in the next 30 days, but still tracked. 88th percentile — 88.5% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2017-7890: held from 0.034 to 0.034.

EPSS over last 30 days · oldest: 0.034 · newest: 0.034 · change: 0.000

Affected products

  • PHP — versions 7.0.0, 7.0.1, 7.0.2

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.