CVE-2016-5771Use After Free in PHP

CWE-416Use After Free11 documents8 sources
Severity
9.8CRITICALNVD
EPSS
9.6%
top 7.12%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedAug 7
Latest updateMay 14

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.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitability: 3.9 | Impact: 5.9

Affected Packages5 packages

NVDphp/php5.6.05.6.23+2
Ubuntuphp5/php5< 5.5.9+dfsg-1ubuntu4.19
NVDopensuse/leap42.1
Appleapple/macos_sierra10.12

Also affects: Debian Linux 8.0

Patches

🔴Vulnerability Details

3
GHSA
GHSA-pxh8-vqh4-j2qq: spl_array2022-05-14
OSV
php5, php7.0 vulnerabilities2016-08-02
OSV
CVE-2016-5771: spl_array2016-06-24

📋Vendor Advisories

3
Apple
CVE-2016-5771: macOS Sierra 10.122016-09-20
Ubuntu
PHP vulnerabilities2016-08-02
Red Hat
php: Use After Free Vulnerability in PHP's GC algorithm and unserialize2016-06-23

📄Research Papers

1
arXiv
Towards Automated Application-Specific Software Stacks2019-09-16

💬Community

3
Bugzilla
CVE-2016-5771 php: Use After Free Vulnerability in PHP's GC algorithm and unserialize2016-06-29
Bugzilla
CVE-2016-5773 php: ZipArchive class Use After Free Vulnerability in PHP's GC algorithm and unserialize2016-06-29
Bugzilla
CVE-2016-5766 CVE-2016-5767 CVE-2016-5768 CVE-2016-5769 CVE-2016-5770 CVE-2016-5771 CVE-2016-5772 CVE-2016-5773 php: various flaws [fedora-all]2016-06-29