VDB

ALPINE-CVE-2017-7890

ALPINE-CVE-2017-7890 PUBLISHED CVSS 6.5 MEDIUM

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 Scores

CVSS 3.0
6.5
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N

Affected Products

VendorProductVersions
Alpine:v3.6gd2.1.0-r1, 2.2.4-r1, 2.2.4-r0
Alpine:v3.4gd2.2.4-r0, 0, 2.0.35-r0
Alpine:v3.5gd2.0.36_rc1-r3, 2.2.3-r1, 2.2.4-r0

Timeline

  • Aug 2, 2017 CVE Published
  • Jun 15, 2026 CVE Updated
  • Aug 8, 2026 Distribution Patch
Open in Interactive Console →
$ Console Community · 50/day Open console ›