CVE-2015-8877 (retired)

Priority
Description
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
 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
Assigned-to
mdeslaur
Package
Upstream:released (2.2.0)
Ubuntu 14.04 LTS (Trusty Tahr):released (2.1.0-3ubuntu0.1)
Ubuntu 16.04 LTS (Xenial Xerus):released (2.1.1-4ubuntu0.16.04.1)
Patches:
Upstream:https://github.com/libgd/libgd/commit/4751b606fa38edc456d627140898a7ec679fcc24
Package
Source: php5 (LP Ubuntu Debian)
Upstream:released (5.6.12)
Ubuntu 14.04 LTS (Trusty Tahr):not-affected (uses system gd)
Ubuntu 16.04 LTS (Xenial Xerus):DNE
Package
Upstream:not-affected
Ubuntu 14.04 LTS (Trusty Tahr):DNE
Ubuntu 16.04 LTS (Xenial Xerus):not-affected (uses system gd)
More Information

Updated: 2019-03-26 12:17:49 UTC (commit ccdecfcf0fead22bd291e5f4ea745a46872dcb15)