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.
References
Link Resource
http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00025.html
http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00031.html
http://packetstormsecurity.com/files/152459/PHP-7.2-imagecolormatch-Out-Of-Band-Heap-Write.html
http://php.net/ChangeLog-5.php Release Notes Vendor Advisory
http://php.net/ChangeLog-7.php Release Notes Vendor Advisory
http://www.securityfocus.com/bid/106731 Third Party Advisory VDB Entry
https://access.redhat.com/errata/RHSA-2019:2519
https://access.redhat.com/errata/RHSA-2019:3299
https://bugs.php.net/bug.php?id=77270 Exploit Issue Tracking Mailing List Vendor Advisory
https://lists.debian.org/debian-lts-announce/2019/01/msg00028.html Mailing List Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3CZ2QADQTKRHTGB2AHD7J4QQNDLBEMM6/
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/TEYUUOW75YD3DENIPYMO263E6NL2NFHI/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TTXSLRZI5BCQT3H5KALG3DHUWUMNPDX2/
https://security.gentoo.org/glsa/201903-18 Third Party Advisory
https://security.netapp.com/advisory/ntap-20190315-0003/ Patch Third Party Advisory
https://usn.ubuntu.com/3900-1/ Third Party Advisory
https://www.debian.org/security/2019/dsa-4384 Third Party Advisory
https://www.exploit-db.com/exploits/46677/
http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00025.html
http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00031.html
http://packetstormsecurity.com/files/152459/PHP-7.2-imagecolormatch-Out-Of-Band-Heap-Write.html
http://php.net/ChangeLog-5.php Release Notes Vendor Advisory
http://php.net/ChangeLog-7.php Release Notes Vendor Advisory
http://www.securityfocus.com/bid/106731 Third Party Advisory VDB Entry
https://access.redhat.com/errata/RHSA-2019:2519
https://access.redhat.com/errata/RHSA-2019:3299
https://bugs.php.net/bug.php?id=77270 Exploit Issue Tracking Mailing List Vendor Advisory
https://lists.debian.org/debian-lts-announce/2019/01/msg00028.html Mailing List Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3CZ2QADQTKRHTGB2AHD7J4QQNDLBEMM6/
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/TEYUUOW75YD3DENIPYMO263E6NL2NFHI/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TTXSLRZI5BCQT3H5KALG3DHUWUMNPDX2/
https://security.gentoo.org/glsa/201903-18 Third Party Advisory
https://security.netapp.com/advisory/ntap-20190315-0003/ Patch Third Party Advisory
https://usn.ubuntu.com/3900-1/ Third Party Advisory
https://www.debian.org/security/2019/dsa-4384 Third Party Advisory
https://www.exploit-db.com/exploits/46677/
Configurations

Configuration 1 (hide)

cpe:2.3:a:libgd:libgd:2.2.5:*:*:*:*:*:*:*

Configuration 2 (hide)

OR 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:*:*:*:*:*:*:*

Configuration 3 (hide)

OR cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*

Configuration 4 (hide)

OR 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:*:*:*:*:*:*:*

Configuration 5 (hide)

cpe:2.3:a:netapp:storage_automation_store:*:*:*:*:*:*:*:*

History

21 Nov 2024, 04:47

Type Values Removed Values Added
References () http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00025.html - () http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00025.html -
References () http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00031.html - () http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00031.html -
References () http://packetstormsecurity.com/files/152459/PHP-7.2-imagecolormatch-Out-Of-Band-Heap-Write.html - () http://packetstormsecurity.com/files/152459/PHP-7.2-imagecolormatch-Out-Of-Band-Heap-Write.html -
References () http://php.net/ChangeLog-5.php - Release Notes, Vendor Advisory () http://php.net/ChangeLog-5.php - Release Notes, Vendor Advisory
References () http://php.net/ChangeLog-7.php - Release Notes, Vendor Advisory () http://php.net/ChangeLog-7.php - Release Notes, Vendor Advisory
References () http://www.securityfocus.com/bid/106731 - Third Party Advisory, VDB Entry () http://www.securityfocus.com/bid/106731 - Third Party Advisory, VDB Entry
References () https://access.redhat.com/errata/RHSA-2019:2519 - () https://access.redhat.com/errata/RHSA-2019:2519 -
References () https://access.redhat.com/errata/RHSA-2019:3299 - () https://access.redhat.com/errata/RHSA-2019:3299 -
References () https://bugs.php.net/bug.php?id=77270 - Issue Tracking, Exploit, Mailing List, Vendor Advisory () https://bugs.php.net/bug.php?id=77270 - Exploit, Issue Tracking, Mailing List, Vendor Advisory
References () https://lists.debian.org/debian-lts-announce/2019/01/msg00028.html - Mailing List, Third Party Advisory () https://lists.debian.org/debian-lts-announce/2019/01/msg00028.html - Mailing List, Third Party Advisory
References () https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3CZ2QADQTKRHTGB2AHD7J4QQNDLBEMM6/ - () https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3CZ2QADQTKRHTGB2AHD7J4QQNDLBEMM6/ -
References () 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/3WRUPZVT2MWFUEMVGTRAGDOBHLNMGK5R/ -
References () 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/TEYUUOW75YD3DENIPYMO263E6NL2NFHI/ -
References () 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/TTXSLRZI5BCQT3H5KALG3DHUWUMNPDX2/ -
References () https://security.gentoo.org/glsa/201903-18 - Third Party Advisory () https://security.gentoo.org/glsa/201903-18 - Third Party Advisory
References () https://security.netapp.com/advisory/ntap-20190315-0003/ - Patch, Third Party Advisory () https://security.netapp.com/advisory/ntap-20190315-0003/ - Patch, Third Party Advisory
References () https://usn.ubuntu.com/3900-1/ - Third Party Advisory () https://usn.ubuntu.com/3900-1/ - Third Party Advisory
References () https://www.debian.org/security/2019/dsa-4384 - Third Party Advisory () https://www.debian.org/security/2019/dsa-4384 - Third Party Advisory
References () https://www.exploit-db.com/exploits/46677/ - () https://www.exploit-db.com/exploits/46677/ -

07 Nov 2023, 03:13

Type Values Removed Values Added
References
  • {'url': 'https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TTXSLRZI5BCQT3H5KALG3DHUWUMNPDX2/', 'name': 'FEDORA-2019-7a06c0e6b4', 'tags': [], 'refsource': 'FEDORA'}
  • {'url': 'https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3CZ2QADQTKRHTGB2AHD7J4QQNDLBEMM6/', 'name': 'FEDORA-2020-e795f92d79', 'tags': [], 'refsource': 'FEDORA'}
  • {'url': 'https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TEYUUOW75YD3DENIPYMO263E6NL2NFHI/', 'name': 'FEDORA-2019-ab7d22a466', 'tags': [], 'refsource': 'FEDORA'}
  • {'url': 'https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3WRUPZVT2MWFUEMVGTRAGDOBHLNMGK5R/', 'name': 'FEDORA-2019-d7f8995451', 'tags': [], 'refsource': 'FEDORA'}
  • () 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/TEYUUOW75YD3DENIPYMO263E6NL2NFHI/ -
  • () 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/ -

Information

Published : 2019-01-27 02:29

Updated : 2024-11-21 04:47


NVD link : CVE-2019-6977

Mitre link : CVE-2019-6977

CVE.ORG link : CVE-2019-6977


JSON object : View

Products Affected

php

  • php

libgd

  • libgd

canonical

  • ubuntu_linux

netapp

  • storage_automation_store

debian

  • debian_linux
CWE
CWE-787

Out-of-bounds Write