UBUNTU-CVE-2019-6977
Dashboard / Vulnerabilities / UBUNTU-CVE-2019-6977
UBUNTU-CVE-2019-6977
Published: 26 Jan 2019Last Modified: 22 Apr 2026
Upstream:
Aliases:
Summary:
Details: 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: https://ubuntu.com/security/CVE-2019-6977, http://php.net/ChangeLog-5.php, http://php.net/ChangeLog-7.php, https://ubuntu.com/security/notices/USN-3900-1, https://www.cve.org/CVERecord?id=CVE-2019-6977
Affected packages
Package
Name: libgd2
Purl: pkg:deb/ubuntu/[email protected]?arch=source&distro=trusty
Affected ranges
Type: ECOSYSTEM
Events:
Introduced- 0
Fixed -2.1.0-3ubuntu0.11
Affected 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
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
