All reports
Low

gd: gdImageScaleTwoPass function in gd_interpolation.c uses inconsistent allocate and free approaches

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2015-8877

Probability of exploitation in the next 30 days: 3.65%

FIRST EPSS · 2026-11-21

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.