CVE-2019-6977
Advisory lineage Upstream: 0 Downstream: 19
Modified
Published: 27 Jan 2019, 02:00
Last modified:04 Aug 2024, 20:38
Vulnerability Summary
Overall Risk (default)
high
63/100 CVSS Score
8.8 HIGH
v3.0 (nvd)
EPSS Score
87.88% CRITICAL
88% probability +0.11%
KEV
Not listed
Ransomware
No reports
Public exploits
2 found
Dark Web
Not detected
Timeline
27 Jan 2019, 02:00
Published
Vulnerability first disclosed
04 Aug 2024, 20:38
Last Modified
Vulnerability information updated
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.
CVSS Metrics
- v3.0•HIGH•Score: 8.8CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- v2.0•MEDIUM•Score: 6.8AV:N/AC:M/Au:N/C:P/I:P/A:P
EPSS Trends
Current EPSS score: 87.88%• Percentile: 99%
Techniques & Countermeasures
- CWE-787•Out-of-bounds Write
The product writes data past the end, or before the beginning, of the intended buffer.
Affected Systems
- canonical•ubuntu_linux
14.04 | 16.04 | 18.04 | 18.10
- debian•debian_linux
8.0 | 9.0
- libgd•libgd
2.2.5
- Unknown•PHP
< 5.6.40 | ≥ 7.0.0, < 7.1.26 | ≥ 7.2.0, < 7.2.14 | 7.3.0
References (19)
- http://www.securityfocus.com/bid/106731
- https://security.netapp.com/advisory/ntap-20190315-0003/
- http://php.net/ChangeLog-5.php
- http://php.net/ChangeLog-7.php
- https://usn.ubuntu.com/3900-1/
- https://lists.debian.org/debian-lts-announce/2019/01/msg00028.html
- https://bugs.php.net/bug.php?id=77270
- https://www.debian.org/security/2019/dsa-4384
- https://security.gentoo.org/glsa/201903-18
- http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00025.html
- http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00031.html
- https://www.exploit-db.com/exploits/46677/
- http://packetstormsecurity.com/files/152459/PHP-7.2-imagecolormatch-Out-Of-Band-Heap-Write.html
- https://access.redhat.com/errata/RHSA-2019:2519
- https://access.redhat.com/errata/RHSA-2019:3299
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TEYUUOW75YD3DENIPYMO263E6NL2NFHI/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3WRUPZVT2MWFUEMVGTRAGDOBHLNMGK5R/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TTXSLRZI5BCQT3H5KALG3DHUWUMNPDX2/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3CZ2QADQTKRHTGB2AHD7J4QQNDLBEMM6/