CVE-2019-6977
Published: 26 January 2019
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.
Notes
Author | Note |
---|---|
mdeslaur | php uses the system libgd2 as of 2019-01-30, commit only in php, not in libgd2 |
Priority
Status
Package | Release | Status |
---|---|---|
libgd2 Launchpad, Ubuntu, Debian |
upstream |
Needs triage
|
trusty |
Released
(2.1.0-3ubuntu0.11)
|
|
xenial |
Released
(2.1.1-4ubuntu0.16.04.11)
|
|
bionic |
Released
(2.2.5-4ubuntu0.3)
|
|
cosmic |
Released
(2.2.5-4ubuntu1.1)
|
|
Patches: other: http://git.php.net/?p=php-src.git;a=commit;h=7a12dad4dd6c370835b13afae214b240082c7538 other: http://git.php.net/?p=php-src.git;a=commit;h=a15af81b5f0058e020eda0f109f51a3c863f5212 |
||
php5 Launchpad, Ubuntu, Debian |
upstream |
Needs triage
|
trusty |
Not vulnerable
(uses system gd)
|
|
xenial |
Does not exist
|
|
bionic |
Does not exist
|
|
cosmic |
Does not exist
|
|
php7.0 Launchpad, Ubuntu, Debian |
upstream |
Needs triage
|
trusty |
Does not exist
|
|
xenial |
Not vulnerable
(uses system gd)
|
|
bionic |
Does not exist
|
|
cosmic |
Does not exist
|
|
php7.2 Launchpad, Ubuntu, Debian |
upstream |
Needs triage
|
trusty |
Does not exist
|
|
xenial |
Does not exist
|
|
bionic |
Not vulnerable
(uses system gd)
|
|
cosmic |
Not vulnerable
(uses system gd)
|
|
php7.3 Launchpad, Ubuntu, Debian |
upstream |
Needs triage
|
trusty |
Does not exist
|
|
xenial |
Does not exist
|
|
bionic |
Does not exist
|
|
cosmic |
Does not exist
|
|
Patches: upstream: http://git.php.net/?p=php-src.git;a=commit;h=7a12dad4dd6c370835b13afae214b240082c7538 |
Severity score breakdown
Parameter | Value |
---|---|
Base score | 8.8 |
Attack vector | Network |
Attack complexity | Low |
Privileges required | None |
User interaction | Required |
Scope | Unchanged |
Confidentiality | High |
Integrity impact | High |
Availability impact | High |
Vector | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |