CVE Database›Document archive›CVE-2017-5340

CVE-2017-5340

php: Use of uninitialized memory in unserialize()

Loading…

Severity

Moderate

Red Hat Product Security

8.1

CVSS 3.0

Review impact separately from score.

Published · December 29, 2016

Updated · June 28, 2026

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.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 3.0 · 8.1
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

CWE-456 · Missing Initialization of a Variable