Description
Use-after-free vulnerability in the process_nested_data function in ext/standard/var_unserializer.re in PHP before 5.4.36, 5.5.x before 5.5.20, and 5.6.x before 5.6.4 allows remote attackers to execute arbitrary code via a crafted unserialize call that leverages improper handling of duplicate keys within the serialized properties of an object, a different vulnerability than CVE-2004-1019.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 7 | php5 | 5.4.36-0+deb7u1 | DSA-3117-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 14.04 LTS | php5 | 5.5.9+dfsg-1ubuntu4.6 | USN-2501-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 7 | php +24 | 5.4.16-36.ael7b_1 | RHSA-2015:1135 |
| RHEL 2 | php54 +5 | 2.0-1.el6 | RHSA-2015:1066, RHSA-2015:1053 |
| RHEL 2 | php54-php +24 | 5.4.40-1.el6 | RHSA-2015:1066 |
| RHEL 2 | php54-php-pecl-zendopcache | 7.0.4-3.el6 | RHSA-2015:1066 |
| RHEL 2 | php55-php +26 | 5.5.21-2.el6 | RHSA-2015:1053 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 | php5 | 5.5.14-11.3 | SUSE-SU-2015:0365-1 |
| SLES 11 SP2 | php53 | 5.3.17-47.1 | SUSE-SU-2016:1638-1 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 7 | php +24 | 5.4.16-36.el7_1 | ELSA-2015-1135 |
| Oracle Linux 7 | php54 +5 | 2.0-1.el7 | ELSA-2015-1066, ELSA-2015-1053 |
| Oracle Linux 7 | php54-php +22 | 5.4.40-1.el7 | ELSA-2015-1066 |
| Oracle Linux 7 | php54-php-imap +1 | 5.4.40-1.el6 | ELSA-2015-1066 |
| Oracle Linux 7 | php54-php-pecl-zendopcache | 7.0.4-3.el7 | ELSA-2015-1066 |
| Oracle Linux 7 | php55-php +26 | 5.5.21-2.0.1.el6 | ELSA-2015-1053 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 1 repository
-
3xp10it/php_cve-2014-8142_cve-2015-0231 ★ 2 · Jul 9, 2017
php_cve-2014-8142_cve-2015-0231的漏洞环境docker
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 11
- RHSA-2015:1135 Red Hat Security Advisory: php security and bug fix update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2015:1066 Red Hat Security Advisory: php54 security and bug fix update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2015:1053 Red Hat Security Advisory: php55 security and bug fix update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- USN-2501-1 php5 vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- DSA-3117-1 php5 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2016:1638-1 Security update for php53 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2015:0365-1 Security update for php5 SUSE / openSUSE Security Updates · Feb 4, 2026
- VDE-2023-009 ads-tec: Multiple Vulnerabilities in IRF1000, IRF2000 and IRF3000 CERT@VDE · May 8, 2023
- ELSA-2015-1066 Important: php54 security and bug fix update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Feb 4, 2016
- ELSA-2015-1053 Moderate: php55 security and bug fix update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Feb 4, 2016
- ELSA-2015-1135 Important: php security and bug fix update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Jun 23, 2015
References
- 71791 vdb-entry
- https://bugzilla.redhat.com/show_bug.cgi?id=1175718
- HPSBMU03409 vendor-advisory
- SUSE-SU-2015:0365 vendor-advisory
- HPSBMU03380 vendor-advisory
- http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html
- http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=630f9c33c23639de85c3fd306b209b538b73b4c9
- SSRT102066 vendor-advisory
- http://php.net/ChangeLog-5.php
- openSUSE-SU-2015:0325 vendor-advisory
- DSA-3117 vendor-advisory
- http://www.oracle.com/technetwork/topics/security/bulletinjan2015-2370101.html
- RHSA-2015:1135 vendor-advisory
- https://bugs.php.net/bug.php?id=68594
- RHSA-2015:1053 vendor-advisory
- GLSA-201503-03 vendor-advisory
- RHSA-2015:1066 vendor-advisory