---
title: "CVE-2015-2301\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2015-2301?format=md
keywords: index, follow
---

# CVE-2015-2301

Publication date 16 March 2015

Last updated 24 July 2024

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

Toggle side navigation

## Description

Use-after-free vulnerability in the phar\_rename\_archive function in
phar\_object.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.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| php5 | 14.10 utopic | Fixed 5.5.12+dfsg-2ubuntu4.3 |
| 14.04 LTS trusty | Fixed 5.5.9+dfsg-1ubuntu4.7 |
| 12.04 LTS precise | Fixed 5.3.10-1ubuntu3.17 |
| 10.04 LTS lucid | Fixed 5.3.2-1ubuntu4.29 |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)
* [Patch details](https://ubuntu.com/security/CVE-2015-2301?format=md#patch-details)

### Patch details

For informational purposes only. We recommend not to cherry-pick updates. [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)

| Package | Patch details |
| --- | --- |
| php5 | * Upstream:   <http://git.php.net/?p=php-src.git;a=commit;h=b2cf3f064b8f5efef89bb084521b61318c71781b> |

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-2301)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2015-2301)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2015-2301)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2015-2301)

### Related Ubuntu Security Notices (USN)

+ [USN-2535-1](https://usn.ubuntu.com/USN-2535-1)
+ PHP vulnerabilities
+ 18 March 2015

### Other references

* <https://www.cve.org/CVERecord?id=CVE-2015-2301>
