php: use after free vulnerability in unserialize() (incomplete fix of CVE-2014-8142)
Published Jan 27, 2015
7.5
HIGHCVSS 2.0
EPSS 42.59%
Description
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.
Affected products
No data.
- ≤ 5.4.36
- 5.4.0
- 5.4.1
- 5.4.2
- 5.4.3
- 5.4.4
- 5.4.5
- 5.4.6
- 5.4.7
- 5.4.8
- 5.4.9
- 5.4.10
- 5.4.11
- 5.4.12
- 5.4.12
- 5.4.12
- 5.4.13
- 5.4.13
- 5.4.14
- 5.4.14
- 5.4.15
- 5.4.16
- 5.4.17
- 5.4.18
- 5.4.19
- 5.4.20
- 5.4.21
- 5.4.22
- 5.4.23
- 5.4.24
- 5.4.25
- 5.4.26
- 5.4.27
- 5.4.28
- 5.4.29
- 5.4.30
- 5.4.34
- 5.4.35
- 5.5.0
- 5.5.0
- 5.5.0
- 5.5.0
- 5.5.0
- 5.5.0
- 5.5.0
- 5.5.0
- 5.5.0
- 5.5.0
- 5.5.0
- 5.5.0
- 5.5.0
- 5.5.1
- 5.5.2
- 5.5.3
- 5.5.4
- 5.5.5
- 5.5.6
- 5.5.7
- 5.5.8
- 5.5.9
- 5.5.10
- 5.5.11
- 5.5.12
- 5.5.13
- 5.5.14
- 5.5.15
- 5.5.16
- 5.5.17
- 5.5.18
- 5.5.19
- 5.5.20
- 5.6.0
- 5.6.0
- 5.6.0
- 5.6.0
- 5.6.0
- 5.6.0
- 5.6.0
- 5.6.0
- 5.6.0
- 5.6.1
- 5.6.2
- 5.6.3
- 5.6.4
No data.
Red Hat Enterprise Linux 7
php-0:5.4.16-36.ael7b_1
Fixed · RHSA-2015:1135
Red Hat Software Collections for Red Hat Enterprise Linux 6
php54-0:2.0-1.el6
Fixed · RHSA-2015:1066
Red Hat Software Collections for Red Hat Enterprise Linux 6
php54-php-0:5.4.40-1.el6
Fixed · RHSA-2015:1066
Red Hat Software Collections for Red Hat Enterprise Linux 6
php54-php-pecl-zendopcache-0:7.0.4-3.el6
Fixed · RHSA-2015:1066
Red Hat Software Collections for Red Hat Enterprise Linux 6
php55-0:2.0-1.el6
Fixed · RHSA-2015:1053
Red Hat Software Collections for Red Hat Enterprise Linux 6
php55-php-0:5.5.21-2.el6
Fixed · RHSA-2015:1053
Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS
php54-0:2.0-1.el6
Fixed · RHSA-2015:1066
Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS
php54-php-0:5.4.40-1.el6
Fixed · RHSA-2015:1066
Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS
php54-php-pecl-zendopcache-0:7.0.4-3.el6
Fixed · RHSA-2015:1066
Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS
php55-0:2.0-1.el6
Fixed · RHSA-2015:1053
Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS
php55-php-0:5.5.21-2.el6
Fixed · RHSA-2015:1053
Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS
php54-0:2.0-1.el6
Fixed · RHSA-2015:1066
Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS
php54-php-0:5.4.40-1.el6
Fixed · RHSA-2015:1066
Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS
php54-php-pecl-zendopcache-0:7.0.4-3.el6
Fixed · RHSA-2015:1066
Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS
php55-0:2.0-1.el6
Fixed · RHSA-2015:1053
Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS
php55-php-0:5.5.21-2.el6
Fixed · RHSA-2015:1053
Red Hat Software Collections for Red Hat Enterprise Linux 7
php54-0:2.0-1.el7
Fixed · RHSA-2015:1066
Red Hat Software Collections for Red Hat Enterprise Linux 7
php54-php-0:5.4.40-1.el7
Fixed · RHSA-2015:1066
Red Hat Software Collections for Red Hat Enterprise Linux 7
php54-php-pecl-zendopcache-0:7.0.4-3.el7
Fixed · RHSA-2015:1066
Red Hat Software Collections for Red Hat Enterprise Linux 7
php55-0:2.0-1.el7
Fixed · RHSA-2015:1053
Red Hat Software Collections for Red Hat Enterprise Linux 7
php55-php-0:5.5.21-2.el7
Fixed · RHSA-2015:1053
Red Hat Enterprise Linux 5
php
Not affected
Red Hat Enterprise Linux 5
php53
Not affected
Red Hat Enterprise Linux 6
php
Not affected
Red Hat Software Collections
php54-php
Affected
Red Hat Software Collections
php55-php
Affected
Red Hat Software Collections
rh-php56-php
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 7 | php-0:5.4.16-36.ael7b_1 | Fixed | RHSA-2015:1135 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | php54-0:2.0-1.el6 | Fixed | RHSA-2015:1066 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | php54-php-0:5.4.40-1.el6 | Fixed | RHSA-2015:1066 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | php54-php-pecl-zendopcache-0:7.0.4-3.el6 | Fixed | RHSA-2015:1066 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | php55-0:2.0-1.el6 | Fixed | RHSA-2015:1053 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | php55-php-0:5.5.21-2.el6 | Fixed | RHSA-2015:1053 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS | php54-0:2.0-1.el6 | Fixed | RHSA-2015:1066 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS | php54-php-0:5.4.40-1.el6 | Fixed | RHSA-2015:1066 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS | php54-php-pecl-zendopcache-0:7.0.4-3.el6 | Fixed | RHSA-2015:1066 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS | php55-0:2.0-1.el6 | Fixed | RHSA-2015:1053 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS | php55-php-0:5.5.21-2.el6 | Fixed | RHSA-2015:1053 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS | php54-0:2.0-1.el6 | Fixed | RHSA-2015:1066 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS | php54-php-0:5.4.40-1.el6 | Fixed | RHSA-2015:1066 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS | php54-php-pecl-zendopcache-0:7.0.4-3.el6 | Fixed | RHSA-2015:1066 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS | php55-0:2.0-1.el6 | Fixed | RHSA-2015:1053 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS | php55-php-0:5.5.21-2.el6 | Fixed | RHSA-2015:1053 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | php54-0:2.0-1.el7 | Fixed | RHSA-2015:1066 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | php54-php-0:5.4.40-1.el7 | Fixed | RHSA-2015:1066 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | php54-php-pecl-zendopcache-0:7.0.4-3.el7 | Fixed | RHSA-2015:1066 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | php55-0:2.0-1.el7 | Fixed | RHSA-2015:1053 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | php55-php-0:5.5.21-2.el7 | Fixed | RHSA-2015:1053 |
| Red Hat Enterprise Linux 5 | php | Not affected | n/a |
| Red Hat Enterprise Linux 5 | php53 | Not affected | n/a |
| Red Hat Enterprise Linux 6 | php | Not affected | n/a |
| Red Hat Software Collections | php54-php | Affected | n/a |
| Red Hat Software Collections | php55-php | Affected | n/a |
| Red Hat Software Collections | rh-php56-php | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
This issue did not affect the versions of php as shipped with Red Hat Enterprise Linux 5 and 6 or the versions of php53 as shipped with Red Hat Enterprise Linux 5 as the original flaw (CVE-2014-8142) did not affect these versions.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
No CVSS v3.0 score for this CVE.
AV:N/AC:L/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (44 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 42.59% (0.42593) | 98.67th | v5 (v2026.06.15) |
| Jun 15, 2026 | 42.59% (0.42593) | 98.53th | v5 (v2026.06.15) |
| Mar 4, 2026 | 87.28% (0.87284) | 99.44th | v4 (v2025.03.14) |
| Mar 1, 2026 | 83.37% (0.83366) | 99.26th | v4 (v2025.03.14) |
| Feb 4, 2026 | 87.28% (0.87284) | 99.44th | v4 (v2025.03.14) |
| Feb 1, 2026 | 83.37% (0.83366) | 99.26th | v4 (v2025.03.14) |
| Jan 4, 2026 | 87.28% (0.87284) | 99.42th | v4 (v2025.03.14) |
| Jan 1, 2026 | 83.37% (0.83366) | 99.25th | v4 (v2025.03.14) |
| Dec 28, 2025 | 87.28% (0.87284) | 99.42th | v4 (v2025.03.14) |
| Dec 27, 2025 | 86.18% (0.86183) | 99.37th | v4 (v2025.03.14) |
| Dec 4, 2025 | 87.28% (0.87284) | 99.41th | v4 (v2025.03.14) |
| Dec 1, 2025 | 83.37% (0.83366) | 99.24th | v4 (v2025.03.14) |
| Nov 4, 2025 | 87.28% (0.87284) | 99.41th | v4 (v2025.03.14) |
| Nov 1, 2025 | 83.37% (0.83366) | 99.23th | v4 (v2025.03.14) |
| Oct 28, 2025 | 87.28% (0.87284) | 99.41th | v4 (v2025.03.14) |
| Oct 27, 2025 | 86.18% (0.86183) | 99.35th | v4 (v2025.03.14) |
| Oct 4, 2025 | 87.28% (0.87284) | 99.41th | v4 (v2025.03.14) |
| Oct 1, 2025 | 83.37% (0.83366) | 99.24th | v4 (v2025.03.14) |
| Sep 4, 2025 | 86.24% (0.86240) | 99.36th | v4 (v2025.03.14) |
| Sep 1, 2025 | 81.78% (0.81778) | 99.16th | v4 (v2025.03.14) |
| Aug 4, 2025 | 86.24% (0.86240) | 99.36th | v4 (v2025.03.14) |
| Aug 1, 2025 | 81.78% (0.81778) | 99.15th | v4 (v2025.03.14) |
| Jul 30, 2025 | 86.24% (0.86240) | 99.36th | v4 (v2025.03.14) |
| Jul 4, 2025 | 87.33% (0.87334) | 99.40th | v4 (v2025.03.14) |
| Jul 1, 2025 | 83.44% (0.83442) | 99.22th | v4 (v2025.03.14) |
| Jun 4, 2025 | 87.33% (0.87334) | 99.40th | v4 (v2025.03.14) |
| Jun 1, 2025 | 83.44% (0.83442) | 99.22th | v4 (v2025.03.14) |
| May 4, 2025 | 87.80% (0.87799) | 99.42th | v4 (v2025.03.14) |
| May 1, 2025 | 84.15% (0.84153) | 99.25th | v4 (v2025.03.14) |
| Mar 30, 2025 | 87.80% (0.87799) | 99.44th | v4 (v2025.03.14) |
| Mar 29, 2025 | 89.46% (0.89465) | 99.46th | v4 (v2025.03.14) |
| Mar 28, 2025 | 87.80% (0.87799) | 99.44th | v4 (v2025.03.14) |
| Mar 19, 2025 | 89.92% (0.89917) | 99.56th | v4 (v2025.03.14) |
| Mar 17, 2025 | 87.51% (0.87510) | 99.42th | v4 (v2025.03.14) |
| Jan 25, 2025 | 69.47% (0.69469) | 98.22th | v3 (v2023.03.01) |
| Dec 17, 2024 | 73.81% (0.73810) | 98.31th | v3 (v2023.03.01) |
| Dec 12, 2024 | 72.23% (0.72228) | 98.19th | v3 (v2023.03.01) |
| Jan 4, 2024 | 72.12% (0.72120) | 97.79th | v3 (v2023.03.01) |
| Oct 4, 2023 | 72.34% (0.72337) | 97.70th | v3 (v2023.03.01) |
| Aug 22, 2023 | 73.40% (0.73398) | 97.68th | v3 (v2023.03.01) |
| Mar 7, 2023 | 74.03% (0.74030) | 97.52th | v3 (v2023.03.01) |
| Mar 6, 2023 | 12.25% (0.12248) | 95.30th | v2 (v2022.01.01) |
| Apr 1, 2022 | 12.25% (0.12248) | 94.93th | v2 (v2022.01.01) |
| Feb 4, 2022 | 12.25% (0.12248) | 89.34th | v2 (v2022.01.01) |
References (26)
- http://advisories.mageia.org/MGASA-2015-0040.html x_refsource_CONFIRM
- http://lists.apple.com/archives/security-announce/2015/Sep/msg00008.html vendor-advisoryx_refsource_APPLE
- http://lists.opensuse.org/opensuse-security-announce/2015-02/msg00029.html vendor-advisoryx_refsource_SUSE
- http://lists.opensuse.org/opensuse-updates/2015-02/msg00079.html vendor-advisoryx_refsource_SUSE
- http://marc.info/?l=bugtraq&m=143403519711434&w=2 vendor-advisoryx_refsource_HP
- http://marc.info/?l=bugtraq&m=143748090628601&w=2 vendor-advisoryx_refsource_HP
- http://marc.info/?l=bugtraq&m=144050155601375&w=2 vendor-advisoryx_refsource_HP
- http://rhn.redhat.com/errata/RHSA-2015-1053.html vendor-advisoryx_refsource_REDHAT
- http://rhn.redhat.com/errata/RHSA-2015-1066.html vendor-advisoryx_refsource_REDHAT
- http://rhn.redhat.com/errata/RHSA-2015-1135.html vendor-advisoryx_refsource_REDHAT
- http://www.debian.org/security/2015/dsa-3195 vendor-advisoryx_refsource_DEBIAN
- http://www.mandriva.com/security/advisories?name=MDVSA-2015:032 vendor-advisoryx_refsource_MANDRIVA
- http://www.mandriva.com/security/advisories?name=MDVSA-2015:079 vendor-advisoryx_refsource_MANDRIVA
- http://www.oracle.com/technetwork/topics/security/bulletinjul2015-2511963.html x_refsource_CONFIRM
- http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html x_refsource_CONFIRM
- http://www.php.net/ChangeLog-5.php x_refsource_CONFIRM
- http://www.securityfocus.com/bid/72539 vdb-entryx_refsource_BID
- https://access.redhat.com/security/cve/CVE-2015-0231 Vendor Advisory
- https://bugs.php.net/bug.php?id=68710 x_refsource_CONFIRMExploitVendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1185397 x_refsource_CONFIRMIssue Tracking
- https://github.com/php/php-src/commit/b585a3aed7880a5fa5c18e2b838fc96f40e075bd x_refsource_CONFIRMPatchVendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2015-0231
- https://security.gentoo.org/glsa/201503-03 vendor-advisoryx_refsource_GENTOO
- https://security.gentoo.org/glsa/201606-10 vendor-advisoryx_refsource_GENTOO
- https://support.apple.com/HT205267 x_refsource_CONFIRM
- https://www.cve.org/CVERecord?id=CVE-2015-0231
Change history (0)
No recorded changes yet.