Skip to content
OpenAdvisories
Unscored CVE-2017-5340 EUVD-2017-14445GHSA-mcgr-9688-597c

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 re…

Published Jan 11, 2017 · Updated Aug 5, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS php7.0 7.0.15-0ubuntu0.16.04.2 USN-3211-1
ReleasePackageFixed inAdvisory
RHEL 3 rh-php70-php +29 7.0.27-1.el6 RHSA-2018:1296
ReleasePackageFixed inAdvisory
SLES 12 SP2 php7 7.0.7-35.1 SUSE-SU-2017:0534-1
SLES 12 SP1 php7 7.0.7-35.1 SUSE-SU-2017:0534-1
SLES 12 php7 7.0.7-35.1 SUSE-SU-2017:0534-1

Advisories 3

References