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.
References
Link | Resource |
---|---|
http://php.net/ChangeLog-5.php | Release Notes Vendor Advisory |
http://php.net/ChangeLog-7.php | Release Notes Vendor Advisory |
http://www.debian.org/security/2017/dsa-3938 | |
http://www.securityfocus.com/bid/99492 | Third Party Advisory VDB Entry |
https://access.redhat.com/errata/RHSA-2018:0406 | |
https://access.redhat.com/errata/RHSA-2018:1296 | |
https://bugs.php.net/bug.php?id=74435 | Patch Vendor Advisory |
https://bugs.php.net/patch-display.php?bug=74435&patch=fix-74435-php-7.0&revision=1497970038 | Issue Tracking Patch Vendor Advisory |
https://security.netapp.com/advisory/ntap-20180112-0001/ | |
https://www.tenable.com/security/tns-2017-12 |
History
No history.
MITRE Information
Status: PUBLISHED
Assigner: mitre
Published: 2017-08-02T19:00:00
Updated: 2018-05-03T09:57:01
Reserved: 2017-04-17T00:00:00
Link: CVE-2017-7890
JSON object: View
NVD Information
Status : Modified
Published: 2017-08-02T19:29:00.897
Modified: 2018-05-04T01:29:09.503
Link: CVE-2017-7890
JSON object: View
Redhat Information
No data.
CWE