VDB

ALPINE-CVE-2019-6977

ALPINE-CVE-2019-6977 PUBLISHED CVSS 8.800000190734863 HIGH

gdImageColorMatch in gd_color_match.c in the GD Graphics Library (aka LibGD) 2.2.5, as used in the imagecolormatch function in PHP before 5.6.40, 7.x before 7.1.26, 7.2.x before 7.2.14, and 7.3.x before 7.3.1, has a heap-based buffer overflow. This can be exploited by an attacker who is able to trigger imagecolormatch calls with crafted image data.

Risk Scores

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

Affected Products

VendorProductVersions
Alpine:v3.11gd0, 0, 2.2.5-r1
Alpine:v3.14gd2.0.36_rc1-r5, 0, 2.0.35-r0
Alpine:v3.13gd2.0.35-r1, 0, 2.2.5-r1
Alpine:v3.10gd2.2.1-r0, 0, 2.2.5-r1
Alpine:v3.21gd2.0.36_rc1-r4, 2.0.35-r1, 2.0.36_rc1-r1
Alpine:v3.9gd0, 2.0.35-r0, 2.0.35-r1
Alpine:v3.15gd0, 0, 2.2.5-r1
Alpine:v3.7gd2.0.35-r0, 0, 2.2.5-r1
Alpine:v3.17gd2.2.5-r1, 0, 2.0.35-r0
Alpine:v3.8gd2.2.4-r2, 0, 2.2.5-r1
Alpine:v3.23gd*, 0, 2.2.5-r1
Alpine:v3.6gd2.0.36_rc1-r5, 0, 2.0.35-r0
Alpine:v3.12gd2.1.0-r0, 0, 2.2.5-r1
Alpine:v3.22gd2.2.5-r0, 2.0.35-r1, 2.0.35-r2
Alpine:v3.24gd0
Alpine:v3.20gd2.2.5-r1, 0, 2.0.35-r1
Alpine:v3.16gd0, 2.0.35-r0, 2.0.35-r1
Alpine:v3.18gd2.2.5-r1, 0, 2.0.35-r2
Alpine:v3.19gd0, 2.0.35-r2, 2.0.36_rc1-r0

Exploit Intelligence

Timeline

  • Jan 27, 2019 CVE Published
  • Apr 30, 2026 Distribution Patch
  • Jun 9, 2026 CVE Updated
Open in Interactive Console →
$ Console Community · 100/wk Open console ›