Back
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,…
High7.5EPSS 3.6%
- Published
- Updated
- Reserved
- Assigned by
- mitre
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.0 | High7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 3.6% · top 10% of all CVEs (5 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.5.
Weakness
Affected products
n/a
- affected n/a
References (7)
- https://github.com/libgd/libgd/issues/173 (opens in a new tab)x_refsource_CONFIRMx_transferred
- RHSA-2016:2750 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- https://github.com/libgd/libgd/commit/4751b606fa38edc456d627140898a7ec679fcc24 (opens in a new tab)x_refsource_CONFIRMx_transferred
- http://www.php.net/ChangeLog-5.php (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://bugs.php.net/bug.php?id=70064 (opens in a new tab)x_refsource_CONFIRMx_transferred
- USN-2987-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- DSA-3587 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2015-8877)Record last updated .