Your submission was sent successfully! Close

You have successfully unsubscribed! Close

Thank you for signing up for our newsletter!
In these regular emails you will find the latest updates about Ubuntu and upcoming events where you can meet our team.Close

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

AuthorNote
mdeslaur
php uses the system libgd2
as of 2019-01-30, commit only in php, not in libgd2

Priority

Medium

Cvss 3 Severity Score

8.8

Score breakdown

Status

Package Release Status
libgd2
Launchpad, Ubuntu, Debian
bionic
Released (2.2.5-4ubuntu0.3)
cosmic
Released (2.2.5-4ubuntu1.1)
trusty
Released (2.1.0-3ubuntu0.11)
upstream Needs triage

xenial
Released (2.1.1-4ubuntu0.16.04.11)
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
bionic Does not exist

cosmic Does not exist

trusty Not vulnerable
(uses system gd)
upstream Needs triage

xenial Does not exist

php7.0
Launchpad, Ubuntu, Debian
bionic Does not exist

cosmic Does not exist

trusty Does not exist

upstream Needs triage

xenial Not vulnerable
(uses system gd)
php7.2
Launchpad, Ubuntu, Debian
bionic Not vulnerable
(uses system gd)
cosmic Not vulnerable
(uses system gd)
trusty Does not exist

upstream Needs triage

xenial Does not exist

php7.3
Launchpad, Ubuntu, Debian
bionic Does not exist

cosmic Does not exist

trusty Does not exist

upstream Needs triage

xenial 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