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
02 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
03 Exploitation and scoring
- Exploitation
- Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
- SSVC decision
- Not assessed by CISA
- EPSS probability
- 71.49% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 99.3% of scored records. A rank, not a probability.
- NVD base score
- 8.8 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-17.
- Red Hat severity
- Moderate. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2019-01-27 02:00Z7 YR AGO
- Last updated
- 2024-08-04 20:38Z2 YR AGO
- Reserved
- 2019-01-26
- Assigning CNA
- mitre
- Record state
- PUBLISHED
- Severity
- Not rated by the issuing CNA
- CNA CVSS vector
- Not published by the issuing CNA
- Weaknesses
- Data version
- 5.1
- Document digest
- 69b358c7643af30604e8fef727b8cc64215c472475af014a6cab7c43e116449b
05 Affected products
06 References
- www.securityfocus.com106731http://www.securityfocus.com/bid/106731
- security.netapp.comhttps://security.netapp.com/advisory/ntap-20190315-0003/
- php.nethttp://php.net/ChangeLog-5.php
- php.nethttp://php.net/ChangeLog-7.php
- usn.ubuntu.comUSN-3900-1https://usn.ubuntu.com/3900-1/
- lists.debian.org[debian-lts-announce] 20190130 [SECURITY] [DLA 1651-1] libgd2 security updatehttps://lists.debian.org/debian-lts-announce/2019/01/msg00028.html
- bugs.php.nethttps://bugs.php.net/bug.php?id=77270
- www.debian.orgDSA-4384https://www.debian.org/security/2019/dsa-4384
- security.gentoo.orgGLSA-201903-18https://security.gentoo.org/glsa/201903-18
- lists.opensuse.orgopenSUSE-SU-2019:1148http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00025.html
- lists.opensuse.orgopenSUSE-SU-2019:1140http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00031.html
- www.exploit-db.com46677https://www.exploit-db.com/exploits/46677/
- packetstormsecurity.comhttp://packetstormsecurity.com/files/152459/PHP-7.2-imagecolormatch-Out-Of-Band-Heap-Write.html
- access.redhat.comRHSA-2019:2519https://access.redhat.com/errata/RHSA-2019:2519
- access.redhat.comRHSA-2019:3299https://access.redhat.com/errata/RHSA-2019:3299
- lists.fedoraproject.orgFEDORA-2019-ab7d22a466https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TEYUUOW75YD3DENIPYMO263E6NL2NFHI/
- lists.fedoraproject.orgFEDORA-2019-d7f8995451https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3WRUPZVT2MWFUEMVGTRAGDOBHLNMGK5R/
- lists.fedoraproject.orgFEDORA-2019-7a06c0e6b4https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TTXSLRZI5BCQT3H5KALG3DHUWUMNPDX2/
- lists.fedoraproject.orgFEDORA-2020-e795f92d79https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3CZ2QADQTKRHTGB2AHD7J4QQNDLBEMM6/
07 Fixed in
AlmaLinux 8
- gd Fixed in 2.2.5-7.el8
- gd-devel Fixed in 2.2.5-7.el8
Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
Arch Linux
- gd Fixed in 2.2.5-2
Source: Arch Linux Security Tracker, the Arch Linux security team. Reformatted by exploit.cc.
CloudLinux 8
- gd Fixed in 2.2.5-7.el8
- gd-devel Fixed in 2.2.5-7.el8
Derived from AlmaLinux 8. Partial coverage: only packages taken from AlmaLinux 8 are listed.
Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
Debian 12
- libgd2 Fixed in 2.2.5-5.1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- libgd2 Fixed in 2.2.5-5.1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- libgd2 Fixed in 2.2.5-5.1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 14.04 LTS
- libgd2 Fixed in 2.1.0-3ubuntu0.11
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 16.04 LTS
- libgd2 Fixed in 2.1.1-4ubuntu0.16.04.11
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 18.04 LTS
- libgd2 Fixed in 2.2.5-4ubuntu0.3
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.