Live threats

All CVEs / Php

CVE-2015-2787Php

High 7.5 No auth neededHigh EPSS

Priority
61
CVSS 2.0
7.5
EPSS
11.8%
probability of exploitation in 30 days · percentile 97
Auth required
No
Published
Mar 30, 2015
Updated
Jun 17, 2026
Category
Web application · Cross-platform
Vector
AV:N/AC:L/Au:N/C:P/I:P/A:P

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Php.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
phpphp≤ 5.4.38
phpphp5.5.0
phpphp5.5.0
phpphp5.5.0
phpphp5.5.0
phpphp5.5.0
phpphp5.5.0
phpphp5.5.0
phpphp5.5.0
phpphp5.5.0
phpphp5.5.0
phpphp5.5.0
phpphp5.5.0
phpphp5.5.0
phpphp5.5.1
phpphp5.5.2
phpphp5.5.3
phpphp5.5.4
phpphp5.5.5
phpphp5.5.6
phpphp5.5.7
phpphp5.5.8
phpphp5.5.9
phpphp5.5.10
phpphp5.5.11
phpphp5.5.12
phpphp5.5.13
phpphp5.5.14
phpphp5.5.15
phpphp5.5.16
phpphp5.5.17
phpphp5.5.18
phpphp5.5.19
phpphp5.5.20
phpphp5.5.21
phpphp5.5.22
phpphp5.6.0
phpphp5.6.0
phpphp5.6.0
phpphp5.6.0
phpphp5.6.0
phpphp5.6.0
phpphp5.6.0
phpphp5.6.0
phpphp5.6.0
phpphp5.6.1
phpphp5.6.2
phpphp5.6.3
phpphp5.6.4
phpphp5.6.5
phpphp5.6.6
applemac_os_x≤ 10.6.8
applemac_os_x10.9.5
applemac_os_x10.10.0
applemac_os_x10.10.1
applemac_os_x10.10.2
applemac_os_x10.10.3
applemac_os_x10.10.4
redhatenterprise_linux_desktop7.0
redhatenterprise_linux_hpc_node7.0

and 6 more in the JSON

Official sources

References

Links published by the sources. Open them with care.