Vulnerabilities · 2017 · Php
CVE-2017-5340
Php vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Php, Clustered Data Ontap. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Php runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- bugs.php.net/bug.php?id=73832 · Exploit
- github.com/php/php-src/commit/4cc0286f2f3780abc6084bcdae5dce595daa3c12 · Patch
- www.securityfocus.com/bid/95371 · Third Party Advisory
- www.securitytracker.com/id/1037659 · Third Party Advisory
- access.redhat.com/errata/RHSA-2018:1296 · Third Party Advisory
- security.netapp.com/advisory/ntap-20180112-0001/ · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2017-5340
- cve.org/CVERecord?id=CVE-2017-5340
More vulnerabilities in Php products
CVE-2025-14180CVE-2025-14178CVE-2025-14177CVE-2025-6491CVE-2025-1861CVE-2025-1736CVE-2025-1735CVE-2025-1734All 740
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.