Live threats

All CVEs / Libgd

CVE-2015-8877Libgd

High 7.5 No auth needed

Priority
60
CVSS 3.0
7.5
EPSS
3.6%
probability of exploitation in 30 days · percentile 90
Auth required
No
Published
May 22, 2016
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-399
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Libgd.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
libgdlibgd≤ 2.1.1
phpphp≤ 5.6.11

Official sources

References

Links published by the sources. Open them with care.