CVE-2019-6977
libgd2 - security update
8.8
HIGH
CVSS 3.1
EPSS 87.9%
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.
How to fix CVE-2019-6977
To remediate CVE-2019-6977, upgrade the affected package to a fixed version below.
- —upgrade to 2.2.5-r2 or later
- —upgrade to 2.2.5-5.1 or later
- —upgrade to 2.2.4-2+deb9u4 or later
- —upgrade to 5.6.40+dfsg-0+deb8u1 or later
Is CVE-2019-6977 being exploited?
Likely — EPSS is 87.9%, placing CVE-2019-6977 in the top tier of vulnerabilities by exploitation probability. Prioritise patching.
Affected packages (4)
- from 0, < 2.2.5-r2
- from 0, < 2.2.5-5.1
- from 0, < 2.2.4-2+deb9u4
- from 0, < 5.6.40+dfsg-0+deb8u1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH8.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |