PT-2016-2120 · Php+3 · Php+3

Cmb69

·

Published

2016-05-21

·

Updated

2018-01-05

·

CVE-2015-8877

CVSS v3.1

7.5

High

VectorAV: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.

Exploit

Fix

DoS

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BDU:2016-01473
CVE-2015-8877
DSA-3587-1
MGASA-2016-0215
OPENSUSE-SU-2016_1553-1
RHSA-2016:2750
SUSE-SU-2016:1633-1
USN-2987-1

Affected Products

Gd Graphics Library
Php
Suse
Ubuntu