What’s Vulnerable › Vulnerabilities
CVE-2015-2787
- Severity: high (CVSS 7.5 v2.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 11.8% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2015-03-30 · updated 2026-06-17
Description
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.
Affected products
- macOS: through 10.6.8; 10.9.5, 10.10.0, 10.10.1, 10.10.2, 10.10.3, 10.10.4
- Opensuse: 13.1, 13.2
- PHP: through 5.4.38; 5.5.0, 5.5.0-alpha1, 5.5.0-alpha2, 5.5.0-alpha3, 5.5.0-alpha4, 5.5.0-alpha5 (+44)
- RedHat Enterprise Linux Desktop: 7.0
- RedHat Enterprise Linux Hpc Node: 7.0
- RedHat Enterprise Linux Hpc Node Eus: 7.1
- RedHat Enterprise Linux Server: 7.0
- RedHat Enterprise Linux Server Eus: 7.1
- RedHat Enterprise Linux Workstation: 7.0
References
- http://lists.apple.com/archives/security-announce/2015/Aug/msg00001.html
- http://lists.apple.com/archives/security-announce/2015/Sep/msg00008.html
- http://lists.opensuse.org/opensuse-security-announce/2015-05/msg00005.html
- http://lists.opensuse.org/opensuse-updates/2015-04/msg00015.html
- http://marc.info/?l=bugtraq&m=143748090628601&w=2
- http://marc.info/?l=bugtraq&m=144050155601375&w=2
- http://php.net/ChangeLog-5.php
- http://rhn.redhat.com/errata/RHSA-2015-1053.html
- http://rhn.redhat.com/errata/RHSA-2015-1066.html
- http://rhn.redhat.com/errata/RHSA-2015-1135.html
- http://rhn.redhat.com/errata/RHSA-2015-1218.html
- http://www.oracle.com/technetwork/topics/security/bulletinjul2015-2511963.html
Get alerted when CVE-2015-2787 or the next vulnerability affects your stack