Use After Free The advisory has been revoked - it doesn't affect any version of package php5  (opens in a new tab)


Threat Intelligence

EPSS
6.71% (94th 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 IDSNYK-UBUNTU1204-PHP5-614566
  • published26 Jun 2018
  • disclosed26 Jun 2018

Introduced: 26 Jun 2018

CVE-2018-12882  (opens in a new tab)
CWE-416  (opens in a new tab)

Amendment

The Ubuntu security team deemed this advisory irrelevant for Ubuntu:12.04.

NVD Description

Note: Versions mentioned in the description apply only to the upstream php5 package and not the php5 package as distributed by Ubuntu.

exif_read_from_impl in ext/exif/exif.c in PHP 7.2.x through 7.2.7 allows attackers to trigger a use-after-free (in exif_read_from_file) because it closes a stream that it is not responsible for closing. The vulnerable code is reachable through the PHP exif_read_data function.