CVE-2015-4025

PHP before 5.4.41, 5.5.x before 5.5.25, and 5.6.x before 5.6.9 truncates a pathname upon encountering a \x00 character in certain situations, which allows remote attackers to bypass intended extension restrictions and access files or directories with unexpected names via a crafted argument to (1) set_include_path, (2) tempnam, (3) rmdir, or (4) readlink. NOTE: this vulnerability exists because of an incomplete fix for CVE-2006-7243.

Published: 2015-06-09 Last update: 2026-06-16 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2015-4025 is rated High Risk (69/100): CVSS High severity, with high exploitation likelihood (EPSS 20.23%, 97th percentile). Core evidence: EPSS ranks this CVE among the most likely to be exploited in the near term. EPSS rose +12.29% over the last day, indicating growing attacker interest. Mandatory action: High exploitation likelihood—assess exposure and prioritize remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2015-4025

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-15 7.95% 20.23% +12.29%
2 2026-05-24 6.08% 7.95% +1.87%
3 2026-03-04 6.08%

Full EPSS history (46 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2015-4025

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
7.5 2.0 HIGH
AV:N/AC:L/Au:N/C:P/I:P/A:P Click to expand
Access vector (AV:N)
Can be exploited remotely over network reachability.
Access complexity (AC:L)
Exploitation conditions are straightforward and predictable.
Authentication (AU:N)
No authentication is required.
Confidentiality impact (C:P)
Partial confidentiality impact.
Integrity impact (I:P)
Partial integrity impact.
Availability impact (A:P)
Partial availability impact.
10.0 6.4 [email protected]

Weakness enumeration for CVE-2015-4025

OS Trackers for CVE-2015-4025

vendor priority summary link
gentoo normal CVE-2015-4025: 1 GLSA(s) (201606-10), 1 atom(s) (dev-lang/php); latest impact normal. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2015-4025
redhat medium https://access.redhat.com/security/cve/CVE-2015-4025
suse high https://www.suse.com/security/cve/CVE-2015-4025/
ubuntu low CVE-2015-4025 low priority: Ubuntu including 1 source packages (php5), 5 status rows across 5 suites (precise, trusty, upstream, utopic, vivid): released 5. https://ubuntu.com/security/CVE-2015-4025

Affected software / configurations for CVE-2015-4025

Vendor Product Version Raw CPE
apple mac_os_x <= 10.10.4 cpe:2.3:o:apple:mac_os_x:*:*:*:*:*:*:*:*
php php <= 5.4.40 cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
php php 5.4.39 cpe:2.3:a:php:php:5.4.39:*:*:*:*:*:*:*
php php 5.5.0 cpe:2.3:a:php:php:5.5.0:*:*:*:*:*:*:*
php php 5.5.0 cpe:2.3:a:php:php:5.5.0:alpha1:*:*:*:*:*:*
php php 5.5.0 cpe:2.3:a:php:php:5.5.0:alpha2:*:*:*:*:*:*
php php 5.5.0 cpe:2.3:a:php:php:5.5.0:alpha3:*:*:*:*:*:*
php php 5.5.0 cpe:2.3:a:php:php:5.5.0:alpha4:*:*:*:*:*:*
php php 5.5.0 cpe:2.3:a:php:php:5.5.0:alpha5:*:*:*:*:*:*
php php 5.5.0 cpe:2.3:a:php:php:5.5.0:alpha6:*:*:*:*:*:*
php php 5.5.0 cpe:2.3:a:php:php:5.5.0:beta1:*:*:*:*:*:*
php php 5.5.0 cpe:2.3:a:php:php:5.5.0:beta2:*:*:*:*:*:*
php php 5.5.0 cpe:2.3:a:php:php:5.5.0:beta3:*:*:*:*:*:*
php php 5.5.0 cpe:2.3:a:php:php:5.5.0:beta4:*:*:*:*:*:*
php php 5.5.0 cpe:2.3:a:php:php:5.5.0:rc1:*:*:*:*:*:*
php php 5.5.0 cpe:2.3:a:php:php:5.5.0:rc2:*:*:*:*:*:*
php php 5.5.1 cpe:2.3:a:php:php:5.5.1:*:*:*:*:*:*:*
php php 5.5.2 cpe:2.3:a:php:php:5.5.2:*:*:*:*:*:*:*
php php 5.5.3 cpe:2.3:a:php:php:5.5.3:*:*:*:*:*:*:*
php php 5.5.4 cpe:2.3:a:php:php:5.5.4:*:*:*:*:*:*:*
php php 5.5.5 cpe:2.3:a:php:php:5.5.5:*:*:*:*:*:*:*
php php 5.5.6 cpe:2.3:a:php:php:5.5.6:*:*:*:*:*:*:*
php php 5.5.7 cpe:2.3:a:php:php:5.5.7:*:*:*:*:*:*:*
php php 5.5.8 cpe:2.3:a:php:php:5.5.8:*:*:*:*:*:*:*
php php 5.5.9 cpe:2.3:a:php:php:5.5.9:*:*:*:*:*:*:*
php php 5.5.10 cpe:2.3:a:php:php:5.5.10:*:*:*:*:*:*:*
php php 5.5.11 cpe:2.3:a:php:php:5.5.11:*:*:*:*:*:*:*
php php 5.5.12 cpe:2.3:a:php:php:5.5.12:*:*:*:*:*:*:*
php php 5.5.13 cpe:2.3:a:php:php:5.5.13:*:*:*:*:*:*:*
php php 5.5.14 cpe:2.3:a:php:php:5.5.14:*:*:*:*:*:*:*
php php 5.5.18 cpe:2.3:a:php:php:5.5.18:*:*:*:*:*:*:*
php php 5.5.19 cpe:2.3:a:php:php:5.5.19:*:*:*:*:*:*:*
php php 5.5.20 cpe:2.3:a:php:php:5.5.20:*:*:*:*:*:*:*
php php 5.5.21 cpe:2.3:a:php:php:5.5.21:*:*:*:*:*:*:*
php php 5.5.22 cpe:2.3:a:php:php:5.5.22:*:*:*:*:*:*:*
php php 5.5.23 cpe:2.3:a:php:php:5.5.23:*:*:*:*:*:*:*
php php 5.5.24 cpe:2.3:a:php:php:5.5.24:*:*:*:*:*:*:*
php php 5.6.0 cpe:2.3:a:php:php:5.6.0:alpha1:*:*:*:*:*:*
php php 5.6.0 cpe:2.3:a:php:php:5.6.0:alpha2:*:*:*:*:*:*
php php 5.6.0 cpe:2.3:a:php:php:5.6.0:alpha3:*:*:*:*:*:*
php php 5.6.0 cpe:2.3:a:php:php:5.6.0:alpha4:*:*:*:*:*:*
php php 5.6.0 cpe:2.3:a:php:php:5.6.0:alpha5:*:*:*:*:*:*
php php 5.6.0 cpe:2.3:a:php:php:5.6.0:beta1:*:*:*:*:*:*
php php 5.6.0 cpe:2.3:a:php:php:5.6.0:beta2:*:*:*:*:*:*
php php 5.6.0 cpe:2.3:a:php:php:5.6.0:beta3:*:*:*:*:*:*
php php 5.6.0 cpe:2.3:a:php:php:5.6.0:beta4:*:*:*:*:*:*
php php 5.6.2 cpe:2.3:a:php:php:5.6.2:*:*:*:*:*:*:*
php php 5.6.3 cpe:2.3:a:php:php:5.6.3:*:*:*:*:*:*:*
php php 5.6.4 cpe:2.3:a:php:php:5.6.4:*:*:*:*:*:*:*
php php 5.6.5 cpe:2.3:a:php:php:5.6.5:*:*:*:*:*:*:*
php php 5.6.6 cpe:2.3:a:php:php:5.6.6:*:*:*:*:*:*:*
php php 5.6.7 cpe:2.3:a:php:php:5.6.7:*:*:*:*:*:*:*
php php 5.6.8 cpe:2.3:a:php:php:5.6.8:*:*:*:*:*:*:*
redhat enterprise_linux_desktop 7.0 cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:*
redhat enterprise_linux_hpc_node 7.0 cpe:2.3:o:redhat:enterprise_linux_hpc_node:7.0:*:*:*:*:*:*:*
redhat enterprise_linux_hpc_node_eus 7.1 cpe:2.3:o:redhat:enterprise_linux_hpc_node_eus:7.1:*:*:*:*:*:*:*
redhat enterprise_linux_server 7.0 cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:*
redhat enterprise_linux_server_eus 7.1 cpe:2.3:o:redhat:enterprise_linux_server_eus:7.1:*:*:*:*:*:*:*
redhat enterprise_linux_workstation 7.0 cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:*
redhat enterprise_linux 6.0 cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:*
redhat enterprise_linux 7.0 cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*

References for CVE-2015-4025

URL Tags
http://lists.apple.com/archives/security-announce/2015/Aug/msg00001.html
http://lists.fedoraproject.org/pipermail/package-announce/2015-May/158616.html
http://lists.fedoraproject.org/pipermail/package-announce/2015-May/158915.html
http://lists.fedoraproject.org/pipermail/package-announce/2015-May/159031.html
http://php.net/ChangeLog-5.php Patch
http://rhn.redhat.com/errata/RHSA-2015-1135.html
http://rhn.redhat.com/errata/RHSA-2015-1186.html
http://rhn.redhat.com/errata/RHSA-2015-1187.html
http://rhn.redhat.com/errata/RHSA-2015-1219.html
http://www.debian.org/security/2015/dsa-3280
http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html
http://www.securityfocus.com/bid/74904
http://www.securitytracker.com/id/1032431
https://bugs.php.net/bug.php?id=69418 Patch Vendor Advisory
https://security.gentoo.org/glsa/201606-10
https://support.apple.com/kb/HT205031
cvelogic Threat Intelligence