USN-2126-1: PHP vulnerabilities

Ubuntu Security Notice USN-2126-1

3rd March, 2014

php5 vulnerabilities

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


Several security issues were fixed in PHP.

Software description

  • php5 - HTML-embedded scripting language interpreter


Bernd Melchers discovered that PHP's embedded libmagic library incorrectly
handled indirect offset values. An attacker could use this issue to cause
PHP to consume resources or crash, resulting in a denial of service.

It was discovered that PHP incorrectly handled certain values when using
the imagecrop function. An attacker could possibly use this issue to cause
PHP to crash, resulting in a denial of service, obtain sensitive
information, or possibly execute arbitrary code. This issue only affected
Ubuntu 13.10. (CVE-2013-7226, CVE-2013-7327, CVE-2013-7328, CVE-2014-2020)

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.2
php5-cgi 5.5.3+dfsg-1ubuntu2.2
php5-gd 5.5.3+dfsg-1ubuntu2.2
libapache2-mod-php5 5.5.3+dfsg-1ubuntu2.2
Ubuntu 12.10:
php5-cli 5.4.6-1ubuntu1.7
php5-cgi 5.4.6-1ubuntu1.7
php5-gd 5.4.6-1ubuntu1.7
libapache2-mod-php5 5.4.6-1ubuntu1.7
Ubuntu 12.04 LTS:
php5-cli 5.3.10-1ubuntu3.10
php5-cgi 5.3.10-1ubuntu3.10
php5-gd 5.3.10-1ubuntu3.10
libapache2-mod-php5 5.3.10-1ubuntu3.10
Ubuntu 10.04 LTS:
php5-cli 5.3.2-1ubuntu4.23
php5-cgi 5.3.2-1ubuntu4.23
php5-gd 5.3.2-1ubuntu4.23
libapache2-mod-php5 5.3.2-1ubuntu4.23

To update your system, please follow these instructions:

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


CVE-2013-7226, CVE-2013-7327, CVE-2013-7328, CVE-2014-1943, CVE-2014-2020