CVE-2015-5589: Input Validation
The pharconverttoother function in ext/phar/pharobject.c in PHP before 5.4.43, 5.5.x before 5.5.27, and 5.6.x before 5.6.11 does not validate a file pointer before a close operation, which allows remote attackers to cause a denial of service (segmentation fault) or possibly have unspecified other impact via a crafted TAR archive that is mishandled in a Phar::convertToData call.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2015-5589?
CVE-2015-5589 has a medium severity rating as it can lead to denial of service via a segmentation fault.
How do I fix CVE-2015-5589?
To fix CVE-2015-5589, upgrade your PHP installation to version 5.4.43, 5.5.27, or 5.6.11 or later.
What versions of PHP are affected by CVE-2015-5589?
CVE-2015-5589 affects PHP versions prior to 5.4.43, 5.5.x before 5.5.27, and 5.6.x before 5.6.11.
Does CVE-2015-5589 allow for remote code execution?
No, CVE-2015-5589 does not allow for remote code execution but it can cause a denial of service.
What specific function in PHP is vulnerable in CVE-2015-5589?
The vulnerable function in CVE-2015-5589 is phar_convert_to_other in the ext/phar/phar_object.c file.