the ultimate security vulnerability data source
(e.g.: CVE-2009-1234 or 2010-1234 or 20101234)
Log In   Register
  Take a third party risk management course for FREE
Vulnerability Feeds & WidgetsNew  

Vulnerability Details : CVE-2019-6977

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.
Publish Date : 2019-01-27 Last Update Date : 2020-08-24
Search Twitter   Search YouTube   Search Google

- CVSS Scores & Vulnerability Types

CVSS Score
Confidentiality Impact Partial (There is considerable informational disclosure.)
Integrity Impact Partial (Modification of some system files or information is possible, but the attacker does not have control over what can be modified, or the scope of what the attacker can affect is limited.)
Availability Impact Partial (There is reduced performance or interruptions in resource availability.)
Access Complexity Medium (The access conditions are somewhat specialized. Some preconditions must be satistified to exploit)
Authentication Not required (Authentication is not required to exploit the vulnerability.)
Gained Access None
Vulnerability Type(s) Overflow
CWE ID 787

- Related OVAL Definitions

Title Definition Id Class Family
RHSA-2020:4659: gd security update (Moderate) oval:com.redhat.rhsa:def:20204659 unix
OVAL (Open Vulnerability and Assessment Language) definitions define exactly what should be done to verify a vulnerability or a missing patch. Check out the OVAL definitions if you want to learn what you should do to verify a vulnerability.

- Products Affected By CVE-2019-6977

# Product Type Vendor Product Version Update Edition Language
1 OS Canonical Ubuntu Linux 14.04 * * * Version Details Vulnerabilities
2 OS Canonical Ubuntu Linux 16.04 * * * Version Details Vulnerabilities
3 OS Canonical Ubuntu Linux 18.04 * * * Version Details Vulnerabilities
4 OS Canonical Ubuntu Linux 18.10 * * * Version Details Vulnerabilities
5 OS Debian Debian Linux 8.0 * * * Version Details Vulnerabilities
6 OS Debian Debian Linux 9.0 * * * Version Details Vulnerabilities
7 Application Libgd Libgd 2.2.5 * * * Version Details Vulnerabilities
8 Application Netapp Storage Automation Store * * * * Version Details Vulnerabilities
9 Application PHP PHP * * * * Version Details Vulnerabilities
10 Application PHP PHP 7.3.0 * * * Version Details Vulnerabilities

- Number Of Affected Versions By Product

Vendor Product Vulnerable Versions
Canonical Ubuntu Linux 4
Debian Debian Linux 2
Libgd Libgd 1
Netapp Storage Automation Store 1

- References For CVE-2019-6977[email protected]/message/3CZ2QADQTKRHTGB2AHD7J4QQNDLBEMM6/
FEDORA FEDORA-2020-e795f92d79
GENTOO GLSA-201903-18
SUSE openSUSE-SU-2019:1148
SUSE openSUSE-SU-2019:1140
EXPLOIT-DB 46677[email protected]/message/TTXSLRZI5BCQT3H5KALG3DHUWUMNPDX2/
FEDORA FEDORA-2019-7a06c0e6b4[email protected]/message/3WRUPZVT2MWFUEMVGTRAGDOBHLNMGK5R/
FEDORA FEDORA-2019-d7f8995451
REDHAT RHSA-2019:2519
REDHAT RHSA-2019:3299[email protected]/message/TEYUUOW75YD3DENIPYMO263E6NL2NFHI/
BID 106731 LibGD CVE-2019-6977 Heap Buffer Overflow Vulnerability Release Date:2019-01-26
MLIST [debian-lts-announce] 20190130 [SECURITY] [DLA 1651-1] libgd2 security update

- Metasploit Modules Related To CVE-2019-6977

There are not any metasploit modules related to this CVE entry (Please visit for more information)

CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site. OVAL is a registered trademark of The MITRE Corporation and the authoritative source of OVAL content is MITRE's OVAL web site.
Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.