CVE-2017-12932: Use After Free

Published Aug 18, 2017
·
Updated

ext/standard/varunserializer.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.

Upstream patch:

https://github.com/php/php-src/commit/1a23ebc1fff59bf480ca92963b36eba5c1b904c4

Upstream bug:

https://bugs.php.net/bug.php?id=74103

Other sources

Fixed bug (heap-use-after-free when unserializing invalid array size). (CVE-2017-12932)

PHP

Affected Software

38 affected componentsFixes available
debian/php7.0
debian/php7.1
redhat/php<7.0.23
7.0.23
redhat/php<7.1.9
7.1.9
redhat/php<7.2.0
7.2.0
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
PHP PHP=7.0.10
PHP PHP=7.0.11
PHP PHP=7.0.12
PHP PHP=7.0.13
PHP PHP=7.0.14
PHP PHP=7.0.15
PHP PHP=7.0.16
PHP PHP=7.0.17
PHP PHP=7.0.18
PHP PHP=7.0.19
PHP PHP=7.0.20
PHP PHP=7.0.21
PHP PHP=7.0.22
PHP PHP=7.1.0
PHP PHP=7.1.1
PHP PHP=7.1.2
PHP PHP=7.1.3
PHP PHP=7.1.4
PHP PHP=7.1.5
PHP PHP=7.1.6
PHP PHP=7.1.7
PHP PHP=7.1.8
PHP PHP<7.0.23
7.0.23

Event History

Aug 18, 2017
CVE Published
via MITRE·03:00 AM
Data Sourced
via MITRE·03:00 AM
Description

Frequently Asked Questions

1

What is the severity of CVE-2017-12932?

CVE-2017-12932 is classified as a high severity vulnerability due to its potential for exploitation in PHP versions 7.0.x up to 7.0.22 and 7.1.x up to 7.1.8.

2

How do I fix CVE-2017-12932?

To remediate CVE-2017-12932, upgrade PHP to version 7.0.23 or later for 7.0.x and to version 7.1.9 or later for 7.1.x.

3

What vulnerabilities are linked to CVE-2017-12932?

CVE-2017-12932 is specifically related to a heap use after free vulnerability during the unserialization of untrusted data in specific PHP versions.

4

Which PHP versions are affected by CVE-2017-12932?

CVE-2017-12932 affects PHP versions 7.0.0 to 7.0.22 and 7.1.0 to 7.1.8.

5

Is CVE-2017-12932 a remote code execution vulnerability?

CVE-2017-12932 can lead to various exploitations including potential remote code execution if successful.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203