CVE-2016-3074

Exp

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: 2016-04-26 Last update: 2026-05-06 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2016-3074 is rated High Exploit Risk (93.6/100): CVSS Critical severity, with high exploitation likelihood (EPSS 60.49%, 98th percentile). Core evidence: 4 public exploit reference(s) are indexed (Exploit-DB). EPSS rose +6.08% over the last day, indicating growing attacker interest. Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Public exploit references (Exploit-DB) for CVE-2016-3074

EDB-ID Source Kind Published Link
39736 exploit_db edb 2016-04-26 Exploit-DB ↗
nvd_ref exploit_tag Exploit-DB ↗
nvd_ref exploit_tag Exploit-DB ↗
nvd_ref exploit_tag Exploit-DB ↗

Exploit prediction scoring system (EPSS) score for CVE-2016-3074

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-05-14 54.41% 60.49% +6.08%
2 2026-04-26 54.70% 54.41% -0.29%
3 2026-01-06 54.70%

Full EPSS history (26 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2016-3074

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
9.8 3.1 CRITICAL
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
3.9 5.9 [email protected]
7.5 2.0 HIGH
AV:N/AC:L/Au:N/C:P/I:P/A:P Click to expand
Access vector (AV:N)
Can be exploited remotely over network reachability.
Access complexity (AC:L)
Exploitation conditions are straightforward and predictable.
Authentication (AU:N)
No authentication is required.
Confidentiality impact (C:P)
Partial confidentiality impact.
Integrity impact (I:P)
Partial integrity impact.
Availability impact (A:P)
Partial availability impact.
10.0 6.4 [email protected]

Weakness enumeration for CVE-2016-3074

OS Trackers for CVE-2016-3074

vendor priority summary link
debian not yet assigned CVE-2016-3074 not yet assigned priority: Debian including 1 source packages (libgd2), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2016-3074
gentoo normal CVE-2016-3074: 2 GLSA(s) (201607-04, 201611-22), 2 atom(s) (dev-lang/php, media-libs/gd); latest impact normal. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2016-3074
redhat medium https://access.redhat.com/security/cve/CVE-2016-3074
suse medium CVE-2016-3074 severity moderate: SUSE including 201 source package names (apache2-mod_php53, apache2-mod_php7, …), 553 product×package rows across 17 product lines (SUSE Enterprise Storage 7.1, SUSE Linux Enterprise High Performance Computing 15 SP3-ESPOS, … (17 product lines)): Known Not Affected 553. https://www.suse.com/security/cve/CVE-2016-3074/
ubuntu medium CVE-2016-3074 medium priority: Ubuntu including 3 source packages (libgd2, php5, php7.0), 15 status rows across 5 suites (precise, trusty, upstream, wily, xenial): DNE 4, not-affected 4, released 4, needed 3. https://ubuntu.com/security/CVE-2016-3074

Affected software / configurations for CVE-2016-3074

Vendor Product Version Raw CPE
libgd libgd 2.1.1 cpe:2.3:a:libgd:libgd:2.1.1:*:*:*:*:*:*:*
debian debian_linux 7.0 cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:*
debian debian_linux 8.0 cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
fedoraproject fedora 23 cpe:2.3:o:fedoraproject:fedora:23:*:*:*:*:*:*:*
fedoraproject fedora 24 cpe:2.3:o:fedoraproject:fedora:24:*:*:*:*:*:*:*
canonical ubuntu_linux 12.04 cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:-:*:*:*
canonical ubuntu_linux 14.04 cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:esm:*:*:*
canonical ubuntu_linux 15.10 cpe:2.3:o:canonical:ubuntu_linux:15.10:*:*:*:*:*:*:*
canonical ubuntu_linux 16.04 cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:esm:*:*:*
opensuse opensuse 13.2 cpe:2.3:o:opensuse:opensuse:13.2:*:*:*:*:*:*:*
php php >= 5.5.0, < 5.5.35 cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
php php >= 5.6.0, < 5.6.21 cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
php php >= 7.0.0, < 7.0.6 cpe:2.3:a:php:php:*:*:*:*:*:*:*:*

References for CVE-2016-3074

URL Tags
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
cvelogic Threat Intelligence