CVE-2016-8670: libgd
CVSS: 9.8v3.0CriticalModified
AliasesUBUNTU-CVE-2016-8670DEBIAN-CVE-2016-8670
Published 04-01-2017Last modified 06-08-2024
Vulnerability summary
CVE-2016-8670 is a critical (CVSS 9.8) vulnerability in libgd. EPSS estimates a 4.75% chance of exploitation in the next 30 days, higher than 91.7% of scored vulnerabilities.
CVSS score
9.8/10
010
Critical · v3.0 (NVD)EPSS score
4.75%
0%100%
Low · -0.04 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded
Advisory lineage
Upstream 0 · Downstream 10 · Related 7Timeline
- 04-01-2017PublishedVulnerability first disclosed.
- 06-08-2024Last modifiedVulnerability information updated.
Description
Integer signedness error in the dynamicGetbuf function in gd_io_dp.c in the GD Graphics Library (aka libgd) through 2.2.3, as used in PHP before 5.6.28 and 7.x before 7.0.13, allows remote attackers to cause a denial of service (stack-based buffer overflow) or possibly have unspecified other impact via a crafted imagecreatefromstring call.
CVSS metrics
4 scores · 3 sources · 2 versionsCritical 9.8Preferred score · NVD (NIST)
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HSourcesAll 3 agree
- OSV · UbuntuEcosystem advisory · calculated9.8CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated9.8CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
High 7.5Preferred score · NVD (NIST)
AV:N/AC:L/Au:N/C:P/I:P/A:PSourcesSingle source
EPSS trend
Probability
4.75%
Chance of exploitation in the next 30 days
Percentile
92%
Versus all other CVEs
30-day change
-0.04 pp
From 4.79% on 20-09-2026
20-09-202620-10-2026
EPSS score4.75%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Debian1 product
- libgd2< 2.2.3-87-gd0fec80-1
Libgd1 product
- libgd≤ 2.2.3
Ubuntu1 product
- libgd2< 2.1.0-3ubuntu0.5 | < 2.1.1-4ubuntu0.16.04.5
3 vendors · 3 products
References
12 links- github.com/libgd/libgd/commit/53110871935244816bbb9d131da0bccff734bfe9X Refsource CONFIRMVendor Advisory
- www.openwall.com/lists/oss-security/2016/10/15/1Mailing ListX Refsource MLISTThird Party AdvisoryREPORT