VDB

CVE-2017-5340

CVE-2017-5340 PUBLISHED

Reported by mitre · Published January 11, 2017

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
phpArch Linux7.1.1-0
phpphp7.1.1, 7.0.15

Affected products

VendorProductVersions
n/an/an/a
archphp0
n/an/a*

Timeline

  • Jan 11, 2017 CVE Published
  • Jun 1, 2017 PoC Published
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Mar 6, 2026 Distribution Patch (2 in total, the first dated here)
  • Mar 6, 2026 Security Advisory (3 in total, the first dated here)
  • Sep 29, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2017-5340
vulnetix vdb fixes CVE-2017-5340

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2017-5340/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

  • x_refsource_CONFIRM
  • RHSA-2018:1296 vendor-advisoryx_refsource_REDHAT
  • x_refsource_CONFIRM
  • 95371 vdb-entryx_refsource_BID
  • x_refsource_CONFIRM
  • 1037659 vdb-entryx_refsource_SECTRACK
Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›