CVE-2017-7890Php
Medium 6.5 No auth needed
Follow: this CVE · Php · Php We alert you by email or Slack (account required).
- Priority
- 54
- CVSS 3.0
- 6.5
- EPSS
- 3.4% probability of exploitation in 30 days · percentile 90
- Auth required
- No
- Published
- Aug 2, 2017
- Updated
- Jun 17, 2026
- Category
- Web application · Cross-platform
- Weakness (CWE)
- CWE-200
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for Php.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| php | php | ≤ 5.6.30 |
| 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 |
| php | php | 7.0.10 |
| php | php | 7.0.11 |
| php | php | 7.0.12 |
| php | php | 7.0.13 |
| php | php | 7.0.14 |
| php | php | 7.0.15 |
| php | php | 7.0.16 |
| php | php | 7.0.17 |
| php | php | 7.0.18 |
| php | php | 7.0.19 |
| php | php | 7.0.20 |
| php | php | 7.1.0 |
| php | php | 7.1.1 |
| php | php | 7.1.2 |
| php | php | 7.1.3 |
| php | php | 7.1.4 |
| php | php | 7.1.5 |
| php | php | 7.1.6 |
Official sources
References
Links published by the sources. Open them with care.
- php.net Release Notes Vendor Advisory
- php.net Release Notes Vendor Advisory
- www.debian.org
- www.securityfocus.com Third Party Advisory VDB Entry
- access.redhat.com
- access.redhat.com
- bugs.php.net Patch Vendor Advisory
- bugs.php.net Issue Tracking Patch Vendor Advisory
- security.netapp.com
- www.tenable.com