BlogSafe.org

PHP CVEs

Vulnerabilities in the PHP language itself, and which PHP versions they affect.

← Back to CVE list

CVE-2016-5771

CRITICAL 9.8 CVSS 3.1
Published
August 7, 2016
Last modified
June 17, 2026
NVD status
Modified
Reported by
cve@mitre.org
Weakness
CWE-416
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

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 and versions

  • PHP — Before 5.5.37
  • PHP — From 5.6.0 (including) to 5.6.23 (excluding)
  • PHP — From 7.0.0 (including) to 7.0.8 (excluding)

References

  • github.com http://github.com/php/php-src/commit/3f627e580acfdaf0595ae3b115b8bec677f203ee?w=1 Patch, Third Party Advisory
  • lists.apple.com http://lists.apple.com/archives/security-announce/2016/Sep/msg00006.html Broken Link, Mailing List
  • lists.opensuse.org http://lists.opensuse.org/opensuse-security-announce/2016-07/msg00004.html Mailing List, Third Party Advisory
  • lists.opensuse.org http://lists.opensuse.org/opensuse-updates/2016-08/msg00003.html Mailing List, Third Party Advisory
  • php.net http://php.net/ChangeLog-5.php Patch, Release Notes, Vendor Advisory
  • rhn.redhat.com http://rhn.redhat.com/errata/RHSA-2016-2750.html Third Party Advisory
  • www.debian.org http://www.debian.org/security/2016/dsa-3618 Third Party Advisory
  • www.openwall.com http://www.openwall.com/lists/oss-security/2016/06/23/4 Mailing List, Patch, Third Party Advisory
  • www.securityfocus.com http://www.securityfocus.com/bid/91401 Third Party Advisory, VDB Entry
  • bugs.php.net https://bugs.php.net/bug.php?id=72433 Exploit, Issue Tracking, Vendor Advisory
  • h20566.www2.hpe.com https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05240731 Third Party Advisory
  • support.apple.com https://support.apple.com/HT207170 Third Party Advisory
  • nvd.nist.gov Official NVD record