CVE-2017-7890
Severity CVSS v4.0:
Pending analysis
Type:
CWE-200
Information Leak / Disclosure
Publication date:
02/08/2017
Last modified:
20/04/2025
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.
Impact
Base Score 3.x
6.50
Severity 3.x
MEDIUM
Base Score 2.0
4.30
Severity 2.0
MEDIUM
Vulnerable products and versions
CPE | From | Up to |
---|---|---|
cpe:2.3:a:php:php:*:*:*:*:*:*:*:* | 5.6.30 (including) | |
cpe:2.3:a:php:php:7.0.0:*:*:*:*:*:*:* | ||
cpe:2.3:a:php:php:7.0.1:*:*:*:*:*:*:* | ||
cpe:2.3:a:php:php:7.0.2:*:*:*:*:*:*:* | ||
cpe:2.3:a:php:php:7.0.3:*:*:*:*:*:*:* | ||
cpe:2.3:a:php:php:7.0.4:*:*:*:*:*:*:* | ||
cpe:2.3:a:php:php:7.0.5:*:*:*:*:*:*:* | ||
cpe:2.3:a:php:php:7.0.6:*:*:*:*:*:*:* | ||
cpe:2.3:a:php:php:7.0.7:*:*:*:*:*:*:* | ||
cpe:2.3:a:php:php:7.0.8:*:*:*:*:*:*:* | ||
cpe:2.3:a:php:php:7.0.9:*:*:*:*:*:*:* | ||
cpe:2.3:a:php:php:7.0.10:*:*:*:*:*:*:* | ||
cpe:2.3:a:php:php:7.0.11:*:*:*:*:*:*:* | ||
cpe:2.3:a:php:php:7.0.12:*:*:*:*:*:*:* | ||
cpe:2.3:a:php:php:7.0.13:*:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page
References to Advisories, Solutions, and Tools
- http://php.net/ChangeLog-5.php
- http://php.net/ChangeLog-7.php
- http://www.debian.org/security/2017/dsa-3938
- http://www.securityfocus.com/bid/99492
- https://access.redhat.com/errata/RHSA-2018:0406
- https://access.redhat.com/errata/RHSA-2018:1296
- https://bugs.php.net/bug.php?id=74435
- https://bugs.php.net/patch-display.php?bug=74435&patch=fix-74435-php-7.0&revision=1497970038
- https://security.netapp.com/advisory/ntap-20180112-0001/
- https://www.tenable.com/security/tns-2017-12
- http://php.net/ChangeLog-5.php
- http://php.net/ChangeLog-7.php
- http://www.debian.org/security/2017/dsa-3938
- http://www.securityfocus.com/bid/99492
- https://access.redhat.com/errata/RHSA-2018:0406
- https://access.redhat.com/errata/RHSA-2018:1296
- https://bugs.php.net/bug.php?id=74435
- https://bugs.php.net/patch-display.php?bug=74435&patch=fix-74435-php-7.0&revision=1497970038
- https://security.netapp.com/advisory/ntap-20180112-0001/
- https://www.tenable.com/security/tns-2017-12