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.
Published: 2019-01-27
Score: 8.8 High
EPSS: 87.9% High
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-1651-1 libgd2 security update
Debian DSA Debian DSA DSA-4384-1 libgd2 security update
Ubuntu USN Ubuntu USN USN-3900-1 GD vulnerabilities
History

Sat, 12 Jul 2025 13:45:00 +0000

Type Values Removed Values Added
Metrics epss

{'score': 0.89556}

epss

{'score': 0.89145}


Subscriptions

Canonical Ubuntu Linux
Debian Debian Linux
Libgd Libgd
Netapp Storage Automation Store
Php Php
Redhat Enterprise Linux Rhel Software Collections
cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2024-08-04T20:38:32.847Z

Reserved: 2019-01-26T00:00:00.000Z

Link: CVE-2019-6977

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2019-01-27T02:29:00.340

Modified: 2024-11-21T04:47:20.960

Link: CVE-2019-6977

cve-icon Redhat

Severity : Moderate

Publid Date: 2018-12-09T00:00:00Z

Links: CVE-2019-6977 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses