Skip to content
OpenAdvisories
Unscored CVE-2017-12932 EUVD-2017-4456GHSA-3w3q-r4qc-93xr

ext/standard/var_unserializer.re in PHP 7.0.x through 7.0.22 and 7.1.x through 7.1.8 is prone to a heap use after free while unserializing …

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

Description

ext/standard/var_unserializer.re in PHP 7.0.x through 7.0.22 and 7.1.x through 7.1.8 is prone to a heap use after free while unserializing untrusted data, related to improper use of the hash API for key deletion in a situation with an invalid array size. 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
Ubuntu 16.04 LTS php7.0 7.0.25-0ubuntu0.16.04.1 —
ReleasePackageFixed inAdvisory
RHEL 3 rh-php70-php +29 7.0.27-1.el6 RHSA-2018:1296
RHEL 3 rh-php71-php +27 7.1.30-1.el7 RHSA-2019:2519
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 4

References