CVE-2015-2301 in Apple Mac Os X and 10 more products
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.
Affects 11 products from 6 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Apple | Mac Os X | ≤ 10.10.4 |
| Canonical | Ubuntu Linux | 10.04 12.04 14.04 14.10 |
| Debian | Debian Linux | 7.0 |
| Opensuse | Opensuse | 13.1 13.2 |
| Php | Php | ≥ 5.4.0, < 5.4.40 ≥ 5.5.0, < 5.5.22 ≥ 5.6.0, < 5.6.6 |
| Redhat | Enterprise Linux Hpc Node | 7.0 |
| Redhat | Enterprise Linux Hpc Node Eus | 7.1 |
| Redhat | Enterprise Linux Server Eus | 7.1 |
| Redhat | Enterprise Linux Server | 7.0 |
| Redhat | Enterprise Linux Desktop | 7.0 |
| Redhat | Enterprise Linux Workstation | 7.0 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2015-2301 |
|---|---|
| BreachSpider ID | BS-2015-GLOBAL-103689-H |
| CVSS vector | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| Published | 2015-03-30 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-416: Use After Free
Software references memory after it has been freed, leading to corruption, crashes, or code execution.
Analysis AI-written, not human-reviewed
This vulnerability was disclosed in 2015. A high severity vulnerability affects Apple systems (CVE-2015-2301). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
Vulnerability details: 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. CVSS vector: AV:N/AC:L/Au:N/C:P/I:P/A:P.
Questions
What is CVE-2015-2301?
This vulnerability was disclosed in 2015. A high severity vulnerability affects Apple systems (CVE-2015-2301). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
What is the CVSS score for CVE-2015-2301?
CVE-2015-2301 has CVSS 7.5 (High). Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P. EPSS: 14.7%.
Is CVE-2015-2301 actively exploited?
No confirmed active exploitation of CVE-2015-2301 as of 2026-09-25.
How do I remediate CVE-2015-2301?
Priority: MEDIUM. Advisory: http://php.net/ChangeLog-5.php PSIRT: [email protected]
What systems are affected by CVE-2015-2301?
CVE-2015-2301 affects Apple Mac Os X; Canonical Ubuntu Linux; Debian Debian Linux; Opensuse Opensuse; Php Php; Redhat Enterprise Linux Hpc Node, Enterprise Linux Hpc Node Eus, Enterprise Linux Server Eus, Enterprise Linux Server, Enterprise Linux Desktop (plus 1 more product).
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Apple","product":"Mac Os X","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.