CVE & CISA-KEV Catalog

CVE-2017-5340

CRITICALEPSS 97th pctl
9.8
CVSS v3
NVD

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.

How to fix

Remediation Available
libapache2-mod-php7.0Ubuntu
Fixed in:7.0.15-0ubuntu0.16.04.2USN-3211-1
php7.0Ubuntu
Fixed in:7.0.15-0ubuntu0.16.04.2USN-3211-1
php7.0-cgiUbuntu
Fixed in:7.0.15-0ubuntu0.16.04.2USN-3211-1
php7.0-cliUbuntu
Fixed in:7.0.15-0ubuntu0.16.04.2USN-3211-1
php7.0-fpmUbuntu
Fixed in:7.0.15-0ubuntu0.16.04.2USN-3211-1

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

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

Exploit Intelligence

16.69%probability of exploitation in 30 days
97thpercentile

Very high risk: more likely to be exploited than 97% of all known CVEs.

References

Related Vulnerabilities

Other CWE-190 (Integer Overflow) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2020-16040Medium6.5100%-Fix
CVE-2019-11477High7.599%-Fix
CVE-2023-44443High7.894%-Fix
CVE-2014-0569High9.390%--
CVE-2017-3599High7.590%-Fix
CVE-2023-21716Critical9.882%-Fix
Embed a live status badge for CVE-2017-5340
CVE-2017-5340 severity badge

Markdown

[![CVE-2017-5340](https://tridentstack.com/cve/badge/CVE-2017-5340.svg)](https://tridentstack.com/cve/CVE-2017-5340)

HTML

<a href="https://tridentstack.com/cve/CVE-2017-5340"><img src="https://tridentstack.com/cve/badge/CVE-2017-5340.svg" alt="CVE-2017-5340"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

See how it worksStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-05-06.