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.
CPE | Name | Operator | Version |
---|---|---|---|
ubuntu_linux | eq | 16.04 | |
ubuntu_linux | eq | 14.04 | |
ubuntu_linux | eq | 18.04 | |
ubuntu_linux | eq | 18.10 | |
debian_linux | eq | 8.0 | |
debian_linux | eq | 9.0 | |
libgd | eq | 2.2.5 | |
php | eq | 7.3.0 | |
php | ge | 7.2.0 | |
php | lt | 7.2.14 |
lists.opensuse.org/opensuse-security-announce/2019-04/msg00025.html
lists.opensuse.org/opensuse-security-announce/2019-04/msg00031.html
packetstormsecurity.com/files/152459/PHP-7.2-imagecolormatch-Out-Of-Band-Heap-Write.html
php.net/ChangeLog-5.php
php.net/ChangeLog-7.php
www.securityfocus.com/bid/106731
access.redhat.com/errata/RHSA-2019:2519
access.redhat.com/errata/RHSA-2019:3299
bugs.php.net/bug.php?id=77270
lists.debian.org/debian-lts-announce/2019/01/msg00028.html
lists.fedoraproject.org/archives/list/[email protected]/message/3CZ2QADQTKRHTGB2AHD7J4QQNDLBEMM6/
lists.fedoraproject.org/archives/list/[email protected]/message/3WRUPZVT2MWFUEMVGTRAGDOBHLNMGK5R/
lists.fedoraproject.org/archives/list/[email protected]/message/TEYUUOW75YD3DENIPYMO263E6NL2NFHI/
lists.fedoraproject.org/archives/list/[email protected]/message/TTXSLRZI5BCQT3H5KALG3DHUWUMNPDX2/
security.gentoo.org/glsa/201903-18
security.netapp.com/advisory/ntap-20190315-0003/
usn.ubuntu.com/3900-1/
www.debian.org/security/2019/dsa-4384
www.exploit-db.com/exploits/46677/