CWE
416
Advisory Published
Updated

CVE-2017-12932: Use After Free

First published: Fri Aug 18 2017(Updated: )

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. Upstream patch: <a href="https://github.com/php/php-src/commit/1a23ebc1fff59bf480ca92963b36eba5c1b904c4">https://github.com/php/php-src/commit/1a23ebc1fff59bf480ca92963b36eba5c1b904c4</a> Upstream bug: <a href="https://bugs.php.net/bug.php?id=74103">https://bugs.php.net/bug.php?id=74103</a>

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
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<7.0.23
7.0.23
PHP=7.0.0
PHP=7.0.1
PHP=7.0.2
PHP=7.0.3
PHP=7.0.4
PHP=7.0.5
PHP=7.0.6
PHP=7.0.7
PHP=7.0.8
PHP=7.0.9
PHP=7.0.10
PHP=7.0.11
PHP=7.0.12
PHP=7.0.13
PHP=7.0.14
PHP=7.0.15
PHP=7.0.16
PHP=7.0.17
PHP=7.0.18
PHP=7.0.19
PHP=7.0.20
PHP=7.0.21
PHP=7.0.22
PHP=7.1.0
PHP=7.1.1
PHP=7.1.2
PHP=7.1.3
PHP=7.1.4
PHP=7.1.5
PHP=7.1.6
PHP=7.1.7
PHP=7.1.8

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • 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.

  • 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.

  • 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.

  • 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.

  • 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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203