CVE-2016-3074: Integer signedness error in GD Graphics Library 2.1.1 (aka libgd or libgd2) allows remote attackers to cause a denial of service (crash)…

CVE-2016-3074 affects 11 listed versions of PHP in the Dawnsentry catalogue.

9.8CVSS critical
None knownexploitation
36%EPSS (next 30 days)
26 April 2016published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

PHP

11 of 250 listed versions are affected. Fixed in 5.5.35. The newest release, 8.6.0, is not affected.

5.5.34 5.5.33 5.5.32 5.5.31 5.5.30 5.5.29 5.5.28 5.5.27 5.5.26 5.5.25 5.5.24

What it is

Integer signedness error in GD Graphics Library 2.1.1 (aka libgd or libgd2) allows remote attackers to cause a denial of service (crash) or potentially execute arbitrary code via crafted compressed gd2 data, which triggers a heap-based buffer overflow.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (NVD)

Published by Red Hat on 26 April 2016. Last changed 17 June 2026.

Sources

Check one version you run: look CVE-2016-3074 up, or pick a product and version in the quick lookup.

Updated 2 December 2026.