PT-2016-2120
CVE-2015-8877
·
Published
2016-05-21
·
Updated
2018-01-05
Description by
CVSS 3.1
7.5
HighMetricsAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions
GD Graphics Library versions prior to 2.2.0
PHP versions prior to 5.6.12
Description
The issue is related to the
gdImageScaleTwoPass function in the GD Graphics Library, which uses inconsistent memory allocation and deallocation approaches. This inconsistency can be exploited by remote attackers to cause a denial of service through memory consumption. The exploitation can be achieved by making a crafted call to the function, for example, through the PHP imagescale function.Recommendations
For GD Graphics Library versions prior to 2.2.0, update to version 2.2.0 or later to resolve the issue.
For PHP versions prior to 5.6.12, update to version 5.6.12 or later to resolve the issue.
As a temporary workaround, consider restricting access to the
imagescale function in PHP until the issue is resolved.Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾