CVE-2016-5767: Libgd

High severity, CVSS 8.8. EPSS: 6.7% probability of exploitation activity in the next 30 days.

Integer overflow in the gdImageCreate function in gd.c in the GD Graphics Library (aka libgd) before 2.0.34RC1, as used in PHP before 5.5.37, 5.6.x before 5.6.23, and 7.x before 7.0.8, allows remote attackers to cause a denial of service (heap-based buffer overflow and application crash) or possibly have unspecified other impact via a crafted image dimensions.

What to do

No fixed version is stated in NVD's or the CNA's structured data. The description says "before 2.0.34RC1", "before 5.5.37", "before 5.6.23"; check the vendor's advisory for the release that fixes it.

Affected products

Published 2016-08-07. Last modified 2026-06-17.