VDB
CVE-2016-3074
CVE-2016-3074
PUBLISHED
Reported by redhat · Published April 26, 2016
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| gd | Alpine | 2.2.1-r2, 2.2.1-r0 |
| php | php | 7.0.6, 5.6.21, 5.5.35 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| alpine | gd | 0, 0 |
| n/a | n/a | * |
| libgd | libgd |
Timeline
- Apr 25, 2016 PoC Published (2 in total, the first dated here)
- Apr 26, 2016 CVE Published
- Feb 4, 2022 EPSS Score (30 in total, the first dated here)
- Sep 8, 2025 CVE Updated
- Mar 5, 2026 Distribution Patch (4 in total, the first dated here)
- Mar 5, 2026 Security Advisory (7 in total, the first dated here)
- Oct 9, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2016-3074
vulnetix vdb fixes CVE-2016-3074
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2016-3074/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- DSA-3556 vendor-advisoryx_refsource_DEBIAN
- 39736 exploitx_refsource_EXPLOIT-DB
- GLSA-201611-22 vendor-advisoryx_refsource_GENTOO
- 87087 vdb-entryx_refsource_BID
- RHSA-2016:2750 vendor-advisoryx_refsource_REDHAT
- 20160421 CVE-2016-3074: libgd: signedness vulnerability mailing-listx_refsource_FULLDISC
- DSA-3602 vendor-advisoryx_refsource_DEBIAN
- FEDORA-2016-0c57b12c7b vendor-advisoryx_refsource_FEDORA
- 1035659 vdb-entryx_refsource_SECTRACK
- GLSA-201607-04 vendor-advisoryx_refsource_GENTOO
- USN-2987-1 vendor-advisoryx_refsource_UBUNTU
- SSA:2016-120-02 vendor-advisoryx_refsource_SLACKWARE
- x_refsource_MISC
- x_refsource_CONFIRM
- 20160421 CVE-2016-3074: libgd: signedness vulnerability mailing-listx_refsource_BUGTRAQ
- FEDORA-2016-5f91f43826 vendor-advisoryx_refsource_FEDORA
- openSUSE-SU-2016:1274 vendor-advisoryx_refsource_SUSE
- x_refsource_CONFIRM