CVE Catalog

CVE-2015-8877

High
Published: Translated: NVD NIST

Summary

The gdImageScaleTwoPass function in the GD Graphics Library before version 2.2.0 and in PHP before version 5.6.12 has inconsistent memory allocation and freeing approaches. This allows remote attackers to cause a denial of service through a crafted call.

Risk Assessment

Attackers can exploit this vulnerability to trigger memory consumption, leading to denial of service in applications using this library.

Recommendation

It is recommended to update the GD library to version 2.2.0 or later and PHP to version 5.6.12 or later to mitigate this vulnerability.

Related vulnerabilities

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS