CVEvulnerability
CVE-2015-8877
7.5 HIGH
Official page ↗
- Status
- Modified
- Published
- 2016-05-22
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.0 ([email protected])
- 7.5 HIGH — CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CVSS 2.0 ([email protected])
- 5.0 MEDIUM — AV:N/AC:L/Au:N/C:N/I:N/A:P
- Weaknesses
- CWE-399
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 configurations
• libgd libgd (<= 2.1.1)
• php php (<= 5.6.11)
Related
Weakness · not in database (1)
References
- http://rhn.redhat.com/errata/RHSA-2016-2750.html rhn.redhat.com
- http://www.debian.org/security/2016/dsa-3587 www.debian.org
- http://www.php.net/ChangeLog-5.php www.php.net
- http://www.ubuntu.com/usn/USN-2987-1 www.ubuntu.com
- https://bugs.php.net/bug.php?id=70064 Exploit
- https://github.com/libgd/libgd/commit/4751b606fa38edc456d627140898a7ec679fcc24 Patch
- https://github.com/libgd/libgd/issues/173 Patch
- http://rhn.redhat.com/errata/RHSA-2016-2750.html rhn.redhat.com
- http://www.debian.org/security/2016/dsa-3587 www.debian.org
- http://www.php.net/ChangeLog-5.php www.php.net
- http://www.ubuntu.com/usn/USN-2987-1 www.ubuntu.com
- https://bugs.php.net/bug.php?id=70064 Exploit
- https://github.com/libgd/libgd/commit/4751b606fa38edc456d627140898a7ec679fcc24 Patch
- https://github.com/libgd/libgd/issues/173 Patch