BlogSafe.org

PHP CVEs

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

← Back to CVE list

CVE-2017-5340

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

Description

Zend/zend_hash.c in PHP before 7.0.15 and 7.1.x before 7.1.1 mishandles certain cases that require large array allocations, which allows remote attackers to execute arbitrary code or cause a denial of service (integer overflow, uninitialized memory access, and use of arbitrary destructor function pointers) via crafted serialized data.

Affected products and versions

  • PHP — From 7.0.0 (including) to 7.0.15 (excluding)
  • PHP — From 7.1.0 (including) to 7.1.1 (excluding)

References

  • www.securityfocus.com http://www.securityfocus.com/bid/95371 Third Party Advisory, VDB Entry
  • www.securitytracker.com http://www.securitytracker.com/id/1037659 Third Party Advisory, VDB Entry
  • access.redhat.com https://access.redhat.com/errata/RHSA-2018:1296 Third Party Advisory
  • bugs.php.net https://bugs.php.net/bug.php?id=73832 Exploit, Issue Tracking, VDB Entry, Vendor Advisory
  • github.com https://github.com/php/php-src/commit/4cc0286f2f3780abc6084bcdae5dce595daa3c12 Patch, Third Party Advisory
  • security.netapp.com https://security.netapp.com/advisory/ntap-20180112-0001/ Third Party Advisory
  • nvd.nist.gov Official NVD record