CVEvulnerability

CVE-2019-6977

8.8 HIGH Published 2019-01-27 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2019-01-27
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.0 ([email protected])
8.8 HIGH — CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS 2.0 ([email protected])
6.8 MEDIUM — AV:N/AC:M/Au:N/C:P/I:P/A:P
Weaknesses
CWE-787

Description

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.

Affected configurations

• libgd libgd 2.2.5 • php php (< 5.6.40) • php php (>= 7.0.0 < 7.1.26) • php php (>= 7.2.0 < 7.2.14) • php php 7.3.0 • debian debian linux 8.0 • debian debian linux 9.0 • canonical ubuntu linux 14.04 • canonical ubuntu linux 16.04 • canonical ubuntu linux 18.04 • canonical ubuntu linux 18.10 • netapp storage automation store

Related

Weakness · CWE (1)

  • CWE-787 Out-of-bounds Write weakness

References