Inconsistent Memory Allocation in gdImageScaleTwoPass Function in libgd

Inconsistent Memory Allocation in gdImageScaleTwoPass Function in libgd

CVE-2015-8877 · MEDIUM Severity

AV:N/AC:L/AU:N/C:N/I:N/A:P

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.

Learn more about our Web Application Penetration Testing UK.