Live threats

All CVEs / Libgd

CVE-2016-8670Libgd

Critical 9.8 No auth needed

Priority
74
CVSS 3.0
9.8
EPSS
4.7%
probability of exploitation in 30 days · percentile 93
Auth required
No
Published
Jan 4, 2017
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-119
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

Integer signedness error in the dynamicGetbuf function in gd_io_dp.c in the GD Graphics Library (aka libgd) through 2.2.3, as used in PHP before 5.6.28 and 7.x before 7.0.13, allows remote attackers to cause a denial of service (stack-based buffer overflow) or possibly have unspecified other impact via a crafted imagecreatefromstring call.

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.2.3

Official sources

References

Links published by the sources. Open them with care.