7.5
CWE
416
Advisory Published
CVE Published
Updated

CVE-2017-12934: Use After Free

First published: Thu Jul 06 2017(Updated: )

ext/standard/var_unserializer.re in PHP 7.0.x before 7.0.21 and 7.1.x before 7.1.7 is prone to a heap use after free while unserializing untrusted data, related to the zval_get_type function in Zend/zend_types.h. Exploitation of this issue can have an unspecified impact on the integrity of PHP. Upstream bug: <a href="https://bugs.php.net/bug.php?id=74101">https://bugs.php.net/bug.php?id=74101</a>

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
debian/php7.0
debian/php7.1
redhat/php<7.0.21
7.0.21
redhat/php<7.1.7
7.1.7
PHP<7.0.21
7.0.21
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.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

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-12934?

    CVE-2017-12934 has a critical severity rating due to the potential impact on the integrity of PHP when unserializing untrusted data.

  • How do I fix CVE-2017-12934?

    To fix CVE-2017-12934, upgrade PHP to version 7.0.21 or newer, or 7.1.7 or newer.

  • What versions of PHP are affected by CVE-2017-12934?

    CVE-2017-12934 affects PHP versions 7.0.x before 7.0.21 and 7.1.x before 7.1.7.

  • What type of vulnerability is CVE-2017-12934?

    CVE-2017-12934 is a heap use-after-free vulnerability related to data unserialization in PHP.

  • Can CVE-2017-12934 be exploited remotely?

    Yes, CVE-2017-12934 can be exploited remotely by an attacker through untrusted data during the unserialization process.

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