CVE-2015-8877
HIGH
7.5
CVSS 3.0
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.
Affected products and versions
- PHP — Up to and including 5.6.11
References
- rhn.redhat.com http://rhn.redhat.com/errata/RHSA-2016-2750.html
- www.debian.org http://www.debian.org/security/2016/dsa-3587
- www.php.net http://www.php.net/ChangeLog-5.php
- www.ubuntu.com http://www.ubuntu.com/usn/USN-2987-1
- bugs.php.net https://bugs.php.net/bug.php?id=70064 Exploit
- github.com https://github.com/libgd/libgd/commit/4751b606fa38edc456d627140898a7ec679fcc24 Patch
- github.com https://github.com/libgd/libgd/issues/173 Patch
- nvd.nist.gov Official NVD record