Use After Free Affecting php7.0 package, versions <7.0.15-0ubuntu0.16.04.2


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.97% (85th 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-UBUNTU1604-PHP70-386444
  • published12 Jan 2017
  • disclosed12 Jan 2017

Introduced: 12 Jan 2017

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

How to fix?

Upgrade Ubuntu:16.04 php7.0 to version 7.0.15-0ubuntu0.16.04.2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream php7.0 package and not the php7.0 package as distributed by Ubuntu. See How to fix? for Ubuntu:16.04 relevant fixed versions and status.

In all versions of PHP 7, during the unserialization process, resizing the 'properties' hash table of a serialized object may lead to use-after-free. A remote attacker may exploit this bug to gain arbitrary code execution.