What’s Vulnerable › Vulnerabilities
CVE-2015-5589
- Severity: critical (CVSS 9.8 v3.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 6.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2016-05-16 · updated 2026-06-17
- Weakness: CWE-20
Description
The phar_convert_to_other function in ext/phar/phar_object.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 products
- PHP: through 5.4.42; 5.6.0-alpha1, 5.6.0-alpha2, 5.6.0-alpha3, 5.6.0-alpha4, 5.6.0-alpha5, 5.6.0-beta1 (+52)
References
- http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=bf58162ddf970f63502837f366930e44d6a992cf
- http://openwall.com/lists/oss-security/2015/07/18/1
- http://php.net/ChangeLog-5.php
- http://www.debian.org/security/2015/dsa-3344
- http://www.securityfocus.com/bid/75974
- https://bugs.php.net/bug.php?id=69958
- http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=bf58162ddf970f63502837f366930e44d6a992cf
- http://openwall.com/lists/oss-security/2015/07/18/1
- http://php.net/ChangeLog-5.php
- http://www.debian.org/security/2015/dsa-3344
- http://www.securityfocus.com/bid/75974
- https://bugs.php.net/bug.php?id=69958
Get alerted when CVE-2015-5589 or the next vulnerability affects your stack