Use After Free in PHP
CVE-2016-5771
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.
Vulnerability class: Use-After-Free
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.155, 96.9th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- PHP
- Debian Linux — versions 8.0
- openSUSE Leap — versions 42.1
- openSUSE — versions 13.2
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (syadg123/pigat, teamssix/pigat). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/php/php-src/commit/3f627e580acfdaf0595ae3b115b8bec677f203ee (Patch, Third Party Advisory)
- APPLE-SA-2016-09-20 (vendor-advisory, Mailing List, Broken Link)
- openSUSE-SU-2016:1761 (vendor-advisory, Mailing List, Third Party Advisory)
- openSUSE-SU-2016:1922 (vendor-advisory, Mailing List, Third Party Advisory)
- RHSA-2016:2750 (vendor-advisory, Third Party Advisory)
- bugs.php.net/bug.php (Exploit, Issue Tracking, Vendor Advisory)
- php.net/ChangeLog-5.php (Patch, Release Notes, Vendor Advisory)
- [oss-security] 20160623 Re: CVE for PHP 5.5.37 issues (mailing-list, Patch, Mailing List, Third Party Advisory)
- DSA-3618 (vendor-advisory, Third Party Advisory)
- www.securityfocus.com/bid/91401 (Third Party Advisory, VDB Entry, vdb-entry)