Skip to content
OpenAdvisories
Unscored CVE-2017-12934 EUVD-2017-4458GHSA-cmv9-8x32-p5q7

ext/standard/var_unserializer.re in PHP 7.0.x before 7.0.21 and 7.1.x before 7.1.7 is prone to a heap use after free while unserializing un…

Published Aug 18, 2017 · Updated Aug 5, 2024 · Assigned by mitre

Description

ext/standard/var_unserializer.re in PHP 7.0.x before 7.0.21 and 7.1.x before 7.1.7 is prone to a heap use after free while unserializing untrusted data, related to the zval_get_type function in Zend/zend_types.h. Exploitation of this issue can have an unspecified impact on the integrity of PHP.

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
Debian 9 php7.0 7.0.27-0+deb9u1 DSA-4080-1
ReleasePackageFixed inAdvisory
RHEL 3 rh-php70-php +29 7.0.27-1.el6 RHSA-2018:1296
ReleasePackageFixed inAdvisory
SLES 12 SP3 php7 7.0.7-50.18.1 SUSE-SU-2017:2468-1
SLES 12 SP2 php7 7.0.7-50.18.1 SUSE-SU-2017:2468-1
SLES 12 php7 7.0.7-50.18.1 SUSE-SU-2017:2468-1

Advisories 3

References