Uninitialized colorMap arrays in libgd allow stack data disclosure
Multiple products
At a glance
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.
Source description · CVE List / CNA
System impact
CVSS summary v3.0
- Published:
- Updated:
- EPSS:
- 3.418%
- Exploited in attacks:
- Not confirmed
- Ransomware campaigns:
- Not confirmed
- Attack vector:
- Network
Affected software
Vendor, product and affected version ranges.
| Vendor | Product | Affected versions |
|---|---|---|
| Vendor:Red Hat | Red Hat Enterprise Linux 5 | Affected versions:Source does not specify a version range |
| Vendor:Red Hat | Red Hat Enterprise Linux 6 | Affected versions:Source does not specify a version range |
| Vendor:Red Hat | Red Hat Enterprise Linux Client Optional (v. 7) | Affected versions:Source does not specify a version range |
| Vendor:Red Hat | Red Hat Enterprise Linux ComputeNode Optional (v. 7) | Affected versions:Source does not specify a version range |
| Vendor:Red Hat | Red Hat Enterprise Linux Server (v. 7) | Affected versions:Source does not specify a version range |
| Vendor:Red Hat | Red Hat Enterprise Linux Server Optional (v. 7) | Affected versions:Source does not specify a version range |
| Vendor:Red Hat | Red Hat Enterprise Linux Workstation (v. 7) | Affected versions:Source does not specify a version range |
| Vendor:Red Hat | Red Hat Enterprise Linux Workstation Optional (v. 7) | Affected versions:Source does not specify a version range |
| Vendor:Red Hat | Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7) | Affected versions:Source does not specify a version range |
| Vendor:Red Hat | Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server Optional (v. 7) | Affected versions:Source does not specify a version range |
1–10 of 51 · Page 1 of 6
CVSS scores and metrics5
[email protected] · NVD (Primary)Primary6.5 / 10MediumCVSS 3.0Details
- Attack complexity
- Low
- Confidentiality
- High
- Integrity
- None
- Availability
- None
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Required
- Scope
- Unchanged
Source vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:NCVE-2017-7890 · OSV (source-vector)6.5 / 10MediumCVSS 3.0Details
- Attack complexity
- Low
- Confidentiality
- High
- Integrity
- None
- Availability
- None
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Required
- Scope
- Unchanged
Source vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:NRed Hat · Red Hat VEX (adp)5.5 / 10MediumCVSS 3.0Details
- Attack complexity
- Low
- Confidentiality
- High
- Integrity
- None
- Availability
- None
- Attack vector
- Local
- Privileges required
- Not required
- User interaction
- Required
- Scope
- Unchanged
Source vector
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:NSUSE · SUSE VEX (adp)5.3 / 10MediumCVSS 3.0Details
- Attack complexity
- Low
- Confidentiality
- Low
- Integrity
- None
- Availability
- None
- Attack vector
- Network
- Privileges required
- Not required
- User interaction
- Not required
- Scope
- Unchanged
Source vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N[email protected] · NVD (Primary)4.3 / 10MediumCVSS 2.0Details
- Attack complexity
- Medium
- Confidentiality
- Partial
- Integrity
- None
- Availability
- None
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:M/Au:N/C:P/I:N/A:NCVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.
This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences