Resource Management Errors Affecting libgd2 package, versions <2.2.1-1
Snyk CVSS
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-DEBIAN9-LIBGD2-383091
- published 22 May 2016
- disclosed 22 May 2016
Introduced: 22 May 2016
CVE-2015-8877 Open this link in a new tabHow to fix?
Upgrade Debian:9
libgd2
to version 2.2.1-1 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream libgd2
package and not the libgd2
package as distributed by Debian
.
See How to fix?
for Debian:9
relevant fixed versions and status.
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.
References
- https://security-tracker.debian.org/tracker/CVE-2015-8877
- http://www.debian.org/security/2016/dsa-3587
- https://github.com/libgd/libgd/commit/4751b606fa38edc456d627140898a7ec679fcc24
- https://github.com/libgd/libgd/issues/173
- https://bugs.php.net/bug.php?id=70064
- http://www.php.net/ChangeLog-5.php
- http://rhn.redhat.com/errata/RHSA-2016-2750.html
- http://people.ubuntu.com/~ubuntu-security/cve/CVE-2015-8877
- http://www.ubuntu.com/usn/USN-2987-1