Back to CVE catalog
CVE-2015-4026

Pathname truncation via \x00 character in the pcntl_exec implementation in PHP

Multiple products

At a glance

The pcntl_exec implementation in 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, which might allow remote attackers to bypass intended extension restrictions and execute files with unexpected names via a crafted first argument. NOTE: this vulnerability exists because of an incomplete fix for CVE-2006-7243.

Source description · CVE List / CNA

System impact

Attack complexityLow
ConfidentialityPartial
IntegrityPartial
AvailabilityPartial

CVSS summary v2.0

7.5High
Published:
Updated:
EPSS:
18.829%
Exploited in attacks:
Not confirmed
Ransomware campaigns:
Not confirmed
Attack vector:
Network

Affected software

Vendor, product and affected version ranges.

Vendor, product and affected versions
Vendor:phpphpAffected versions:
≤ 5.4.40Show full version range for php
5.4.395.5.05.5.15.5.105.5.115.5.125.5.135.5.145.5.185.5.195.5.25.5.205.5.215.5.225.5.235.5.245.5.35.5.45.5.55.5.65.5.75.5.85.5.95.6.05.6.25.6.35.6.45.6.55.6.65.6.75.6.8
Vendor:Applemac os xAffected versions:
≤ 10.10.4
Vendor:redhatenterprise linuxAffected versions:
6.0Show full version range for enterprise linux
7.0
Vendor:redhatenterprise linux desktopAffected versions:
7.0
Vendor:redhatenterprise linux hpc nodeAffected versions:
7.0
Vendor:redhatenterprise linux hpc node eusAffected versions:
7.1
Vendor:redhatenterprise linux serverAffected versions:
7.0
Vendor:redhatenterprise linux server eusAffected versions:
7.1
Vendor:redhatenterprise linux workstationAffected versions:
7.0
Vendor:Fedoraphp
Environments (1)
  • cpe:/o:fedoraproject:fedora:21
Affected versions:
< 5.6.9-1.fc21

1–10 of 514 · Page 1 of 52

CVSS scores and metrics5
[email protected] · NVD (Primary)Primary7.5 / 10HighCVSS 2.0Details
Attack complexity
Low
Confidentiality
Partial
Integrity
Partial
Availability
Partial
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:L/Au:N/C:P/I:P/A:P
nvd · Wazuh CTI (cna)7.5 / 10HighCVSS 2.0Details
Attack complexity
Low
Confidentiality
Partial
Integrity
Partial
Availability
Partial
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:L/Au:N/C:P/I:P/A:P
redhat · Wazuh CTI (adp)4.0 / 10MediumCVSS 2.0Details
Attack complexity
High
Confidentiality
Partial
Integrity
Partial
Availability
None
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:H/Au:N/C:P/I:P/A:N
alas · Wazuh CTI (adp)4.0 / 10MediumCVSS 2.0Details
Attack complexity
High
Confidentiality
Partial
Integrity
Partial
Availability
None
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:H/Au:N/C:P/I:P/A:N
Red Hat · Red Hat VEX (adp)4.0 / 10MediumCVSS 2.0Details
Attack complexity
High
Confidentiality
Partial
Integrity
Partial
Availability
None
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:H/Au:N/C:P/I:P/A:N

CVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.

Sources and advisories38

This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences