{"id":"CVE-2015-2787","state":"PUBLISHED","title":"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","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.","publishedAt":"2015-03-30T10:00:00.000Z","updatedAt":"2024-08-06T05:24:38.837Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["https://gist.github.com/smalyshev/eea9eafc7c88a4a6d10d","http://www.securitytracker.com/id/1032485","http://www.securityfocus.com/bid/73431","http://marc.info/?l=bugtraq&m=144050155601375&w=2","http://lists.apple.com/archives/security-announce/2015/Sep/msg00008.html","http://marc.info/?l=bugtraq&m=143748090628601&w=2","http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html","http://www.oracle.com/technetwork/topics/security/bulletinjul2015-2511963.html","http://php.net/ChangeLog-5.php","http://lists.opensuse.org/opensuse-security-announce/2015-05/msg00005.html","https://support.apple.com/HT205267","http://lists.apple.com/archives/security-announce/2015/Aug/msg00001.html","http://www.ubuntu.com/usn/USN-2572-1","http://rhn.redhat.com/errata/RHSA-2015-1135.html","https://support.apple.com/kb/HT205031","https://bugs.php.net/bug.php?id=68976","http://rhn.redhat.com/errata/RHSA-2015-1053.html","http://lists.opensuse.org/opensuse-updates/2015-04/msg00015.html","https://security.gentoo.org/glsa/201606-10","http://rhn.redhat.com/errata/RHSA-2015-1066.html","http://rhn.redhat.com/errata/RHSA-2015-1218.html"],"weaknesses":[],"ingestedAt":"2026-10-29T19:42:02.420Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2015/2xxx/CVE-2015-2787.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2015-2787","state":"PUBLISHED","datePublished":"2015-03-30T10:00:00.000Z","dateUpdated":"2024-08-06T05:24:38.837Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2015-03-29T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"https://gist.github.com/smalyshev/eea9eafc7c88a4a6d10d","tags":["x_refsource_CONFIRM"]},{"url":"http://www.securitytracker.com/id/1032485","name":"1032485","tags":["vdb-entry","x_refsource_SECTRACK"]},{"url":"http://www.securityfocus.com/bid/73431","name":"73431","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://marc.info/?l=bugtraq&m=144050155601375&w=2","name":"HPSBMU03409","tags":["vendor-advisory","x_refsource_HP"]},{"url":"http://lists.apple.com/archives/security-announce/2015/Sep/msg00008.html","name":"APPLE-SA-2015-09-30-3","tags":["vendor-advisory","x_refsource_APPLE"]},{"url":"http://marc.info/?l=bugtraq&m=143748090628601&w=2","name":"HPSBMU03380","tags":["vendor-advisory","x_refsource_HP"]},{"url":"http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html","tags":["x_refsource_CONFIRM"]},{"url":"http://www.oracle.com/technetwork/topics/security/bulletinjul2015-2511963.html","tags":["x_refsource_CONFIRM"]},{"url":"http://php.net/ChangeLog-5.php","tags":["x_refsource_CONFIRM"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2015-05/msg00005.html","name":"SUSE-SU-2015:0868","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"https://support.apple.com/HT205267","tags":["x_refsource_CONFIRM"]},{"url":"http://lists.apple.com/archives/security-announce/2015/Aug/msg00001.html","name":"APPLE-SA-2015-08-13-2","tags":["vendor-advisory","x_refsource_APPLE"]},{"url":"http://www.ubuntu.com/usn/USN-2572-1","name":"USN-2572-1","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"http://rhn.redhat.com/errata/RHSA-2015-1135.html","name":"RHSA-2015:1135","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://support.apple.com/kb/HT205031","tags":["x_refsource_CONFIRM"]},{"url":"https://bugs.php.net/bug.php?id=68976","tags":["x_refsource_CONFIRM"]},{"url":"http://rhn.redhat.com/errata/RHSA-2015-1053.html","name":"RHSA-2015:1053","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://lists.opensuse.org/opensuse-updates/2015-04/msg00015.html","name":"openSUSE-SU-2015:0684","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"https://security.gentoo.org/glsa/201606-10","name":"GLSA-201606-10","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"http://rhn.redhat.com/errata/RHSA-2015-1066.html","name":"RHSA-2015:1066","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://rhn.redhat.com/errata/RHSA-2015-1218.html","name":"RHSA-2015:1218","tags":["vendor-advisory","x_refsource_REDHAT"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2018-01-04T19:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"datePublic":"2015-02-03T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2015-2787","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"https://gist.github.com/smalyshev/eea9eafc7c88a4a6d10d","refsource":"CONFIRM","url":"https://gist.github.com/smalyshev/eea9eafc7c88a4a6d10d"},{"name":"1032485","refsource":"SECTRACK","url":"http://www.securitytracker.com/id/1032485"},{"name":"73431","refsource":"BID","url":"http://www.securityfocus.com/bid/73431"},{"name":"HPSBMU03409","refsource":"HP","url":"http://marc.info/?l=bugtraq&m=144050155601375&w=2"},{"name":"APPLE-SA-2015-09-30-3","refsource":"APPLE","url":"http://lists.apple.com/archives/security-announce/2015/Sep/msg00008.html"},{"name":"HPSBMU03380","refsource":"HP","url":"http://marc.info/?l=bugtraq&m=143748090628601&w=2"},{"name":"http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html","refsource":"CONFIRM","url":"http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html"},{"name":"http://www.oracle.com/technetwork/topics/security/bulletinjul2015-2511963.html","refsource":"CONFIRM","url":"http://www.oracle.com/technetwork/topics/security/bulletinjul2015-2511963.html"},{"name":"http://php.net/ChangeLog-5.php","refsource":"CONFIRM","url":"http://php.net/ChangeLog-5.php"},{"name":"SUSE-SU-2015:0868","refsource":"SUSE","url":"http://lists.opensuse.org/opensuse-security-announce/2015-05/msg00005.html"},{"name":"https://support.apple.com/HT205267","refsource":"CONFIRM","url":"https://support.apple.com/HT205267"},{"name":"APPLE-SA-2015-08-13-2","refsource":"APPLE","url":"http://lists.apple.com/archives/security-announce/2015/Aug/msg00001.html"},{"name":"USN-2572-1","refsource":"UBUNTU","url":"http://www.ubuntu.com/usn/USN-2572-1"},{"name":"RHSA-2015:1135","refsource":"REDHAT","url":"http://rhn.redhat.com/errata/RHSA-2015-1135.html"},{"name":"https://support.apple.com/kb/HT205031","refsource":"CONFIRM","url":"https://support.apple.com/kb/HT205031"},{"name":"https://bugs.php.net/bug.php?id=68976","refsource":"CONFIRM","url":"https://bugs.php.net/bug.php?id=68976"},{"name":"RHSA-2015:1053","refsource":"REDHAT","url":"http://rhn.redhat.com/errata/RHSA-2015-1053.html"},{"name":"openSUSE-SU-2015:0684","refsource":"SUSE","url":"http://lists.opensuse.org/opensuse-updates/2015-04/msg00015.html"},{"name":"GLSA-201606-10","refsource":"GENTOO","url":"https://security.gentoo.org/glsa/201606-10"},{"name":"RHSA-2015:1066","refsource":"REDHAT","url":"http://rhn.redhat.com/errata/RHSA-2015-1066.html"},{"name":"RHSA-2015:1218","refsource":"REDHAT","url":"http://rhn.redhat.com/errata/RHSA-2015-1218.html"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://gist.github.com/smalyshev/eea9eafc7c88a4a6d10d","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.securitytracker.com/id/1032485","name":"1032485","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred"]},{"url":"http://www.securityfocus.com/bid/73431","name":"73431","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"http://marc.info/?l=bugtraq&m=144050155601375&w=2","name":"HPSBMU03409","tags":["vendor-advisory","x_refsource_HP","x_transferred"]},{"url":"http://lists.apple.com/archives/security-announce/2015/Sep/msg00008.html","name":"APPLE-SA-2015-09-30-3","tags":["vendor-advisory","x_refsource_APPLE","x_transferred"]},{"url":"http://marc.info/?l=bugtraq&m=143748090628601&w=2","name":"HPSBMU03380","tags":["vendor-advisory","x_refsource_HP","x_transferred"]},{"url":"http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.oracle.com/technetwork/topics/security/bulletinjul2015-2511963.html","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://php.net/ChangeLog-5.php","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2015-05/msg00005.html","name":"SUSE-SU-2015:0868","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"https://support.apple.com/HT205267","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://lists.apple.com/archives/security-announce/2015/Aug/msg00001.html","name":"APPLE-SA-2015-08-13-2","tags":["vendor-advisory","x_refsource_APPLE","x_transferred"]},{"url":"http://www.ubuntu.com/usn/USN-2572-1","name":"USN-2572-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"http://rhn.redhat.com/errata/RHSA-2015-1135.html","name":"RHSA-2015:1135","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"https://support.apple.com/kb/HT205031","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://bugs.php.net/bug.php?id=68976","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://rhn.redhat.com/errata/RHSA-2015-1053.html","name":"RHSA-2015:1053","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"http://lists.opensuse.org/opensuse-updates/2015-04/msg00015.html","name":"openSUSE-SU-2015:0684","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"https://security.gentoo.org/glsa/201606-10","name":"GLSA-201606-10","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred"]},{"url":"http://rhn.redhat.com/errata/RHSA-2015-1066.html","name":"RHSA-2015:1066","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"http://rhn.redhat.com/errata/RHSA-2015-1218.html","name":"RHSA-2015:1218","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-06T05:24:38.837Z"}}]}}}