Critical severity · published Aug 18, 2017
CVE-2017-12932
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…
9.8
CVSS
7.4%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)7.4% · higher than 94% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
PH
PHP · PHP
7.0.0; 7.0.1; 7.0.2; 7.0.3; 7.0.4; 7.0.5; +26 more · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2017-12932
CVE.org
https://www.cve.org/CVERecord?id=CVE-2017-12932
Release Notes
http://php.net/ChangeLog-7.php
Third Party Advisory
http://www.securityfocus.com/bid/100427
access.redhat.com
https://access.redhat.com/errata/RHSA-2018:1296
access.redhat.com
https://access.redhat.com/errata/RHSA-2019:2519
Issue Tracking
https://bugs.php.net/bug.php?id=74103
Patch
https://github.com/php/php-src/commit/1a23ebc1fff59bf480ca92963b36eba5c1b904c4
More from PHP
9.8
CVE-2026-109618
RCE via OOM corruption
9.8
CVE-2024-4577
Argument Injection in PHP-CGI
9.8
CVE-2019-11043
Underflow in PHP-FPM can lead to RCE
9.8
CVE-2016-10033
The mailSend function in the isMail transport in PHPMailer before 5.2.18 might allow remote attackers to pass extra parameters to the mail command and consequently execute…
9.8
CVE-2012-1823
PHP-CGI Query String Parameter Vulnerability
