Vulnerability database / CVE-2016-3074
CVE-2016-3074
CRITICAL 9.8 CVSS 3.1 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.
Published 26 Apr 2016
Last modified 17 Jun 2026 Assigned by secalert@redhat.com NVD status Modified Weakness
CWE-681 Sources
NVD JSON Scores
Source Scored by Version Score Vector / decision
NVD
nvd@nist.gov (Primary)
CVSS 3.1
CRITICAL 9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HNVD
nvd@nist.gov (Primary)
CVSS 2.0
HIGH 7.5
AV:N/AC:L/Au:N/C:P/I:P/A:P
Affected
Source Vendor / ecosystem Product / package Affected versions Fixed in
NVD
libgd
libgdcpe:2.3:a:libgd:libgd:2.1.1:*:*:*:*:*:*:*
= 2.1.1
NVD
debian
debian_linuxcpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:*
= 7.0
NVD
debian
debian_linuxcpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
= 8.0
NVD
fedoraproject
fedoracpe:2.3:o:fedoraproject:fedora:23:*:*:*:*:*:*:*
= 23
NVD
fedoraproject
fedoracpe:2.3:o:fedoraproject:fedora:24:*:*:*:*:*:*:*
= 24
NVD
canonical
ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:-:*:*:*
= 12.04
NVD
canonical
ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:esm:*:*:*
= 14.04
NVD
canonical
ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:15.10:*:*:*:*:*:*:*
= 15.10
NVD
canonical
ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:esm:*:*:*
= 16.04
NVD
opensuse
opensusecpe:2.3:o:opensuse:opensuse:13.2:*:*:*:*:*:*:*
= 13.2
NVD
php
phpcpe:2.3:a:php:php:*:*:*:*:*:*:*:*
>= 5.5.0, < 5.5.35
5.5.35 NVD
php
phpcpe:2.3:a:php:php:*:*:*:*:*:*:*:*
>= 5.6.0, < 5.6.21
5.6.21 NVD
php
phpcpe:2.3:a:php:php:*:*:*:*:*:*:*:*
>= 7.0.0, < 7.0.6
7.0.6
References
http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183263.html · Mailing List, Third Party Advisory http://lists.fedoraproject.org/pipermail/package-announce/2016-May/183724.html · Mailing List, Third Party Advisory http://lists.opensuse.org/opensuse-security-announce/2016-05/msg00031.html · Mailing List, Third Party Advisory http://packetstormsecurity.com/files/136757/libgd-2.1.1-Signedness.html · Exploit, Third Party Advisory, VDB Entry http://rhn.redhat.com/errata/RHSA-2016-2750.html · Third Party Advisory http://seclists.org/fulldisclosure/2016/Apr/72 · Exploit, Mailing List, Third Party Advisory http://www.debian.org/security/2016/dsa-3556 · Third Party Advisory http://www.debian.org/security/2016/dsa-3602 · Third Party Advisory http://www.securityfocus.com/archive/1/538160/100/0/threaded · Third Party Advisory, VDB Entry http://www.securityfocus.com/bid/87087 · Third Party Advisory, VDB Entry http://www.securitytracker.com/id/1035659 · Broken Link, Third Party Advisory, VDB Entry http://www.slackware.com/security/viewer.php?l=slackware-security&y=2016&m=slackware-security.383127 · Third Party Advisory http://www.ubuntu.com/usn/USN-2987-1 · Third Party Advisory https://github.com/libgd/libgd/commit/2bb97f407c1145c850416a3bfbcc8cf124e68a19 · Patch, Third Party Advisory https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05240731 · Third Party Advisory https://security.gentoo.org/glsa/201607-04 · Third Party Advisory https://security.gentoo.org/glsa/201611-22 · Third Party Advisory https://www.exploit-db.com/exploits/39736/ · Exploit, Third Party Advisory, VDB Entry
History
25 Nov 2026 20:19 UTC · NVD: first stored (published 26 Apr 2016)