{"id":"CVE-2015-0231","published":"2015-01-27T11:00:00Z","modified":"2024-08-06T04:03:10Z","title":"Use-after-free vulnerability in the process_nested_data function in ext/standard/var_unserializer.re in PHP before…","vendor":null,"product":null,"tier":"tail","description":{"text":"Use-after-free vulnerability in the process_nested_data function in ext/standard/var_unserializer.re in PHP before 5.4.37, 5.5.x before 5.5.21, and 5.6.x before 5.6.5 allows remote attackers to execute arbitrary code via a crafted unserialize call that leverages improper handling of duplicate numerical keys within the serialized properties of an object.  NOTE: this vulnerability exists because of an incomplete fix for CVE-2014-8142.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.44446,"percentile":0.98794,"provenance":"source"},"cwes":[],"references":[{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2015:032","tags":["vendor-advisory","x_refsource_MANDRIVA"]},{"url":"http://www.debian.org/security/2015/dsa-3195","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"http://marc.info/?l=bugtraq&m=144050155601375&w=2","tags":["vendor-advisory","x_refsource_HP"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1185397","tags":["x_refsource_CONFIRM"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2015-02/msg00029.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://lists.apple.com/archives/security-announce/2015/Sep/msg00008.html","tags":["vendor-advisory","x_refsource_APPLE"]},{"url":"http://marc.info/?l=bugtraq&m=143748090628601&w=2","tags":["vendor-advisory","x_refsource_HP"]},{"url":"http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html","tags":["x_refsource_CONFIRM"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2015:079","tags":["vendor-advisory","x_refsource_MANDRIVA"]},{"url":"http://www.oracle.com/technetwork/topics/security/bulletinjul2015-2511963.html","tags":["x_refsource_CONFIRM"]},{"url":"http://marc.info/?l=bugtraq&m=143403519711434&w=2","tags":["vendor-advisory","x_refsource_HP"]},{"url":"http://lists.opensuse.org/opensuse-updates/2015-02/msg00079.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"https://support.apple.com/HT205267","tags":["x_refsource_CONFIRM"]},{"url":"http://www.php.net/ChangeLog-5.php","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/php/php-src/commit/b585a3aed7880a5fa5c18e2b838fc96f40e075bd","tags":["x_refsource_CONFIRM"]},{"url":"http://rhn.redhat.com/errata/RHSA-2015-1135.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://bugs.php.net/bug.php?id=68710","tags":["x_refsource_CONFIRM"]},{"url":"http://rhn.redhat.com/errata/RHSA-2015-1053.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://security.gentoo.org/glsa/201503-03","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"http://advisories.mageia.org/MGASA-2015-0040.html","tags":["x_refsource_CONFIRM"]},{"url":"https://security.gentoo.org/glsa/201606-10","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"http://rhn.redhat.com/errata/RHSA-2015-1066.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://www.securityfocus.com/bid/72539","tags":["vdb-entry","x_refsource_BID"]}],"priority":{"score":24.8,"factors":[{"name":"EPSS percentile","points":19.76},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2017-07-09","earliestUrl":"https://github.com/3xp10it/php_cve-2014-8142_cve-2015-0231","repos":[{"name":"3xp10it/php_cve-2014-8142_cve-2015-0231","url":"https://github.com/3xp10it/php_cve-2014-8142_cve-2015-0231","stars":2,"created":"2017-07-09"}]},"first":{"date":"2017-07-09","source":"PoC-in-GitHub","url":"https://github.com/3xp10it/php_cve-2014-8142_cve-2015-0231"},"provenance":"source"},"summary":{"text":"The flaw is a use-after-free in the process_nested_data function in ext/standard/var_unserializer.re in PHP, affecting versions before 5.4.37, 5.5.x before 5.5.21, and 5.6.x before 5.6.5. An attacker who can get the application to call unserialize on crafted input containing duplicate numerical keys in an object's serialized properties can execute arbitrary code remotely.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:36:23Z"},"euvd":{"id":"EUVD-2015-0253","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-cve-2014-8142-family-cve-2014-8142","parents":[{"from":"CVE-2014-8142","to":"CVE-2015-0231","relation":"incomplete-fix","confidence":"high","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"incomplete-fix","quote":"NOTE: this vulnerability exists because of an incomplete fix for CVE-2014-8142.","from":"CVE.org","in":"CVE-2015-0231"}]}],"children":[{"from":"CVE-2015-0231","to":"CVE-2017-12932","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["ext/standard/var_unserializer.c","ext/standard/var_unserializer.re"],"commits":["https://github.com/php/php-src/commit/b585a3aed7880a5fa5c18e2b838fc96f40e075bd","https://github.com/php/php-src/commit/1a23ebc1fff59bf480ca92963b36eba5c1b904c4"],"basis":"shared function","functions":["process_nested_data"]}]},{"from":"CVE-2015-0231","to":"CVE-2015-2787","relation":"related","confidence":"low","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"related","quote":"…e 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.","from":"CVE.org","in":"CVE-2015-2787"}]}]}}