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.
This vulnerability carries a MEDIUM severity rating with a CVSS v3.1 score of 6.5, indicating it can be exploited remotely over the network with relatively low complexity though user interaction is required and does not require pre-existing privileges . The vulnerability impacts confidentiality (data exposure), for affected systems. Impacting 1 product from php organizations running these solutions should prioritize assessment and patching.
First disclosed in 2017, this vulnerability was reported during a period defined by widespread IoT adoption challenges, mobile security concerns, and the emergence of advanced persistent threat (APT) techniques. Contemporary mitigation strategies focused on secure development practices and third-party component vetting.
2017-08-02T19:29:00.897
2026-05-13T00:24:29.033
Modified
CVSSv3.0: 6.5 (MEDIUM)
AV:N/AC:M/Au:N/C:P/I:N/A:N
8.6
2.9
| Type | Vendor | Product | Version/Range | Vulnerable? |
|---|---|---|---|---|
| Application | php | php | ≤ 5.6.30 | Yes |
| Application | php | php | 7.0.0 | Yes |
| Application | php | php | 7.0.1 | Yes |
| Application | php | php | 7.0.2 | Yes |
| Application | php | php | 7.0.3 | Yes |
| Application | php | php | 7.0.4 | Yes |
| Application | php | php | 7.0.5 | Yes |
| Application | php | php | 7.0.6 | Yes |
| Application | php | php | 7.0.7 | Yes |
| Application | php | php | 7.0.8 | Yes |
| Application | php | php | 7.0.9 | Yes |
| Application | php | php | 7.0.10 | Yes |
| Application | php | php | 7.0.11 | Yes |
| Application | php | php | 7.0.12 | Yes |
| Application | php | php | 7.0.13 | Yes |
| Application | php | php | 7.0.14 | Yes |
| Application | php | php | 7.0.15 | Yes |
| Application | php | php | 7.0.16 | Yes |
| Application | php | php | 7.0.17 | Yes |
| Application | php | php | 7.0.18 | Yes |
| Application | php | php | 7.0.19 | Yes |
| Application | php | php | 7.0.20 | Yes |
| Application | php | php | 7.1.0 | Yes |
| Application | php | php | 7.1.1 | Yes |
| Application | php | php | 7.1.2 | Yes |
| Application | php | php | 7.1.3 | Yes |
| Application | php | php | 7.1.4 | Yes |
| Application | php | php | 7.1.5 | Yes |
| Application | php | php | 7.1.6 | Yes |
SecUtils normalizes and enriches National Vulnerability Database (NVD) records by standardizing vendor and product identifiers, aggregating vulnerability metadata from both NVD and MITRE sources, and providing structured context for security teams. For php's affected products, we extract Common Platform Enumeration (CPE) data, Common Weakness Enumeration (CWE) classifications, CVSS severity metrics, and reference data to enable rapid vulnerability prioritization and asset correlation. This record contains no exploit code, proof-of-concept instructions, or attack methodologies—only defensive intelligence necessary for patch management, risk assessment, and security operations.