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 v3.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.2.3-r0, 2.2.1-r0, 2.1.1-r0
Alpine:v3.4gd2.0.36, 0, 2.0.35-r0
Alpine:v3.5gd2.0.35-r0, 2.2.4-r0, 2.2.3-r1

Timeline

  • Aug 2, 2017 CVE Published
  • Nov 19, 2025 CVE Updated
  • Apr 30, 2026 Distribution Patch
Open in Interactive Console →
$ Console Community · 100/wk Open console ›