Vulnerability Description
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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Php | Php | <= 5.6.30 |
Related Weaknesses (CWE)
References
- http://php.net/ChangeLog-5.phpRelease NotesVendor Advisory
- http://php.net/ChangeLog-7.phpRelease NotesVendor Advisory
- http://www.debian.org/security/2017/dsa-3938
- http://www.securityfocus.com/bid/99492Third Party AdvisoryVDB Entry
- https://access.redhat.com/errata/RHSA-2018:0406
- https://access.redhat.com/errata/RHSA-2018:1296
- https://bugs.php.net/bug.php?id=74435PatchVendor Advisory
- https://bugs.php.net/patch-display.php?bug=74435&patch=fix-74435-php-7.0&revisioIssue TrackingPatchVendor Advisory
- https://security.netapp.com/advisory/ntap-20180112-0001/
- https://www.tenable.com/security/tns-2017-12
- http://php.net/ChangeLog-5.phpRelease NotesVendor Advisory
- http://php.net/ChangeLog-7.phpRelease NotesVendor Advisory
- http://www.debian.org/security/2017/dsa-3938
- http://www.securityfocus.com/bid/99492Third Party AdvisoryVDB Entry
- https://access.redhat.com/errata/RHSA-2018:0406
FAQ
What is CVE-2017-7890?
CVE-2017-7890 is a vulnerability with a CVSS score of 6.5 (MEDIUM). 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 ...
How severe is CVE-2017-7890?
CVE-2017-7890 has been rated MEDIUM with a CVSS base score of 6.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2017-7890?
Check the references section above for vendor advisories and patch information. Affected products include: Php Php.