CVE-2016-5771
Reported by mitre · Published August 7, 2016
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| php | php | 7.0.8, 5.6.23, 5.5.37 |
| php5 | Ubuntu:14.04:LTS | 5.5.9+dfsg-1ubuntu4.19 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| n/a | n/a | * |
Timeline
- Jun 24, 2016 CVE Published
- Sep 22, 2016 PoC Published
- Feb 4, 2022 EPSS Score (30 in total, the first dated here)
- Sep 8, 2025 CVE Updated
- Mar 5, 2026 Distribution Patch (2 in total, the first dated here)
- Mar 5, 2026 Security Advisory (5 in total, the first dated here)
- Oct 7, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2016-5771
vulnetix vdb fixes CVE-2016-5771
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2016-5771/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_CONFIRM
- APPLE-SA-2016-09-20 vendor-advisoryx_refsource_APPLE
- openSUSE-SU-2016:1761 vendor-advisoryx_refsource_SUSE
- openSUSE-SU-2016:1922 vendor-advisoryx_refsource_SUSE
- RHSA-2016:2750 vendor-advisoryx_refsource_REDHAT
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- [oss-security] 20160623 Re: CVE for PHP 5.5.37 issues mailing-listx_refsource_MLIST
- DSA-3618 vendor-advisoryx_refsource_DEBIAN
- 91401 vdb-entryx_refsource_BID
- x_refsource_CONFIRM
- x_refsource_CONFIRM