USN-2163-1: PHP vulnerability

Ubuntu Security Notice USN-2163-1

7th April, 2014

php5 vulnerability

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

  • Ubuntu 13.10
  • Ubuntu 12.10
  • Ubuntu 12.04 LTS
  • Ubuntu 10.04 LTS


PHP could be made to crash if it processed a specially crafted file.

Software description

  • php5 - HTML-embedded scripting language interpreter


It was discovered that PHP's embedded libmagic library incorrectly handled
PE executables. An attacker could use this issue to cause PHP to crash,
resulting in a denial of service.

Update instructions

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

Ubuntu 13.10:
php5-cli 5.5.3+dfsg-1ubuntu2.3
php5-cgi 5.5.3+dfsg-1ubuntu2.3
libapache2-mod-php5 5.5.3+dfsg-1ubuntu2.3
Ubuntu 12.10:
php5-cli 5.4.6-1ubuntu1.8
php5-cgi 5.4.6-1ubuntu1.8
libapache2-mod-php5 5.4.6-1ubuntu1.8
Ubuntu 12.04 LTS:
php5-cli 5.3.10-1ubuntu3.11
php5-cgi 5.3.10-1ubuntu3.11
libapache2-mod-php5 5.3.10-1ubuntu3.11
Ubuntu 10.04 LTS:
php5-cli 5.3.2-1ubuntu4.24
php5-cgi 5.3.2-1ubuntu4.24
libapache2-mod-php5 5.3.2-1ubuntu4.24

To update your system, please follow these instructions:

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