CVE-2015-2348 in Apple Mac Os X and 8 more products
The move_uploaded_file implementation in ext/standard/basic_functions.c in PHP before 5.4.39, 5.5.x before 5.5.23, and 5.6.x before 5.6.7 truncates a pathname upon encountering a \x00 character, which allows remote attackers to bypass intended extension restrictions and create files with unexpected names via a craft...
Affects 9 products from 4 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no confidentiality impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Apple | Mac Os X | ≤ 10.10.5 |
| Opensuse | Opensuse | 13.1 13.2 |
| Php | Php | 5.5.0 5.5.1 5.5.2 5.5.3 5.5.4 5.5.5+25 more5.5.6 5.5.7 5.5.8 5.5.9 5.5.10 5.5.11 5.5.12 5.5.13 5.5.14 5.5.15 5.5.16 5.5.17 5.5.18 5.5.19 5.5.20 5.5.21 5.5.22 5.6.0 5.6.1 5.6.2 5.6.3 5.6.4 5.6.5 5.6.6 ≤ 5.4.38 |
| Redhat | Enterprise Linux Server Eus | 7.1 |
| Redhat | Enterprise Linux Desktop | 7.0 |
| Redhat | Enterprise Linux Hpc Node Eus | 7.1 |
| Redhat | Enterprise Linux Hpc Node | 7.0 |
| Redhat | Enterprise Linux Server | 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
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
The move_uploaded_file implementation in ext/standard/basic_functions.c in PHP before 5.4.39, 5.5.x before 5.5.23, and 5.6.x before 5.6.7 truncates a pathname upon encountering a \x00 character, which allows remote attackers to bypass intended extension restrictions and create files with unexpected names via a crafted second argument. NOTE: this vulnerability exists because of an incomplete fix for CVE-2006-7243.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2015-2348 |
|---|---|
| BreachSpider ID | BS-2015-GLOBAL-263112-M |
| CVSS vector | AV:N/AC:L/Au:N/C:N/I:P/A:N |
| Published | 2015-03-30 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-264: Permissions, Privileges, and Access Controls
Broad class covering failures in permission enforcement. Deprecated in favor of CWE-284, CWE-862, CWE-863.
Analysis AI-written, not human-reviewed
This vulnerability was disclosed in 2015. A medium severity vulnerability affects Apple systems (CVE-2015-2348). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
Vulnerability details: The move_uploaded_file implementation in ext/standard/basic_functions.c in PHP before 5.4.39, 5.5.x before 5.5.23, and 5.6.x before 5.6.7 truncates a pathname upon encountering a \x00 character, which allows remote attackers to bypass intended extension restrictions and create files with unexpected names via a crafted second argument. NOTE: this vulnerability exists because of an incomplete fix for CVE-2006-7243. CVSS vector: AV:N/AC:L/Au:N/C:N/I:P/A:N.
Questions
What is CVE-2015-2348?
This vulnerability was disclosed in 2015. A medium severity vulnerability affects Apple systems (CVE-2015-2348). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
What is the CVSS score for CVE-2015-2348?
CVE-2015-2348 has CVSS 5.0 (Medium). Vector: AV:N/AC:L/Au:N/C:N/I:P/A:N. EPSS: 8.3%.
Is CVE-2015-2348 actively exploited?
No confirmed active exploitation of CVE-2015-2348 as of 2026-09-25.
How do I remediate CVE-2015-2348?
Priority: MONITOR. Advisory: https://www.cisa.gov/news-events/ics-advisories/icsa-26-027-02
What systems are affected by CVE-2015-2348?
CVE-2015-2348 affects Apple Mac Os X; Opensuse Opensuse; Php Php; Redhat Enterprise Linux Server Eus, Enterprise Linux Desktop, Enterprise Linux Hpc Node Eus, Enterprise Linux Hpc Node, Enterprise Linux Server, Enterprise Linux Workstation.
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.