CVE-2017-5340

CRITICALCVSS 9.8/10EPSS 16.69%

Last modified

CVE-2017-5340 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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.. EPSS estimates a 16.69% chance of exploitation in the next 30 days.

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.

Metrics

CVSS 3.1
9.8/10

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

EPSS Probability
16.69%

96.6th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
PhpPhp>= 7.0.0, < 7.0.15
PhpPhp>= 7.1.0, < 7.1.1
NetappClustered Data OntapAll versions

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2017-5340?
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.
How severe is CVE-2017-5340?
CVE-2017-5340 has a CVSS score of 9.8/10 (CRITICAL severity). The EPSS model estimates a 16.69% probability of exploitation in the next 30 days.
How do I fix CVE-2017-5340?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2017-5340?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST