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.
References (9)
Core 9
Core References
Third Party Advisory, VDB Entry vdb-entry
x_refsource_bid
http://www.securityfocus.com/bid/100427
Vendor Advisory vendor-advisory
x_refsource_redhat
https://access.redhat.com/errata/RHSA-2018:1296
Patch, Third Party Advisory x_refsource_confirm
https://github.com/php/php-src/commit/1a23ebc1fff59bf480ca92963b36eba5c1b904c4
Vendor Advisory x_refsource_confirm
https://security.netapp.com/advisory/ntap-20180112-0001/
Issue Tracking, Vendor Advisory x_refsource_confirm
https://bugs.php.net/bug.php?id=74103
Third Party Advisory vendor-advisory
x_refsource_debian
https://www.debian.org/security/2018/dsa-4080
Release Notes, Vendor Advisory x_refsource_confirm
http://php.net/ChangeLog-7.php
Third Party Advisory vendor-advisory
x_refsource_gentoo
https://security.gentoo.org/glsa/201709-21
Vendor Advisory vendor-advisory
x_refsource_redhat
https://access.redhat.com/errata/RHSA-2019:2519
Scores
CVSS v3
9.8
EPSS
0.0209
EPSS Percentile
84.1%
Attack Vector
NETWORK
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Details
CWE
CWE-416
Status
published
Products (32)
php/php
7.0.0
php/php
7.0.1
php/php
7.0.2
php/php
7.0.3
php/php
7.0.4
php/php
7.0.5
php/php
7.0.6
php/php
7.0.7
php/php
7.0.8
php/php
7.0.9
... and 22 more
Published
Aug 18, 2017
Tracked Since
Feb 18, 2026