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.
Vulnerability category: OverflowMemory Corruption
Exploit prediction scoring system (EPSS) score for CVE-2019-6977
Probability of exploitation activity in the next 30 days: 89.73%
Percentile, the proportion of vulnerabilities that are scored at or less: ~ 98 % EPSS Score History EPSS FAQ
CVSS scores for CVE-2019-6977
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Source |
---|---|---|---|---|---|
6.8
|
MEDIUM | AV:N/AC:M/Au:N/C:P/I:P/A:P |
8.6
|
6.4
|
[email protected] |
8.8
|
HIGH | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
2.8
|
5.9
|
[email protected] |
CWE ids for CVE-2019-6977
-
The product writes data past the end, or before the beginning, of the intended buffer.Assigned by: [email protected] (Primary)
References for CVE-2019-6977
-
https://bugs.php.net/bug.php?id=77270
Issue Tracking;Exploit;Mailing List;Vendor Advisory
- https://lists.fedoraproject.org/archives/list/[email protected]/message/TEYUUOW75YD3DENIPYMO263E6NL2NFHI/
- https://access.redhat.com/errata/RHSA-2019:3299
-
https://lists.debian.org/debian-lts-announce/2019/01/msg00028.html
Mailing List;Third Party Advisory
-
https://www.exploit-db.com/exploits/46677/
- http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00031.html
- http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00025.html
- https://access.redhat.com/errata/RHSA-2019:2519
-
https://usn.ubuntu.com/3900-1/
Third Party Advisory
-
https://security.gentoo.org/glsa/201903-18
Third Party Advisory
-
http://www.securityfocus.com/bid/106731
Third Party Advisory;VDB Entry
-
https://security.netapp.com/advisory/ntap-20190315-0003/
Patch;Third Party Advisory
-
https://www.debian.org/security/2019/dsa-4384
Third Party Advisory
- https://lists.fedoraproject.org/archives/list/[email protected]/message/3WRUPZVT2MWFUEMVGTRAGDOBHLNMGK5R/
-
http://packetstormsecurity.com/files/152459/PHP-7.2-imagecolormatch-Out-Of-Band-Heap-Write.html
- https://lists.fedoraproject.org/archives/list/[email protected]/message/TTXSLRZI5BCQT3H5KALG3DHUWUMNPDX2/
-
http://php.net/ChangeLog-7.php
Release Notes;Vendor Advisory
- https://lists.fedoraproject.org/archives/list/[email protected]/message/3CZ2QADQTKRHTGB2AHD7J4QQNDLBEMM6/
-
http://php.net/ChangeLog-5.php
Release Notes;Vendor Advisory
Products affected by CVE-2019-6977
- cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
- cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
- cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
- cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
- cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
- cpe:2.3:a:php:php:7.3.0:*:*:*:*:*:*:*
- cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*
- cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*
- cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*
- cpe:2.3:o:canonical:ubuntu_linux:18.10:*:*:*:*:*:*:*
- cpe:2.3:a:libgd:libgd:2.2.5:*:*:*:*:*:*:*
- cpe:2.3:a:netapp:storage_automation_store:*:*:*:*:*:*:*:*