CVE-2016-5766
Published: 24 June 2016
Integer overflow in the _gd2GetHeader function in gd_gd2.c in the GD Graphics Library (aka libgd) before 2.2.3, as used in PHP before 5.5.37, 5.6.x before 5.6.23, and 7.x before 7.0.8, allows remote attackers to cause a denial of service (heap-based buffer overflow and application crash) or possibly have unspecified other impact via crafted chunk dimensions in an image.
Notes
Author | Note |
---|---|
mdeslaur | php uses the system libgd2 |
sbeattie | PEAR issues should go against php-pear as of xenial |
Priority
Status
Package | Release | Status |
---|---|---|
libgd2 Launchpad, Ubuntu, Debian |
precise |
Released
(2.0.36~rc1~dfsg-6ubuntu2.2)
|
trusty |
Released
(2.1.0-3ubuntu0.2)
|
|
upstream |
Needs triage
|
|
wily |
Released
(2.1.1-4ubuntu0.15.10.2)
|
|
xenial |
Released
(2.1.1-4ubuntu0.16.04.2)
|
|
Patches: upstream: https://github.com/libgd/libgd/commit/aba3db8ba159465ecec1089027a24835a6da9cc0 upstream: https://github.com/libgd/libgd/commit/a6a0e7feabb2a9738086a5dc96348f233c87fa79 |
||
php5 Launchpad, Ubuntu, Debian |
precise |
Not vulnerable
(uses system gd)
|
trusty |
Not vulnerable
(uses system gd)
|
|
upstream |
Released
(5.5.37, 5.6.23)
|
|
wily |
Not vulnerable
(uses system gd)
|
|
xenial |
Does not exist
|
|
php7.0 Launchpad, Ubuntu, Debian |
precise |
Does not exist
|
trusty |
Does not exist
|
|
upstream |
Released
(7.0.8)
|
|
wily |
Does not exist
|
|
xenial |
Not vulnerable
(uses system gd)
|
|
Patches: upstream: http://git.php.net/?p=php-src.git;a=commit;h=7722455726bec8c53458a32851d2a87982cf0eac |
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 |