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 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
- bugs.php.net/patch-display.php (Patch, Issue Tracking, Vendor Advisory)
- www.tenable.com/security/tns-2017-12
- www.debian.org/security/2017/dsa-3938 (vendor-advisory)
- access.redhat.com/errata/RHSA-2018:1296 (vendor-advisory)
- php.net/ChangeLog-5.php (Release Notes, Vendor Advisory)
- security.netapp.com/advisory/ntap-20180112-0001/
- www.securityfocus.com/bid/99492 (VDB Entry, Third Party Advisory, vdb-entry)
- php.net/ChangeLog-7.php (Release Notes, Vendor Advisory)
- access.redhat.com/errata/RHSA-2018:0406 (vendor-advisory)
- bugs.php.net/bug.php (Patch, Vendor Advisory)
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.