CVE-2017-7890
Summary
| CVE | CVE-2017-7890 |
|---|---|
| State | PUBLISHED |
| Assigner | mitre |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2017-08-02 19:29:00 UTC |
| Updated | 2025-04-20 01:37:25 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.0 6.5 MEDIUM from [email protected]
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
Problem Types: CWE-200 | n/a
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.0 | [email protected] | Primary | 6.5 | MEDIUM | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N |
| 2.0 | [email protected] | Primary | 4.3 | AV:N/AC:M/Au:N/C:P/I:N/A:N |
CVSS v3.0 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
RequiredScope
UnchangedConfidentiality
HighIntegrity
NoneAvailability
NoneCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
CVSS v2.0 Breakdown
Access Vector
NetworkAccess Complexity
MediumAuthentication
NoneConfidentiality
PartialIntegrity
NoneAvailability
NoneAV:N/AC:M/Au:N/C:P/I:N/A:N
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Php | Php | 7.0.0 | All | All | All |
| Application | Php | Php | 7.0.1 | All | All | All |
| Application | Php | Php | 7.0.10 | All | All | All |
| Application | Php | Php | 7.0.11 | All | All | All |
| Application | Php | Php | 7.0.12 | All | All | All |
| Application | Php | Php | 7.0.13 | All | All | All |
| Application | Php | Php | 7.0.14 | All | All | All |
| Application | Php | Php | 7.0.15 | All | All | All |
| Application | Php | Php | 7.0.16 | All | All | All |
| Application | Php | Php | 7.0.17 | All | All | All |
| Application | Php | Php | 7.0.18 | All | All | All |
| Application | Php | Php | 7.0.19 | All | All | All |
| Application | Php | Php | 7.0.2 | All | All | All |
| Application | Php | Php | 7.0.20 | All | All | All |
| Application | Php | Php | 7.0.3 | All | All | All |
| Application | Php | Php | 7.0.4 | All | All | All |
| Application | Php | Php | 7.0.5 | All | All | All |
| Application | Php | Php | 7.0.6 | All | All | All |
| Application | Php | Php | 7.0.7 | All | All | All |
| Application | Php | Php | 7.0.8 | All | All | All |
| Application | Php | Php | 7.0.9 | All | All | All |
| Application | Php | Php | 7.1.0 | All | All | All |
| Application | Php | Php | 7.1.1 | All | All | All |
| Application | Php | Php | 7.1.2 | All | All | All |
| Application | Php | Php | 7.1.3 | All | All | All |
| Application | Php | Php | 7.1.4 | All | All | All |
| Application | Php | Php | 7.1.5 | All | All | All |
| Application | Php | Php | 7.1.6 | All | All | All |
| Application | Php | Php | All | All | All | All |
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| PHP :: Bug #74435 :: Patches | af854a3a-2127-422b-91ae-364da2661108 | bugs.php.net | Issue Tracking, Patch, Vendor Advisory |
| PHP :: Sec Bug #74435 :: Buffer over-read into uninitialized memory | af854a3a-2127-422b-91ae-364da2661108 | bugs.php.net | Patch, Vendor Advisory |
| Red Hat Customer Portal | af854a3a-2127-422b-91ae-364da2661108 | access.redhat.com | |
| Debian -- Security Information -- DSA-3938-1 libgd2 | af854a3a-2127-422b-91ae-364da2661108 | www.debian.org | |
| September 2017 PHP Vulnerabilities in NetApp Products | NetApp Product Security | af854a3a-2127-422b-91ae-364da2661108 | security.netapp.com | |
| Red Hat Customer Portal | af854a3a-2127-422b-91ae-364da2661108 | access.redhat.com | |
| PHP: PHP 7 ChangeLog | af854a3a-2127-422b-91ae-364da2661108 | php.net | Release Notes, Vendor Advisory |
| [R1] SecurityCenter 5.3.2, 5.4.0, 5.4.2, 5.4.5, 5.5.0, and 5.5.1 Fixes Multiple Vulnerabilities - Security Advisory | Tenable™ | af854a3a-2127-422b-91ae-364da2661108 | www.tenable.com | |
| PHP 'gd_gif_in.c' Memory Corruption Vulnerability | af854a3a-2127-422b-91ae-364da2661108 | www.securityfocus.com | Third Party Advisory, VDB Entry |
| PHP: PHP 5 ChangeLog | af854a3a-2127-422b-91ae-364da2661108 | php.net | Release Notes, Vendor Advisory |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.