CVE-2019-6977
Last modified
CVE-2019-6977 is a vulnerability of currently unknown severity. 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.. EPSS estimates a 65.12% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Libgd | Libgd | 2.2.5 |
| Php | Php | < 5.6.40 |
| Php | Php | >= 7.0.0, < 7.1.26 |
| Php | Php | >= 7.2.0, < 7.2.14 |
| Php | Php | 7.3.0 |
| Debian | Debian Linux | 8.0 |
| Debian | Debian Linux | 9.0 |
| Canonical | Ubuntu Linux | 14.04 |
| Canonical | Ubuntu Linux | 16.04 |
| Canonical | Ubuntu Linux | 18.04 |
| Canonical | Ubuntu Linux | 18.10 |
| Netapp | Storage Automation Store | All versions |
References
- http://php.net/ChangeLog-5.phpRelease Notes, Vendor Advisory
- http://php.net/ChangeLog-7.phpRelease Notes, Vendor Advisory
- http://www.securityfocus.com/bid/106731Third Party Advisory, VDB Entry
- https://bugs.php.net/bug.php?id=77270Exploit, Issue Tracking, Mailing List, Vendor Advisory
- https://lists.debian.org/debian-lts-announce/2019/01/msg00028.htmlMailing List, Third Party Advisory
- https://security.gentoo.org/glsa/201903-18Third 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-4384Third Party Advisory
- http://php.net/ChangeLog-5.phpRelease Notes, Vendor Advisory
- http://php.net/ChangeLog-7.phpRelease Notes, Vendor Advisory
- http://www.securityfocus.com/bid/106731Third Party Advisory, VDB Entry
- https://bugs.php.net/bug.php?id=77270Exploit, Issue Tracking, Mailing List, Vendor Advisory
- https://lists.debian.org/debian-lts-announce/2019/01/msg00028.htmlMailing List, Third Party Advisory
- https://security.gentoo.org/glsa/201903-18Third 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-4384Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2019-6977?
How severe is CVE-2019-6977?
How do I fix CVE-2019-6977?
Are you affected by CVE-2019-6977?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
