CVE-2015-2348: Apple Mac OS X
Medium severity, CVSS 5.0. EPSS: 8.6% chance of exploitation in the next 30 days.
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.
Affected products
- Apple Mac OS X: up to and including 10.10.5
- Opensuse Opensuse: version 13.1 only; version 13.2 only
- PHP PHP: up to and including 5.4.38; version 5.5.0 only; version 5.5.1 only; version 5.5.2 only; version 5.5.3 only; version 5.5.4 only; …
- Red Hat Enterprise Linux Desktop: version 7.0 only
- Red Hat Enterprise Linux Hpc Node: version 7.0 only
- Red Hat Enterprise Linux Hpc Node Eus: version 7.1 only
- Red Hat Enterprise Linux Server: version 7.0 only
- Red Hat Enterprise Linux Server Eus: version 7.1 only
- Red Hat Enterprise Linux Workstation: version 7.0 only
Published 2015-03-30. Last modified 2026-06-17.