CVE-2015-8877
Published: 21 May 2016
The gdImageScaleTwoPass function in gd_interpolation.c in the GD Graphics Library (aka libgd) before 2.2.0, as used in PHP before 5.6.12, uses inconsistent allocate and free approaches, which allows remote attackers to cause a denial of service (memory consumption) via a crafted call, as demonstrated by a call to the PHP imagescale function.
Notes
Author | Note |
---|---|
mdeslaur | php uses the system libgd2 |
tyhicks | 2.1.0-3, as shipped in Trusty, has quite a different implementation for gdImageScaleTwoPass() but I believe it is still affected |
Priority
Status
Package | Release | Status |
---|---|---|
libgd2 Launchpad, Ubuntu, Debian |
precise |
Not vulnerable
(code not present)
|
trusty |
Released
(2.1.0-3ubuntu0.1)
|
|
upstream |
Released
(2.2.0)
|
|
wily |
Released
(2.1.1-4ubuntu0.15.10.1)
|
|
xenial |
Released
(2.1.1-4ubuntu0.16.04.1)
|
|
Patches: upstream: https://github.com/libgd/libgd/commit/4751b606fa38edc456d627140898a7ec679fcc24 |
||
php5 Launchpad, Ubuntu, Debian |
precise |
Not vulnerable
(uses system gd)
|
trusty |
Not vulnerable
(uses system gd)
|
|
upstream |
Released
(5.6.12)
|
|
wily |
Not vulnerable
(uses system gd)
|
|
xenial |
Does not exist
|
|
php7.0 Launchpad, Ubuntu, Debian |
precise |
Does not exist
|
trusty |
Does not exist
|
|
upstream |
Not vulnerable
|
|
wily |
Does not exist
|
|
xenial |
Not vulnerable
(uses system gd)
|
Severity score breakdown
Parameter | Value |
---|---|
Base score | 7.5 |
Attack vector | Network |
Attack complexity | Low |
Privileges required | None |
User interaction | None |
Scope | Unchanged |
Confidentiality | None |
Integrity impact | None |
Availability impact | High |
Vector | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |