Vulnerabilities · 2015 · Libgd
CVE-2015-8877
Libgd vulnerability
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
Libgd, Php. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Libgd runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/libgd/libgd/commit/4751b606fa38edc456d627140898a7ec679fcc24 · Patch
- github.com/libgd/libgd/issues/173 · Patch
- bugs.php.net/bug.php?id=70064 · Exploit
- rhn.redhat.com/errata/RHSA-2016-2750.html
- www.debian.org/security/2016/dsa-3587
- www.php.net/ChangeLog-5.php
- www.ubuntu.com/usn/USN-2987-1
- nvd.nist.gov/vuln/detail/CVE-2015-8877
- cve.org/CVERecord?id=CVE-2015-8877
More vulnerabilities in Libgd products
CVE-2021-40812CVE-2021-40145CVE-2021-38115CVE-2019-11038CVE-2019-6978CVE-2019-6977CVE-2018-1000222CVE-2018-14553All 39
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.