USN-3566-1: PHP vulnerabilities

12 February 2018

Several security issues were fixed in PHP.



  • php5 - HTML-embedded scripting language interpreter


It was discovered that PHP incorrectly handled the PHAR 404 error page. A
remote attacker could possibly use this issue to conduct cross-site
scripting (XSS) attacks. (CVE-2018-5712)

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

It was discovered that PHP incorrectly handled 'front of' and 'back of'
date directives. A remote attacker could possibly use this issue to obtain
sensitive information. (CVE-2017-16642)

Update instructions

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

Ubuntu 14.04

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

Related notices

  • USN-3566-2: php5-odbc, libapache2-mod-php5filter, php5-pgsql, php5-enchant, php5-snmp, php5-gd, php5-fpm, php-pear, php5-recode, php5-xsl, libphp5-embed, php5-cgi, php5-sqlite, php5-sybase, php5-gmp, php5-intl, php5, php5-ldap, php5-mysqlnd, php5-xmlrpc, php5-common, php5-cli, libapache2-mod-php5, php5-dev, php5-pspell, php5-mysql, php5-tidy, php5-readline, php5-curl
  • USN-3600-2: php5, php5-cli, libapache2-mod-php5, php5-cgi, php5-fpm
  • USN-3600-1: php5-odbc, php7.1-fpm, php7.0-sybase, libapache2-mod-php5filter, php5-pgsql, php5-enchant, php7.0-dba, php5-snmp, php7.0-dev, php7.0-recode, php7.0-readline, php7.0-xml, php7.0-gd, php5-gd, php5-fpm, php7.0-enchant, php7.0-zip, php-pear, php5-recode, php7.0-fpm, php7.0-cgi, php7.1, php5-xsl, libphp5-embed, php5-cgi, php5-sqlite, php7.0-intl, php7.0-json, php5-sybase, php7.0-bz2, php7.0-ldap, php7.1-cgi, php5-gmp, php7.0-mysql, php7.0-imap, php7.0-soap, php5-intl, php5, php7.0-pspell, libapache2-mod-php7.0, php5-ldap, php5-mysqlnd, php5-xmlrpc, php5-common, php7.0-gmp, php7.0-phpdbg, php7.0-bcmath, php7.0, php7.0-xsl, php7.0-opcache, php7.0-pgsql, php7.0-mbstring, php7.0-cli, php7.0-common, php7.0-curl, php7.0-mcrypt, php7.0-sqlite3, php7.0-tidy, php5-cli, libapache2-mod-php5, libphp7.0-embed, php5-dev, php5-pspell, php7.0-odbc, php7.0-interbase, php7.1-cli, php7.0-xmlrpc, php5-mysql, php5-tidy, libapache2-mod-php7.1, php5-readline, php7.0-snmp, php5-curl