PT-2016-3143

CVE-2016-8670

·

Published

2016-10-14

·

Updated

2017-11-04

Description by

CVSS 3.1
9.8
Critical
MetricsAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions GD Graphics Library versions prior to 2.2.4 PHP versions prior to 5.6.28 and 7.x prior to 7.0.13
Description The issue is caused by an integer signedness error in the dynamicGetbuf function in gd io dp.c of the GD Graphics Library. This error leads to a stack-based buffer overflow. Exploitation of this issue may allow a remote attacker to cause a denial of service or possibly have other unspecified impacts via a specially crafted imagecreatefromstring call.
Recommendations For GD Graphics Library versions prior to 2.2.4, update to version 2.2.4 or later to resolve the issue. For PHP versions prior to 5.6.28, update to version 5.6.28 or later to resolve the issue. For PHP 7.x versions prior to 7.0.13, update to version 7.0.13 or later to resolve the issue. As a temporary workaround, consider restricting the use of the imagecreatefromstring function until a patch is available.
Exploitability
Fix
Impacts
Vendors
Affected products
Related identifiers
DLA-665-1
DSA-3693-1
MGASA-2016-0421
OPENSUSE-SU-2016_2606-1
OPENSUSE-SU-2016_2772-1
OPENSUSE-SU-2016_2831-1
OPENSUSE-SU-2016_2837-1
SUSE-SU-2016:2668-1
SUSE-SU-2016:2670-1
SUSE-SU-2016:2681-1
SUSE-SU-2016:2683-1
SUSE-SU-2016:2683-2
SUSE-SU-2016:2766-1
USN-3117-1
Found an issue in the description? Have something to add? Feel free to write us 👾