Search for vulnerabilities
Vulnerability details: VCID-fxfh-uqgw-aaaa
Vulnerability ID VCID-fxfh-uqgw-aaaa
Aliases CVE-2017-5340
Summary 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.
Status Published
Exploitability 0.5
Weighted Severity 8.8
Risk 4.4
Affected and Fixed Packages Package Details
Weaknesses (2)
System Score Found at
generic_textual Medium http://people.canonical.com/~ubuntu-security/cve/2017/CVE-2017-5340.html
cvssv3 8.1 https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2017-5340.json
epss 0.05205 https://api.first.org/data/v1/epss?cve=CVE-2017-5340
epss 0.05205 https://api.first.org/data/v1/epss?cve=CVE-2017-5340
epss 0.05205 https://api.first.org/data/v1/epss?cve=CVE-2017-5340
epss 0.07405 https://api.first.org/data/v1/epss?cve=CVE-2017-5340
epss 0.07405 https://api.first.org/data/v1/epss?cve=CVE-2017-5340
epss 0.07405 https://api.first.org/data/v1/epss?cve=CVE-2017-5340
epss 0.07405 https://api.first.org/data/v1/epss?cve=CVE-2017-5340
epss 0.07405 https://api.first.org/data/v1/epss?cve=CVE-2017-5340
epss 0.07405 https://api.first.org/data/v1/epss?cve=CVE-2017-5340
epss 0.07405 https://api.first.org/data/v1/epss?cve=CVE-2017-5340
epss 0.07405 https://api.first.org/data/v1/epss?cve=CVE-2017-5340
epss 0.07405 https://api.first.org/data/v1/epss?cve=CVE-2017-5340
epss 0.07405 https://api.first.org/data/v1/epss?cve=CVE-2017-5340
epss 0.09182 https://api.first.org/data/v1/epss?cve=CVE-2017-5340
epss 0.09182 https://api.first.org/data/v1/epss?cve=CVE-2017-5340
epss 0.09182 https://api.first.org/data/v1/epss?cve=CVE-2017-5340
epss 0.09182 https://api.first.org/data/v1/epss?cve=CVE-2017-5340
epss 0.09182 https://api.first.org/data/v1/epss?cve=CVE-2017-5340
epss 0.09182 https://api.first.org/data/v1/epss?cve=CVE-2017-5340
epss 0.09182 https://api.first.org/data/v1/epss?cve=CVE-2017-5340
epss 0.09182 https://api.first.org/data/v1/epss?cve=CVE-2017-5340
epss 0.09182 https://api.first.org/data/v1/epss?cve=CVE-2017-5340
epss 0.09182 https://api.first.org/data/v1/epss?cve=CVE-2017-5340
epss 0.09182 https://api.first.org/data/v1/epss?cve=CVE-2017-5340
epss 0.09182 https://api.first.org/data/v1/epss?cve=CVE-2017-5340
epss 0.09182 https://api.first.org/data/v1/epss?cve=CVE-2017-5340
epss 0.09182 https://api.first.org/data/v1/epss?cve=CVE-2017-5340
epss 0.09182 https://api.first.org/data/v1/epss?cve=CVE-2017-5340
epss 0.09182 https://api.first.org/data/v1/epss?cve=CVE-2017-5340
epss 0.09182 https://api.first.org/data/v1/epss?cve=CVE-2017-5340
epss 0.09182 https://api.first.org/data/v1/epss?cve=CVE-2017-5340
epss 0.09182 https://api.first.org/data/v1/epss?cve=CVE-2017-5340
epss 0.09182 https://api.first.org/data/v1/epss?cve=CVE-2017-5340
epss 0.11972 https://api.first.org/data/v1/epss?cve=CVE-2017-5340
epss 0.11972 https://api.first.org/data/v1/epss?cve=CVE-2017-5340
epss 0.11972 https://api.first.org/data/v1/epss?cve=CVE-2017-5340
epss 0.12148 https://api.first.org/data/v1/epss?cve=CVE-2017-5340
epss 0.12148 https://api.first.org/data/v1/epss?cve=CVE-2017-5340
epss 0.12148 https://api.first.org/data/v1/epss?cve=CVE-2017-5340
epss 0.12148 https://api.first.org/data/v1/epss?cve=CVE-2017-5340
epss 0.12148 https://api.first.org/data/v1/epss?cve=CVE-2017-5340
epss 0.12148 https://api.first.org/data/v1/epss?cve=CVE-2017-5340
epss 0.12148 https://api.first.org/data/v1/epss?cve=CVE-2017-5340
epss 0.12148 https://api.first.org/data/v1/epss?cve=CVE-2017-5340
epss 0.12148 https://api.first.org/data/v1/epss?cve=CVE-2017-5340
epss 0.12148 https://api.first.org/data/v1/epss?cve=CVE-2017-5340
epss 0.12148 https://api.first.org/data/v1/epss?cve=CVE-2017-5340
epss 0.12148 https://api.first.org/data/v1/epss?cve=CVE-2017-5340
epss 0.12148 https://api.first.org/data/v1/epss?cve=CVE-2017-5340
epss 0.12148 https://api.first.org/data/v1/epss?cve=CVE-2017-5340
epss 0.12148 https://api.first.org/data/v1/epss?cve=CVE-2017-5340
epss 0.12148 https://api.first.org/data/v1/epss?cve=CVE-2017-5340
epss 0.12148 https://api.first.org/data/v1/epss?cve=CVE-2017-5340
epss 0.12148 https://api.first.org/data/v1/epss?cve=CVE-2017-5340
epss 0.12148 https://api.first.org/data/v1/epss?cve=CVE-2017-5340
epss 0.12148 https://api.first.org/data/v1/epss?cve=CVE-2017-5340
epss 0.12148 https://api.first.org/data/v1/epss?cve=CVE-2017-5340
epss 0.12148 https://api.first.org/data/v1/epss?cve=CVE-2017-5340
epss 0.12148 https://api.first.org/data/v1/epss?cve=CVE-2017-5340
epss 0.12148 https://api.first.org/data/v1/epss?cve=CVE-2017-5340
epss 0.12148 https://api.first.org/data/v1/epss?cve=CVE-2017-5340
epss 0.12148 https://api.first.org/data/v1/epss?cve=CVE-2017-5340
epss 0.12148 https://api.first.org/data/v1/epss?cve=CVE-2017-5340
epss 0.14384 https://api.first.org/data/v1/epss?cve=CVE-2017-5340
epss 0.14384 https://api.first.org/data/v1/epss?cve=CVE-2017-5340
epss 0.25157 https://api.first.org/data/v1/epss?cve=CVE-2017-5340
epss 0.39148 https://api.first.org/data/v1/epss?cve=CVE-2017-5340
epss 0.39148 https://api.first.org/data/v1/epss?cve=CVE-2017-5340
epss 0.39148 https://api.first.org/data/v1/epss?cve=CVE-2017-5340
epss 0.39148 https://api.first.org/data/v1/epss?cve=CVE-2017-5340
epss 0.48730 https://api.first.org/data/v1/epss?cve=CVE-2017-5340
epss 0.48730 https://api.first.org/data/v1/epss?cve=CVE-2017-5340
epss 0.48730 https://api.first.org/data/v1/epss?cve=CVE-2017-5340
epss 0.48730 https://api.first.org/data/v1/epss?cve=CVE-2017-5340
epss 0.48730 https://api.first.org/data/v1/epss?cve=CVE-2017-5340
epss 0.48730 https://api.first.org/data/v1/epss?cve=CVE-2017-5340
epss 0.48730 https://api.first.org/data/v1/epss?cve=CVE-2017-5340
epss 0.48730 https://api.first.org/data/v1/epss?cve=CVE-2017-5340
epss 0.48730 https://api.first.org/data/v1/epss?cve=CVE-2017-5340
epss 0.48730 https://api.first.org/data/v1/epss?cve=CVE-2017-5340
epss 0.48730 https://api.first.org/data/v1/epss?cve=CVE-2017-5340
rhbs medium https://bugzilla.redhat.com/show_bug.cgi?id=1412631
generic_textual Medium https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-5340
cvssv2 7.5 https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml
cvssv3.1 8.1 https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml
cvssv2 7.5 https://nvd.nist.gov/vuln/detail/CVE-2017-5340
cvssv3 9.8 https://nvd.nist.gov/vuln/detail/CVE-2017-5340
cvssv3.1 9.8 https://nvd.nist.gov/vuln/detail/CVE-2017-5340
archlinux High https://security.archlinux.org/AVG-105
generic_textual Medium https://ubuntu.com/security/notices/USN-3211-1
Reference id Reference type URL
http://people.canonical.com/~ubuntu-security/cve/2017/CVE-2017-5340.html
https://access.redhat.com/errata/RHSA-2018:1296
https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2017-5340.json
https://api.first.org/data/v1/epss?cve=CVE-2017-5340
https://bugs.php.net/bug.php?id=73832
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-5340
https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml
https://github.com/php/php-src/commit/4cc0286f2f3780abc6084bcdae5dce595daa3c12
https://security.netapp.com/advisory/ntap-20180112-0001/
https://ubuntu.com/security/notices/USN-3211-1
http://www.securityfocus.com/bid/95371
http://www.securitytracker.com/id/1037659
1412631 https://bugzilla.redhat.com/show_bug.cgi?id=1412631
850158 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=850158
ASA-201701-28 https://security.archlinux.org/ASA-201701-28
AVG-105 https://security.archlinux.org/AVG-105
cpe:2.3:a:netapp:clustered_data_ontap:-:*:*:*:*:*:*:* https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:netapp:clustered_data_ontap:-:*:*:*:*:*:*:*
cpe:2.3:a:php:php:*:*:*:*:*:*:*:* https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
cpe:2.3:a:php:php:7.0.0:*:*:*:*:*:*:* https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:php:php:7.0.0:*:*:*:*:*:*:*
cpe:2.3:a:php:php:7.0.1:*:*:*:*:*:*:* https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:php:php:7.0.1:*:*:*:*:*:*:*
cpe:2.3:a:php:php:7.0.10:*:*:*:*:*:*:* https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:php:php:7.0.10:*:*:*:*:*:*:*
cpe:2.3:a:php:php:7.0.11:*:*:*:*:*:*:* https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:php:php:7.0.11:*:*:*:*:*:*:*
cpe:2.3:a:php:php:7.0.12:*:*:*:*:*:*:* https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:php:php:7.0.12:*:*:*:*:*:*:*
cpe:2.3:a:php:php:7.0.13:*:*:*:*:*:*:* https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:php:php:7.0.13:*:*:*:*:*:*:*
cpe:2.3:a:php:php:7.0.14:*:*:*:*:*:*:* https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:php:php:7.0.14:*:*:*:*:*:*:*
cpe:2.3:a:php:php:7.0.2:*:*:*:*:*:*:* https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:php:php:7.0.2:*:*:*:*:*:*:*
cpe:2.3:a:php:php:7.0.3:*:*:*:*:*:*:* https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:php:php:7.0.3:*:*:*:*:*:*:*
cpe:2.3:a:php:php:7.0.4:*:*:*:*:*:*:* https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:php:php:7.0.4:*:*:*:*:*:*:*
cpe:2.3:a:php:php:7.0.5:*:*:*:*:*:*:* https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:php:php:7.0.5:*:*:*:*:*:*:*
cpe:2.3:a:php:php:7.0.6:*:*:*:*:*:*:* https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:php:php:7.0.6:*:*:*:*:*:*:*
cpe:2.3:a:php:php:7.0.7:*:*:*:*:*:*:* https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:php:php:7.0.7:*:*:*:*:*:*:*
cpe:2.3:a:php:php:7.0.8:*:*:*:*:*:*:* https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:php:php:7.0.8:*:*:*:*:*:*:*
cpe:2.3:a:php:php:7.0.9:*:*:*:*:*:*:* https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:php:php:7.0.9:*:*:*:*:*:*:*
CVE-2017-5340 https://nvd.nist.gov/vuln/detail/CVE-2017-5340
USN-3211-1 https://usn.ubuntu.com/3211-1/
No exploits are available.
Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H Found at https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2017-5340.json
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P Found at https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml
Exploitability (E) Access Vector (AV) Access Complexity (AC) Authentication (Au) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

high

functional

unproven

proof_of_concept

not_defined

local

adjacent_network

network

high

medium

low

multiple

single

none

none

partial

complete

none

partial

complete

none

partial

complete

Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H Found at https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P Found at https://nvd.nist.gov/vuln/detail/CVE-2017-5340
Exploitability (E) Access Vector (AV) Access Complexity (AC) Authentication (Au) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

high

functional

unproven

proof_of_concept

not_defined

local

adjacent_network

network

high

medium

low

multiple

single

none

none

partial

complete

none

partial

complete

none

partial

complete

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Found at https://nvd.nist.gov/vuln/detail/CVE-2017-5340
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Found at https://nvd.nist.gov/vuln/detail/CVE-2017-5340
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Exploit Prediction Scoring System (EPSS)
Percentile 0.89002
EPSS Score 0.05205
Published At April 7, 2025, 12:55 p.m.
Date Actor Action Source VulnerableCode Version
There are no relevant records.