php: Use After Free Vulnerability in PHP's GC algorithm and unserialize
Published Aug 7, 2016
9.8
CRITICALCVSS 3.1
EPSS 15.48%
Description
spl_array.c in the SPL extension in PHP before 5.5.37 and 5.6.x before 5.6.23 improperly interacts with the unserialize implementation and garbage collection, which allows remote attackers to execute arbitrary code or cause a denial of service (use-after-free and application crash) via crafted serialized data.
Affected products
No data.
No data.
Red Hat Software Collections for Red Hat Enterprise Linux 6
rh-php56-0:2.3-1.el6
Fixed · RHSA-2016:2750
Red Hat Software Collections for Red Hat Enterprise Linux 6
rh-php56-php-0:5.6.25-1.el6
Fixed · RHSA-2016:2750
Red Hat Software Collections for Red Hat Enterprise Linux 6
rh-php56-php-pear-1:1.9.5-4.el6
Fixed · RHSA-2016:2750
Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS
rh-php56-0:2.3-1.el6
Fixed · RHSA-2016:2750
Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS
rh-php56-php-0:5.6.25-1.el6
Fixed · RHSA-2016:2750
Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS
rh-php56-php-pear-1:1.9.5-4.el6
Fixed · RHSA-2016:2750
Red Hat Software Collections for Red Hat Enterprise Linux 7
rh-php56-0:2.3-1.el7
Fixed · RHSA-2016:2750
Red Hat Software Collections for Red Hat Enterprise Linux 7
rh-php56-php-0:5.6.25-1.el7
Fixed · RHSA-2016:2750
Red Hat Software Collections for Red Hat Enterprise Linux 7
rh-php56-php-pear-1:1.9.5-4.el7
Fixed · RHSA-2016:2750
Red Hat Software Collections for Red Hat Enterprise Linux 7.2 EUS
rh-php56-0:2.3-1.el7
Fixed · RHSA-2016:2750
Red Hat Software Collections for Red Hat Enterprise Linux 7.2 EUS
rh-php56-php-0:5.6.25-1.el7
Fixed · RHSA-2016:2750
Red Hat Software Collections for Red Hat Enterprise Linux 7.2 EUS
rh-php56-php-pear-1:1.9.5-4.el7
Fixed · RHSA-2016:2750
Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS
rh-php56-0:2.3-1.el7
Fixed · RHSA-2016:2750
Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS
rh-php56-php-0:5.6.25-1.el7
Fixed · RHSA-2016:2750
Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS
rh-php56-php-pear-1:1.9.5-4.el7
Fixed · RHSA-2016:2750
Red Hat Enterprise Linux 5
php
Will not fix
Red Hat Enterprise Linux 5
php53
Will not fix
Red Hat Enterprise Linux 6
php
Will not fix
Red Hat Enterprise Linux 7
php
Will not fix
Red Hat Software Collections
php54-php
Will not fix
Red Hat Software Collections
php55-php
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | rh-php56-0:2.3-1.el6 | Fixed | RHSA-2016:2750 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | rh-php56-php-0:5.6.25-1.el6 | Fixed | RHSA-2016:2750 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6 | rh-php56-php-pear-1:1.9.5-4.el6 | Fixed | RHSA-2016:2750 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS | rh-php56-0:2.3-1.el6 | Fixed | RHSA-2016:2750 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS | rh-php56-php-0:5.6.25-1.el6 | Fixed | RHSA-2016:2750 |
| Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS | rh-php56-php-pear-1:1.9.5-4.el6 | Fixed | RHSA-2016:2750 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-php56-0:2.3-1.el7 | Fixed | RHSA-2016:2750 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-php56-php-0:5.6.25-1.el7 | Fixed | RHSA-2016:2750 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-php56-php-pear-1:1.9.5-4.el7 | Fixed | RHSA-2016:2750 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.2 EUS | rh-php56-0:2.3-1.el7 | Fixed | RHSA-2016:2750 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.2 EUS | rh-php56-php-0:5.6.25-1.el7 | Fixed | RHSA-2016:2750 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.2 EUS | rh-php56-php-pear-1:1.9.5-4.el7 | Fixed | RHSA-2016:2750 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS | rh-php56-0:2.3-1.el7 | Fixed | RHSA-2016:2750 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS | rh-php56-php-0:5.6.25-1.el7 | Fixed | RHSA-2016:2750 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS | rh-php56-php-pear-1:1.9.5-4.el7 | Fixed | RHSA-2016:2750 |
| Red Hat Enterprise Linux 5 | php | Will not fix | n/a |
| Red Hat Enterprise Linux 5 | php53 | Will not fix | n/a |
| Red Hat Enterprise Linux 6 | php | Will not fix | n/a |
| Red Hat Enterprise Linux 7 | php | Will not fix | n/a |
| Red Hat Software Collections | php54-php | Will not fix | n/a |
| Red Hat Software Collections | php55-php | Will not fix | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
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 2, 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 (51 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 2, 2026 | 15.48% (0.15484) | 96.71th | v5 (v2026.06.15) |
| Jun 15, 2026 | 15.08% (0.15083) | 96.30th | v5 (v2026.06.15) |
| Mar 28, 2026 | 9.58% (0.09582) | 92.84th | v4 (v2025.03.14) |
| Mar 4, 2026 | 13.59% (0.13594) | 94.09th | v4 (v2025.03.14) |
| Mar 1, 2026 | 23.91% (0.23911) | 95.94th | v4 (v2025.03.14) |
| Feb 4, 2026 | 13.59% (0.13594) | 94.05th | v4 (v2025.03.14) |
| Feb 1, 2026 | 23.91% (0.23911) | 95.90th | v4 (v2025.03.14) |
| Jan 4, 2026 | 13.65% (0.13654) | 94.02th | v4 (v2025.03.14) |
| Jan 1, 2026 | 22.93% (0.22926) | 95.75th | v4 (v2025.03.14) |
| Dec 28, 2025 | 13.65% (0.13654) | 94.02th | v4 (v2025.03.14) |
| Dec 27, 2025 | 8.19% (0.08186) | 91.92th | v4 (v2025.03.14) |
| Dec 4, 2025 | 13.65% (0.13654) | 93.98th | v4 (v2025.03.14) |
| Dec 1, 2025 | 22.93% (0.22926) | 95.71th | v4 (v2025.03.14) |
| Nov 4, 2025 | 13.65% (0.13654) | 93.95th | v4 (v2025.03.14) |
| Nov 1, 2025 | 22.93% (0.22926) | 95.69th | v4 (v2025.03.14) |
| Oct 28, 2025 | 13.65% (0.13654) | 93.94th | v4 (v2025.03.14) |
| Oct 27, 2025 | 8.19% (0.08186) | 91.81th | v4 (v2025.03.14) |
| Oct 4, 2025 | 13.65% (0.13654) | 93.99th | v4 (v2025.03.14) |
| Oct 1, 2025 | 22.93% (0.22926) | 95.73th | v4 (v2025.03.14) |
| Sep 5, 2025 | 8.19% (0.08186) | 91.87th | v4 (v2025.03.14) |
| Sep 1, 2025 | 13.16% (0.13161) | 93.91th | v4 (v2025.03.14) |
| Aug 20, 2025 | 8.19% (0.08186) | 91.82th | v4 (v2025.03.14) |
| Aug 4, 2025 | 10.93% (0.10928) | 93.11th | v4 (v2025.03.14) |
| Aug 1, 2025 | 17.18% (0.17185) | 94.78th | v4 (v2025.03.14) |
| Jul 30, 2025 | 10.93% (0.10928) | 93.11th | v4 (v2025.03.14) |
| Jul 4, 2025 | 17.79% (0.17791) | 94.82th | v4 (v2025.03.14) |
| Jul 1, 2025 | 28.75% (0.28748) | 96.34th | v4 (v2025.03.14) |
| Jun 21, 2025 | 17.79% (0.17791) | 94.78th | v4 (v2025.03.14) |
| Jun 4, 2025 | 20.80% (0.20797) | 95.28th | v4 (v2025.03.14) |
| Jun 1, 2025 | 33.68% (0.33679) | 96.73th | v4 (v2025.03.14) |
| May 30, 2025 | 20.80% (0.20797) | 95.27th | v4 (v2025.03.14) |
| May 4, 2025 | 15.34% (0.15344) | 94.22th | v4 (v2025.03.14) |
| May 1, 2025 | 26.20% (0.26200) | 95.99th | v4 (v2025.03.14) |
| Apr 13, 2025 | 15.34% (0.15344) | 94.08th | v4 (v2025.03.14) |
| Apr 12, 2025 | 22.61% (0.22615) | 95.39th | v4 (v2025.03.14) |
| Apr 11, 2025 | 32.52% (0.32517) | 96.50th | v4 (v2025.03.14) |
| Mar 30, 2025 | 20.89% (0.20893) | 95.14th | v4 (v2025.03.14) |
| Mar 29, 2025 | 51.67% (0.51670) | 96.93th | v4 (v2025.03.14) |
| Mar 27, 2025 | 20.89% (0.20893) | 94.82th | v4 (v2025.03.14) |
| Mar 26, 2025 | 32.52% (0.32517) | 96.43th | v4 (v2025.03.14) |
| Mar 22, 2025 | 20.89% (0.20893) | 95.17th | v4 (v2025.03.14) |
| Mar 21, 2025 | 32.52% (0.32517) | 96.51th | v4 (v2025.03.14) |
| Mar 18, 2025 | 20.89% (0.20893) | 95.18th | v4 (v2025.03.14) |
| Mar 17, 2025 | 32.52% (0.32517) | 96.47th | v4 (v2025.03.14) |
| Dec 12, 2024 | 1.38% (0.01384) | 86.89th | v3 (v2023.03.01) |
| Apr 27, 2024 | 1.38% (0.01384) | 86.15th | v3 (v2023.03.01) |
| Apr 16, 2024 | 1.16% (0.01160) | 84.69th | v3 (v2023.03.01) |
| Mar 7, 2023 | 1.16% (0.01160) | 82.67th | v3 (v2023.03.01) |
| Mar 6, 2023 | 6.70% (0.06698) | 91.56th | v2 (v2022.01.01) |
| Apr 1, 2022 | 6.70% (0.06698) | 90.75th | v2 (v2022.01.01) |
| Feb 4, 2022 | 6.70% (0.06698) | 78.74th | v2 (v2022.01.01) |
References (16)
- http://github.com/php/php-src/commit/3f627e580acfdaf0595ae3b115b8bec677f203ee?w=1 x_refsource_CONFIRMPatchThird Party Advisory
- http://lists.apple.com/archives/security-announce/2016/Sep/msg00006.html vendor-advisoryx_refsource_APPLEBroken LinkMailing List
- http://lists.opensuse.org/opensuse-security-announce/2016-07/msg00004.html vendor-advisoryx_refsource_SUSEMailing ListThird Party Advisory
- http://lists.opensuse.org/opensuse-updates/2016-08/msg00003.html vendor-advisoryx_refsource_SUSEMailing ListThird Party Advisory
- http://php.net/ChangeLog-5.php x_refsource_CONFIRMPatchRelease NotesVendor Advisory
- http://rhn.redhat.com/errata/RHSA-2016-2750.html vendor-advisoryx_refsource_REDHATThird Party Advisory
- http://www.debian.org/security/2016/dsa-3618 vendor-advisoryx_refsource_DEBIANThird Party Advisory
- http://www.openwall.com/lists/oss-security/2016/06/23/4 mailing-listx_refsource_MLISTMailing ListPatchThird Party Advisory
- http://www.securityfocus.com/bid/91401 vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry
- https://access.redhat.com/security/cve/CVE-2016-5771 Vendor Advisory
- https://bugs.php.net/bug.php?id=72433 x_refsource_CONFIRMExploitIssue TrackingVendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1351173 Issue Tracking
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05240731 x_refsource_CONFIRMThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2016-5771
- https://support.apple.com/HT207170 x_refsource_CONFIRMThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2016-5771
Change history (0)
No recorded changes yet.