Buffer overflow in Libgd
CVE-2016-8670
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.047, 92.0th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
References
- www.php.net/ChangeLog-7.php (Release Notes, Vendor Advisory)
- www.securityfocus.com/bid/93594 (vdb-entry)
- github.com/libgd/libgd/commit/53110871935244816bbb9d131da0bccff734bfe9 (Vendor Advisory)
- [oss-security] 20161015 CVE Request: libgd: Stack Buffer Overflow in GD dynamicGetbuf (mailing-list, Third Party Advisory)
- DSA-3693 (vendor-advisory)
- bugs.php.net/bug.php (Vendor Advisory)
- www.php.net/ChangeLog-5.php (Release Notes, Vendor Advisory)
- support.f5.com/csp/article/K21336065