CVE-2016-8670

Summary

CVECVE-2016-8670
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2017-01-04 20:59:00 UTC
Updated2023-11-07 02:36:00 UTC
DescriptionInteger 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.

Risk And Classification

Problem Types: CWE-119

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Libgd Libgd All All All All
Application Php Php 7.0.0 All All All
Application Php Php 7.0.1 All All All
Application Php Php 7.0.10 All All All
Application Php Php 7.0.11 All All All
Application Php Php 7.0.12 All All All
Application Php Php 7.0.2 All All All
Application Php Php 7.0.3 All All All
Application Php Php 7.0.4 All All All
Application Php Php 7.0.5 All All All
Application Php Php 7.0.6 All All All
Application Php Php 7.0.7 All All All
Application Php Php 7.0.8 All All All
Application Php Php 7.0.9 All All All
Application Php Php All All All All
Application Php Php 7.0.0 All All All
Application Php Php 7.0.1 All All All
Application Php Php 7.0.10 All All All
Application Php Php 7.0.11 All All All
Application Php Php 7.0.12 All All All
Application Php Php 7.0.2 All All All
Application Php Php 7.0.3 All All All
Application Php Php 7.0.4 All All All
Application Php Php 7.0.5 All All All
Application Php Php 7.0.6 All All All
Application Php Php 7.0.7 All All All
Application Php Php 7.0.8 All All All
Application Php Php 7.0.9 All All All
Application Php Php All All All All

References

ReferenceSourceLinkTags
oss-security - CVE Request: libgd: Stack Buffer Overflow in GD dynamicGetbuf MLIST www.openwall.com Third Party Advisory
support.f5.com/csp/article/K21336065 CONFIRM support.f5.com
Debian -- Security Information -- DSA-3693-1 libgd2 DEBIAN www.debian.org
PHP :: Sec Bug #73280 :: Stack Buffer Overflow in GD dynamicGetbuf CONFIRM bugs.php.net Vendor Advisory
PHP LibGD CVE-2016-8670 Stack Buffer Overflow Vulnerability BID www.securityfocus.com
Avoid potentially dangerous signed to unsigned conversion · libgd/libgd@5311087 · GitHub CONFIRM github.com Vendor Advisory
myF5 support.f5.com
PHP: PHP 7 ChangeLog CONFIRM www.php.net Release Notes, Vendor Advisory
PHP: PHP 5 ChangeLog CONFIRM www.php.net Release Notes, Vendor Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report