CVE-2016-3074
publishedphp: Signedness vulnerability causing heap overflow in libgd
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | redhat |
| Alpine Linux | v3.2 | gd | Fixed | 2.2.1-r2 | Package fix record |
| Debian | jessie | libgd2 | Advisory build | 2.1.0-5+deb8u1 | DSA-3556-1 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56src | Advisory build | 2.3-1.el6 | RHSA-2016:2750 |
| Ubuntu | trusty | libgd-tools | Advisory build | 2.1.0-3ubuntu0.1 | USN-2987-1 |
| Alpine Linux | v3.3 | gd | Fixed | 2.2.1-r2 | Package fix record |
| Alpine Linux | v3.4 | gd | Fixed | 2.2.1-r0 | Package fix record |
| Debian | jessie | php5 | Advisory build | 5.6.22+dfsg-0+deb8u1 | DSA-3602-1 |
Show 77 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Debian | wheezy | libgd2 | Advisory build | 2.0.36~rc1~dfsg-6.1+deb7u2 | DSA-3556-1 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56x86_64 | Advisory build | 2.3-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-phpsrc | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-phpx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-bcmathx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-clix86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-commonx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-dbax86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-dbgx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-debuginfox86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-develx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-embeddedx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-enchantx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-fpmx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-gdx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-gmpx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-imapx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-intlx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-ldapx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-mbstringx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-mysqlndx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-odbcx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-opcachex86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-pdox86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-pearnoarch | Advisory build | 1:1.9.5-4.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-pearsrc | Advisory build | 1:1.9.5-4.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-pgsqlx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-processx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-pspellx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-recodex86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-snmpx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-soapx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-tidyx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-xmlx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-xmlrpcx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-runtimex86_64 | Advisory build | 2.3-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-scldevelx86_64 | Advisory build | 2.3-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56src | Advisory build | 2.3-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56x86_64 | Advisory build | 2.3-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-phpsrc | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-phpx86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-bcmathx86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-clix86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-commonx86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-dbax86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-dbgx86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-debuginfox86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-develx86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-embeddedx86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-enchantx86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-fpmx86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-gdx86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-gmpx86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-intlx86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-ldapx86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-mbstringx86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-mysqlndx86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-odbcx86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-opcachex86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-pdox86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-pearnoarch | Advisory build | 1:1.9.5-4.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-pearsrc | Advisory build | 1:1.9.5-4.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-pgsqlx86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-processx86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-pspellx86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-recodex86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-snmpx86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-soapx86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-xmlx86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-xmlrpcx86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-runtimex86_64 | Advisory build | 2.3-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-scldevelx86_64 | Advisory build | 2.3-1.el7 | RHSA-2016:2750 |
| Ubuntu | trusty | libgd2 | Advisory build | 2.1.0-3ubuntu0.1 | USN-2987-1 |
| Ubuntu | trusty | libgd3 | Advisory build | 2.1.0-3ubuntu0.1 | USN-2987-1 |
| Ubuntu | xenial | libgd-tools | Advisory build | 2.1.1-4ubuntu0.16.04.1 | USN-2987-1 |
| Ubuntu | xenial | libgd2 | Advisory build | 2.1.1-4ubuntu0.16.04.1 | USN-2987-1 |
| Ubuntu | xenial | libgd3 | Advisory build | 2.1.1-4ubuntu0.16.04.1 | USN-2987-1 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | redhat · cna |
Weaknesses
1- n/a
References
18- FEDORA-2016-5f91f43826 http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183263.html
- FEDORA-2016-0c57b12c7b http://lists.fedoraproject.org/pipermail/package-announce/2016-May/183724.html
- openSUSE-SU-2016:1274 http://lists.opensuse.org/opensuse-security-announce/2016-05/msg00031.html
- http://packetstormsecurity.com/files/136757/libgd-2.1.1-Signedness.html
- RHSA-2016:2750 http://rhn.redhat.com/errata/RHSA-2016-2750.html
- 20160421 CVE-2016-3074: libgd: signedness vulnerability http://seclists.org/fulldisclosure/2016/Apr/72
- DSA-3556 http://www.debian.org/security/2016/dsa-3556
- DSA-3602 http://www.debian.org/security/2016/dsa-3602
- 20160421 CVE-2016-3074: libgd: signedness vulnerability http://www.securityfocus.com/archive/1/538160/100/0/threaded
- 87087 http://www.securityfocus.com/bid/87087
- 1035659 http://www.securitytracker.com/id/1035659
- SSA:2016-120-02 http://www.slackware.com/security/viewer.php?l=slackware-security&y=2016&m=slackware-security.383127
- USN-2987-1 http://www.ubuntu.com/usn/USN-2987-1
- https://github.com/libgd/libgd/commit/2bb97f407c1145c850416a3bfbcc8cf124e68a19
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05240731
- GLSA-201607-04 https://security.gentoo.org/glsa/201607-04
- GLSA-201611-22 https://security.gentoo.org/glsa/201611-22
- 39736 https://www.exploit-db.com/exploits/39736/
Provider assertions
2redhat · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- f163746b9e67c9d67e9d91c99c639a15b5db258c032d21fd0e55fc606b3a6d7b
- Ingested
- 23 Sep 2026, 07:41:14 UTC
- Source record
- Official CVE record