CVE-2015-2301: Use After Free

Published Feb 20, 2015
·
Updated

Use after free vulnerability reported in PHP "phar" extension [1]. Upstream commit that fixes this: http://git.php.net/?p=php-src.git;a=commit;h=b2cf3f064b8f5efef89bb084521b61318c71781b

[1]: https://bugs.php.net/bug.php?id=68901

Other sources

Use-after-free vulnerability in the pharrenamearchive function in pharobject.c in PHP before 5.5.22 and 5.6.x before 5.6.6 allows remote attackers to cause a denial of service or possibly have unspecified other impact via vectors that trigger an attempted renaming of a Phar archive to the name of an existing file.

MITRE

Affected Software

19 affected componentsFixes available
redhat/php<5.5.22
5.5.22
redhat/php<5.6.6
5.6.6
Canonical Ubuntu Linux=10.04
Canonical Ubuntu Linux=12.04
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=14.10
Debian Debian Linux=7.0
openSUSE openSUSE=13.1
openSUSE openSUSE=13.2
PHP PHP>=5.4.0<5.4.40
PHP PHP>=5.5.0<5.5.22
PHP PHP>=5.6.0<5.6.6
Apple iOS and macOS<=10.10.4
redhat Enterprise Linux Desktop=7.0
redhat Enterprise Linux Hpc Node=7.0
redhat Enterprise Linux Hpc Node Eus=7.1
redhat Enterprise Linux Server=7.0
redhat Enterprise Linux Server Eus=7.1
redhat Enterprise Linux Workstation=7.0

Event History

Mar 30, 2015
CVE Published
via MITRE·10:00 AM
Data Sourced
via MITRE·10:00 AM
Description

Frequently Asked Questions

1

What is the severity of CVE-2015-2301?

CVE-2015-2301 is classified as a high severity vulnerability due to the potential for arbitrary code execution through the PHP 'phar' extension.

2

How do I fix CVE-2015-2301?

To fix CVE-2015-2301, update PHP to version 5.5.22 or 5.6.6 or later, as those versions contain the necessary security patches.

3

Which PHP versions are affected by CVE-2015-2301?

CVE-2015-2301 affects PHP versions from 5.4.0 up to 5.4.40, 5.5.0 up to 5.5.22, and 5.6.0 up to 5.6.6.

4

What types of systems are affected by CVE-2015-2301?

CVE-2015-2301 affects several systems, including specific versions of Ubuntu, Debian, openSUSE, and Red Hat Enterprise Linux.

5

Is CVE-2015-2301 exploitable remotely?

Yes, CVE-2015-2301 can be exploited remotely, allowing attackers to execute malicious code on affected systems.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203