PT-2015-3252 · Php+1 · Php+2

Hugh

·

Published

2015-12-31

·

Updated

2018-06-30

·

CVE-2015-8865

CVSS v2.0

7.5

High

VectorAV:N/AC:L/Au:N/C:P/I:P/A:P
Name of the Vulnerable Software and Affected Versions PHP versions prior to 5.5.34 PHP versions 5.6.x prior to 5.6.20 PHP versions 7.x prior to 7.0.5 Fileinfo component in file before 5.23
Description The issue is caused by a buffer overflow in the file check mem function, which can be exploited by a remote attacker to cause a denial of service or possibly execute arbitrary code via a specially crafted magic file. The file check mem function mishandles continuation-level jumps.
Recommendations For PHP versions prior to 5.5.34, update to version 5.5.34 or later. For PHP versions 5.6.x prior to 5.6.20, update to version 5.6.20 or later. For PHP versions 7.x prior to 7.0.5, update to version 7.0.5 or later. For the Fileinfo component in file before 5.23, update to version 5.23 or later. As a temporary workaround, consider restricting access to the file check mem function in the Fileinfo component until a patch is available.

Exploit

Fix

DoS

Buffer Overflow

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

Weakness Enumeration

Related Identifiers

BDU:2016-01463
CVE-2015-8865
DLA-460-1
DLA-499-1
DSA-3560-1
RHSA-2016:2750
USN-2952-1
USN-2984-1
USN-3686-1
USN-3686-2

Affected Products

Fileinfo
Php
Ubuntu