CVE-2019-6977

gd: Heap-based buffer overflow in gdImageColorMatch() in gd_color_match.c

Published Jan 27, 2019 CVSS 3.0 · 8.8 High EPSS 71.5% KEV · Not listed
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.

Analysis

No analysis available yet

Remediation

No remediation available yet

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
Type Values Removed Values Added
Metrics epss

{'score': 0.89556}

epss

{'score': 0.89145}

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 4, 2024, 8:38 PM
Reserved
Jan 26, 2019, 12:00 AM
Status
Modified
Published
Jan 27, 2019, 2:29 AM
Modified
Jun 17, 2026, 2:39 AM
Severity
Moderate
Public date
Dec 9, 2018, 12:00 AM