CVE-2015-8877
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…
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (3.65%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 3.0
- 7.5 HIGHCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS
- 3.65% probability · 89th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-399
- Affected
- libgd/libgd · php/php
- Source
- cve@mitre.org
References
- http://rhn.redhat.com/errata/RHSA-2016-2750.html
- http://www.debian.org/security/2016/dsa-3587
- http://www.php.net/ChangeLog-5.php
- http://www.ubuntu.com/usn/USN-2987-1
- https://bugs.php.net/bug.php?id=70064Exploit
- https://github.com/libgd/libgd/commit/4751b606fa38edc456d627140898a7ec679fcc24Patch
- https://github.com/libgd/libgd/issues/173Patch
- http://rhn.redhat.com/errata/RHSA-2016-2750.html
- http://www.debian.org/security/2016/dsa-3587
- http://www.php.net/ChangeLog-5.php
- http://www.ubuntu.com/usn/USN-2987-1
- https://bugs.php.net/bug.php?id=70064Exploit
- https://github.com/libgd/libgd/commit/4751b606fa38edc456d627140898a7ec679fcc24Patch
- https://github.com/libgd/libgd/issues/173Patch
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.