USN-3702-2: PHP vulnerability

05 July 2018

PHP could be made to crash or run programs if it opened a specially crafted file.



  • php7.2 - HTML-embedded scripting language interpreter


USN-3702-1 fixed a vulnerability in PHP. PHP 7.2.7 did not actually include
the fix for CVE-2018-12882. This update adds a backported patch to correct
the issue.

We apologize for the inconvenience.

Original advisory details:

It was discovered that PHP incorrectly handled exif tags in certain images.
A remote attacker could use this issue to cause PHP to crash, resulting in
a denial of service, or possibly execute arbitrary code.

Update instructions

The problem can be corrected by updating your system to the following package versions:

Ubuntu 18.04

In general, a standard system update will make all the necessary changes.


Related notices

  • USN-3702-1: libapache2-mod-php7.2, php7.2-fpm, php7.2-cgi, php7.2-cli, php7.2