{"id":"CVE-2016-8670","url":"https://www.cyber-defence.io/tools/cve/CVE-2016-8670","generatedAt":"2026-10-29T00:33:21.654Z","title":"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…","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.","published":"2017-01-04T20:59:00.000Z","lastModified":"2026-06-17T00:54:47.000Z","status":"Modified","sourceIdentifier":"security@debian.org","cvss":{"version":"3.0","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},"cwe":["CWE-119"],"affected":["libgd/libgd"],"epss":{"score":0.04747,"percentile":0.91825,"date":"2026-10-27","history":[]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"high","text":"High impact if exploited, but EPSS currently rates exploitation as unlikely (4.75%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit."},"changes":[],"references":[{"url":"http://www.debian.org/security/2016/dsa-3693","source":"security@debian.org"},{"url":"http://www.openwall.com/lists/oss-security/2016/10/15/1","tags":["Third Party Advisory"],"source":"security@debian.org"},{"url":"http://www.php.net/ChangeLog-5.php","tags":["Release Notes","Vendor Advisory"],"source":"security@debian.org"},{"url":"http://www.php.net/ChangeLog-7.php","tags":["Release Notes","Vendor Advisory"],"source":"security@debian.org"},{"url":"http://www.securityfocus.com/bid/93594","source":"security@debian.org"},{"url":"https://bugs.php.net/bug.php?id=73280","tags":["Vendor Advisory"],"source":"security@debian.org"},{"url":"https://github.com/libgd/libgd/commit/53110871935244816bbb9d131da0bccff734bfe9","tags":["Vendor Advisory"],"source":"security@debian.org"},{"url":"https://support.f5.com/csp/article/K21336065?utm_source=f5support&amp%3Butm_medium=RSS","source":"security@debian.org"},{"url":"http://www.debian.org/security/2016/dsa-3693","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.openwall.com/lists/oss-security/2016/10/15/1","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.php.net/ChangeLog-5.php","tags":["Release Notes","Vendor Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.php.net/ChangeLog-7.php","tags":["Release Notes","Vendor Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.securityfocus.com/bid/93594","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://bugs.php.net/bug.php?id=73280","tags":["Vendor Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://github.com/libgd/libgd/commit/53110871935244816bbb9d131da0bccff734bfe9","tags":["Vendor Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://support.f5.com/csp/article/K21336065?utm_source=f5support&amp%3Butm_medium=RSS","source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2016-8670","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}