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, 89.1th percentile (scored ); unchanged over 30 days. About EPSS.
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
- DSA-3938 (vendor-advisory)
- 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 (Third Party Advisory, VDB Entry, vdb-entry)
- php.net/ChangeLog-7.php (Release Notes, Vendor Advisory)
- RHSA-2018:0406 (vendor-advisory)
- bugs.php.net/bug.php (Patch, Vendor Advisory)