Use After Free Affecting php package, versions [,5.6.28)


Severity

Recommended
0.0
critical
0
10

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

Threat Intelligence

EPSS
0.65% (80th 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-2335180
  • published12 Jan 2022
  • disclosed4 Jan 2017
  • creditUnknown

Introduced: 4 Jan 2017

CVE-2016-9138  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade php to version 5.6.28 or higher.

Overview

Affected versions of this package are vulnerable to Use After Free. PHP through 5.6.27 and 7.x through 7.0.12 mishandles property modification during __wakeup processing, which allows remote attackers to cause a denial of service or possibly have unspecified other impact via crafted serialized data, as demonstrated by Exception::__toString with DateInterval::__wakeup.

References

CVSS Scores

version 3.1