Skip to content
CVE Tracker
Back

CVE-2017-7890

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…

Medium6.5EPSS 3.4%
Published
Updated
Reserved
Assigned by
mitre

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.

Scores

CVSS scores of CVE-2017-7890, by who scored it
Scored byCVSSScoreVector
NVDNVD · Modified3.0Medium6.5CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
EPSS (exploitation in 30 days)
3.4% · top 11% of all CVEs (3 Nov 2026)
Loading the EPSS history…

The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.5.

Weakness

Affected products

  • n/a

    • affected n/a

References (10)

Sources

The same CVE in the primary databases and aggregators, to check against.

Badge for a README or a ticket

CVE-2017-7890 badge
[![CVE-2017-7890](https://trackcve.app/badge/CVE-2017-7890.svg)](https://trackcve.app/cve/CVE-2017-7890)

Record last updated .