Back to CVE catalog
CVE-2015-2787

Use-after-free vulnerability in process_nested_data function in PHP

Multiple products

At a glance

Use-after-free vulnerability in the process_nested_data function in ext/standard/var_unserializer.re in PHP before 5.4.39, 5.5.x before 5.5.23, and 5.6.x before 5.6.7 allows remote attackers to execute arbitrary code via a crafted unserialize call that leverages use of the unset function within an __wakeup function, a related issue to CVE-2015-0231.

Source description · CVE List / CNA

System impact

Attack complexityLow
ConfidentialityPartial
IntegrityPartial
AvailabilityPartial

CVSS summary v2.0

7.5High
Published:
Updated:
EPSS:
11.755%
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.38Show full version range for php
5.5.05.5.15.5.105.5.115.5.125.5.135.5.145.5.155.5.165.5.175.5.185.5.195.5.25.5.205.5.215.5.225.5.35.5.45.5.55.5.65.5.75.5.85.5.95.6.05.6.15.6.25.6.35.6.45.6.55.6.6
Vendor:Applemac os xAffected versions:
≤ 10.6.8Show full version range for mac os x
10.10.010.10.110.10.210.10.310.10.410.9.5
Vendor:opensuseopensuseAffected versions:
13.1Show full version range for opensuse
13.2
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:oraclelinuxphp
Environments (1)
  • cpe:/o:oracle:linux:6
Affected versions:
< 0:5.3.3-46.el6_6

1–10 of 460 · Page 1 of 46

CVSS scores and metrics4
[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
None
Availability
Partial
Attack vector
Network
Authentication
Not required

Source vector

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

Source vector

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

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

Sources and advisories37

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