CVE-2015-2348
Reported by mitre · Published March 30, 2015
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| mac_os_x | apple | 10.10.5 |
| php5 | Ubuntu:14.04:LTS | 5.5.9+dfsg-1ubuntu4.9 |
| php | php | 5.4.38 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| n/a | n/a | * |
Timeline
- Mar 30, 2015 CVE Published
- Feb 4, 2022 EPSS Score (30 in total, the first dated here)
- Sep 8, 2025 CVE Updated
- Mar 5, 2026 Distribution Patch (5 in total, the first dated here)
- Mar 5, 2026 Security Advisory (7 in total, the first dated here)
- Oct 15, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2015-2348
vulnetix vdb fixes CVE-2015-2348
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2015-2348/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- HPSBMU03409 vendor-advisoryx_refsource_HP
- x_refsource_CONFIRM
- APPLE-SA-2015-09-30-3 vendor-advisoryx_refsource_APPLE
- HPSBMU03380 vendor-advisoryx_refsource_HP
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- SUSE-SU-2015:0868 vendor-advisoryx_refsource_SUSE
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- 1032484 vdb-entryx_refsource_SECTRACK
- 73434 vdb-entryx_refsource_BID
- USN-2572-1 vendor-advisoryx_refsource_UBUNTU
- RHSA-2015:1135 vendor-advisoryx_refsource_REDHAT
- RHSA-2015:1053 vendor-advisoryx_refsource_REDHAT
- openSUSE-SU-2015:0684 vendor-advisoryx_refsource_SUSE
- GLSA-201606-10 vendor-advisoryx_refsource_GENTOO
- RHSA-2015:1066 vendor-advisoryx_refsource_REDHAT