CVE-2017-7890
MEDIUMPHP < 5.6.31 and 7.x < 7.1.7 - Information Disclosure via GIF Decoding Stack Leak
Title source: llmDescription
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 (10)
Core 10
Core References
Issue Tracking, Patch, Vendor Advisory x_refsource_confirm
https://bugs.php.net/patch-display.php?bug=74435&patch=fix-74435-php-7.0&revision=1497970038
Third Party Advisory x_refsource_confirm
https://www.tenable.com/security/tns-2017-12
Third Party Advisory vendor-advisory
x_refsource_debian
http://www.debian.org/security/2017/dsa-3938
Vendor Advisory vendor-advisory
x_refsource_redhat
https://access.redhat.com/errata/RHSA-2018:1296
Release Notes, Vendor Advisory x_refsource_confirm
http://php.net/ChangeLog-5.php
Vendor Advisory x_refsource_confirm
https://security.netapp.com/advisory/ntap-20180112-0001/
Third Party Advisory, VDB Entry vdb-entry
x_refsource_bid
http://www.securityfocus.com/bid/99492
Release Notes, Vendor Advisory x_refsource_confirm
http://php.net/ChangeLog-7.php
Vendor Advisory vendor-advisory
x_refsource_redhat
https://access.redhat.com/errata/RHSA-2018:0406
Patch, Vendor Advisory x_refsource_confirm
https://bugs.php.net/bug.php?id=74435
Scores
CVSS v3
6.5
EPSS
0.3022
EPSS Percentile
96.7%
Attack Vector
NETWORK
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
Details
CWE
CWE-200
Status
published
Products (29)
php/php
7.0.0
php/php
7.0.1
php/php
7.0.2
php/php
7.0.3
php/php
7.0.4
php/php
7.0.5
php/php
7.0.6
php/php
7.0.7
php/php
7.0.8
php/php
7.0.9
... and 19 more
Published
Aug 02, 2017
Tracked Since
Feb 18, 2026