php: use-after-free vulnerability in the process_nested_data function in ext/standard/var_unserializer.re
Published Mar 30, 2015
7.5
HIGHCVSS 2.0
EPSS 12.22%
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
No data.
Configuration 1
- ≤ 5.4.38
- 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.5.21
- 5.5.22
- 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
- 5.6.5
- 5.6.6
Configuration 2
Configuration 3
- 7.0
- 7.0
- 7.1
- 7.0
- 7.1
- 7.0
No data.
Red Hat Enterprise Linux 6
php-0:5.3.3-46.el6_6
Fixed · RHSA-2015:1218
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
Under investigation
Red Hat Enterprise Linux 5
php53
Will not fix
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 6 | php-0:5.3.3-46.el6_6 | Fixed | RHSA-2015:1218 |
| 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 | Under investigation | n/a |
| Red Hat Enterprise Linux 5 | php53 | Will not fix | 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
No remediation recorded yet.
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 | 12.22% (0.12219) | 96.05th | v5 (v2026.06.15) |
| Jun 15, 2026 | 11.98% (0.11981) | 95.58th | v5 (v2026.06.15) |
| May 24, 2026 | 26.40% (0.26397) | 96.39th | v4 (v2025.03.14) |
| May 9, 2026 | 28.51% (0.28511) | 96.56th | v4 (v2025.03.14) |
| Mar 4, 2026 | 36.43% (0.36430) | 97.04th | v4 (v2025.03.14) |
| Mar 1, 2026 | 45.10% (0.45097) | 97.54th | v4 (v2025.03.14) |
| Feb 4, 2026 | 36.43% (0.36430) | 97.00th | v4 (v2025.03.14) |
| Feb 1, 2026 | 45.10% (0.45097) | 97.51th | v4 (v2025.03.14) |
| Jan 4, 2026 | 36.43% (0.36430) | 96.98th | v4 (v2025.03.14) |
| Jan 1, 2026 | 45.10% (0.45097) | 97.49th | v4 (v2025.03.14) |
| Dec 28, 2025 | 36.43% (0.36430) | 96.97th | v4 (v2025.03.14) |
| Dec 27, 2025 | 29.03% (0.29030) | 96.44th | v4 (v2025.03.14) |
| Dec 4, 2025 | 36.43% (0.36430) | 96.94th | v4 (v2025.03.14) |
| Dec 1, 2025 | 45.10% (0.45097) | 97.46th | v4 (v2025.03.14) |
| Nov 4, 2025 | 36.43% (0.36430) | 96.92th | v4 (v2025.03.14) |
| Nov 1, 2025 | 45.10% (0.45097) | 97.46th | v4 (v2025.03.14) |
| Oct 28, 2025 | 36.43% (0.36430) | 96.92th | v4 (v2025.03.14) |
| Oct 27, 2025 | 29.03% (0.29030) | 96.36th | v4 (v2025.03.14) |
| Oct 4, 2025 | 36.43% (0.36430) | 96.99th | v4 (v2025.03.14) |
| Oct 1, 2025 | 45.10% (0.45097) | 97.52th | v4 (v2025.03.14) |
| Sep 11, 2025 | 29.03% (0.29030) | 96.42th | v4 (v2025.03.14) |
| Sep 4, 2025 | 22.99% (0.22995) | 95.71th | v4 (v2025.03.14) |
| Sep 1, 2025 | 28.28% (0.28278) | 96.37th | v4 (v2025.03.14) |
| Aug 4, 2025 | 22.99% (0.22995) | 95.68th | v4 (v2025.03.14) |
| Aug 1, 2025 | 28.28% (0.28278) | 96.35th | v4 (v2025.03.14) |
| Jul 30, 2025 | 22.99% (0.22995) | 95.67th | v4 (v2025.03.14) |
| Jul 4, 2025 | 29.64% (0.29637) | 96.39th | v4 (v2025.03.14) |
| Jul 1, 2025 | 37.86% (0.37860) | 97.05th | v4 (v2025.03.14) |
| Jun 4, 2025 | 29.64% (0.29637) | 96.36th | v4 (v2025.03.14) |
| Jun 1, 2025 | 37.86% (0.37860) | 97.03th | v4 (v2025.03.14) |
| May 30, 2025 | 29.64% (0.29637) | 96.35th | v4 (v2025.03.14) |
| May 4, 2025 | 31.45% (0.31445) | 96.49th | v4 (v2025.03.14) |
| May 1, 2025 | 39.83% (0.39829) | 97.12th | v4 (v2025.03.14) |
| Apr 17, 2025 | 31.45% (0.31445) | 96.46th | v4 (v2025.03.14) |
| Mar 30, 2025 | 38.95% (0.38949) | 96.97th | v4 (v2025.03.14) |
| Mar 29, 2025 | 57.34% (0.57343) | 97.33th | v4 (v2025.03.14) |
| Mar 17, 2025 | 38.95% (0.38949) | 96.93th | v4 (v2025.03.14) |
| Dec 17, 2024 | 17.10% (0.17103) | 96.05th | v3 (v2023.03.01) |
| Dec 12, 2024 | 9.99% (0.09992) | 95.14th | v3 (v2023.03.01) |
| Mar 6, 2024 | 9.54% (0.09540) | 94.60th | v3 (v2023.03.01) |
| Mar 7, 2023 | 8.36% (0.08363) | 93.35th | v3 (v2023.03.01) |
| Mar 6, 2023 | 8.50% (0.08501) | 93.90th | v2 (v2022.01.01) |
| Apr 1, 2022 | 8.50% (0.08501) | 93.37th | v2 (v2022.01.01) |
| Feb 4, 2022 | 8.50% (0.08501) | 82.71th | v2 (v2022.01.01) |
References (25)
- http://lists.apple.com/archives/security-announce/2015/Aug/msg00001.html vendor-advisoryx_refsource_APPLEVendor Advisory
- http://lists.apple.com/archives/security-announce/2015/Sep/msg00008.html vendor-advisoryx_refsource_APPLEVendor Advisory
- http://lists.opensuse.org/opensuse-security-announce/2015-05/msg00005.html vendor-advisoryx_refsource_SUSE
- http://lists.opensuse.org/opensuse-updates/2015-04/msg00015.html vendor-advisoryx_refsource_SUSE
- 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://php.net/ChangeLog-5.php x_refsource_CONFIRM
- 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://rhn.redhat.com/errata/RHSA-2015-1218.html vendor-advisoryx_refsource_REDHAT
- 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.securityfocus.com/bid/73431 vdb-entryx_refsource_BID
- http://www.securitytracker.com/id/1032485 vdb-entryx_refsource_SECTRACK
- http://www.ubuntu.com/usn/USN-2572-1 vendor-advisoryx_refsource_UBUNTU
- https://access.redhat.com/security/cve/CVE-2015-2787 Vendor Advisory
- https://bugs.php.net/bug.php?id=68976 x_refsource_CONFIRMExploit
- https://bugzilla.redhat.com/show_bug.cgi?id=1207676 Issue Tracking
- https://gist.github.com/smalyshev/eea9eafc7c88a4a6d10d x_refsource_CONFIRM
- https://nvd.nist.gov/vuln/detail/CVE-2015-2787
- https://security.gentoo.org/glsa/201606-10 vendor-advisoryx_refsource_GENTOO
- https://support.apple.com/HT205267 x_refsource_CONFIRMVendor Advisory
- https://support.apple.com/kb/HT205031 x_refsource_CONFIRMVendor Advisory
- https://www.cve.org/CVERecord?id=CVE-2015-2787
Change history (0)
No recorded changes yet.