Vulnerability record · CVE-2017-5340 · published 11 January 2017
CVE-2017-5340: Php integer overflow vulnerability
Php · Php
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.
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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected products
2 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| http://www.securityfocus.com/bid/95371 | Third Party AdvisoryVDB Entry |
| http://www.securitytracker.com/id/1037659 | Third Party AdvisoryVDB Entry |
| https://access.redhat.com/errata/RHSA-2018:1296 | Third Party Advisory |
| https://bugs.php.net/bug.php?id=73832 | ExploitIssue TrackingVDB EntryVendor Advisory |
| https://github.com/php/php-src/commit/4cc0286f2f3780abc6084bcdae5dce595daa3c12 | PatchThird Party Advisory |
| https://security.netapp.com/advisory/ntap-20180112-0001/ | Third Party Advisory |
| http://www.securityfocus.com/bid/95371 | Third Party AdvisoryVDB Entry |
| http://www.securitytracker.com/id/1037659 | Third Party AdvisoryVDB Entry |
| https://access.redhat.com/errata/RHSA-2018:1296 | Third Party Advisory |
| https://bugs.php.net/bug.php?id=73832 | ExploitIssue TrackingVDB EntryVendor Advisory |
| https://github.com/php/php-src/commit/4cc0286f2f3780abc6084bcdae5dce595daa3c12 | PatchThird Party Advisory |
| https://security.netapp.com/advisory/ntap-20180112-0001/ | Third Party Advisory |
Track CVE-2017-5340 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2017-5340), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.