CVE-2019-6977
CVE-2019-6977
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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 8.8 · High · EPSS 71.5% · Public exploit · Fix available
- Published
- Updated
Stack: system
Affected products and versions
n/a
- Versions
- n/a: Affected
No fix published
libgd2 Debian:12
- Affected ranges
- ECOSYSTEM: < 2.2.5-5.1
Update to 2.2.5-5.1
libgd2 Debian:13
- Affected ranges
- ECOSYSTEM: < 2.2.5-5.1
Update to 2.2.5-5.1
libgd2 Debian:14
- Affected ranges
- ECOSYSTEM: < 2.2.5-5.1
Update to 2.2.5-5.1
libgd2 Ubuntu:14.04:LTS
- Versions
- 2.1.0-2
- 2.1.0-3
- 2.1.0-3ubuntu0.1
- 2.1.0-3ubuntu0.2
- 2.1.0-3ubuntu0.3
- 2.1.0-3ubuntu0.5
- 2.1.0-3ubuntu0.6
- 2.1.0-3ubuntu0.7
- 2.1.0-3ubuntu0.8
- 2.1.0-3ubuntu0.10
- Affected ranges
- ECOSYSTEM: < 2.1.0-3ubuntu0.11
Update to 2.1.0-3ubuntu0.11
libgd2 Ubuntu:16.04:LTS
- Versions
- 2.1.1-4build1
- 2.1.1-4build2
- 2.1.1-4ubuntu0.16.04.1
- 2.1.1-4ubuntu0.16.04.2
- 2.1.1-4ubuntu0.16.04.3
- 2.1.1-4ubuntu0.16.04.5
- 2.1.1-4ubuntu0.16.04.6
- 2.1.1-4ubuntu0.16.04.7
- 2.1.1-4ubuntu0.16.04.8
- 2.1.1-4ubuntu0.16.04.10
- Affected ranges
- ECOSYSTEM: < 2.1.1-4ubuntu0.16.04.11
Update to 2.1.1-4ubuntu0.16.04.11
libgd2 Ubuntu:18.04:LTS
- Versions
- 2.2.5-3
- 2.2.5-4
- 2.2.5-4ubuntu0.2
- Affected ranges
- ECOSYSTEM: < 2.2.5-4ubuntu0.3
Update to 2.2.5-4ubuntu0.3
Original sources
- 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/
- https://nvd.nist.gov/vuln/detail/CVE-2019-6977