CVE-2015-8877
gd: gdImageScaleTwoPass function in gd_interpolation.c uses inconsistent allocate and free approaches
Severity
LowRed Hat Product Security
CVSS 2.0
Review impact separately from score.
Published · July 13, 2015
Updated · June 28, 2026
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 score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 2.0 · 2.6AV:N/AC:H/Au:N/C:N/I:N/A:P
CWE-772 · Missing Release of Resource after Effective Lifetime