Use After Free Affecting php package, versions [,7.0.21)[7.1.0, 7.1.7)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.49% (77th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Use After Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-PHP-2335196
  • published12 Jan 2022
  • disclosed18 Aug 2017
  • creditUnknown

Introduced: 18 Aug 2017

CVE-2017-12934  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade php to version 7.0.21, 7.1.7 or higher.

Overview

Affected versions of this package are vulnerable to Use After Free 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.

References

CVSS Scores

version 3.1