USN-3702-1: PHP vulnerability

4 July 2018

php7.2 vulnerability

A security issue affects these releases of Ubuntu and its derivatives:

  • Ubuntu 18.04 LTS


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

Software Description

  • php7.2 - HTML-embedded scripting language interpreter


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 LTS
libapache2-mod-php7.2 - 7.2.7-0ubuntu0.18.04.1
php7.2-cgi - 7.2.7-0ubuntu0.18.04.1
php7.2-cli - 7.2.7-0ubuntu0.18.04.1
php7.2-fpm - 7.2.7-0ubuntu0.18.04.1

To update your system, please follow these instructions:

This update uses a new upstream release, which includes additional bug fixes. In general, a standard system update will make all the necessary changes.