USN-1937-1: PHP vulnerability

Ubuntu Security Notice USN-1937-1

5th September, 2013

php5 vulnerability

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

  • Ubuntu 13.04
  • Ubuntu 12.10
  • Ubuntu 12.04 LTS
  • Ubuntu 10.04 LTS


Fraudulent security certificates could allow sensitive information to be exposed when accessing the Internet.

Software description

  • php5 - HTML-embedded scripting language interpreter


It was discovered that PHP did not properly handle certificates with NULL
characters in the Subject Alternative Name field. An attacker could exploit
this to perform a man in the middle attack to view sensitive information or
alter encrypted communications.

Update instructions

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

Ubuntu 13.04:
php5-cli 5.4.9-4ubuntu2.3
php5-cgi 5.4.9-4ubuntu2.3
libapache2-mod-php5 5.4.9-4ubuntu2.3
Ubuntu 12.10:
php5-cli 5.4.6-1ubuntu1.4
php5-cgi 5.4.6-1ubuntu1.4
libapache2-mod-php5 5.4.6-1ubuntu1.4
Ubuntu 12.04 LTS:
php5-cli 5.3.10-1ubuntu3.8
php5-cgi 5.3.10-1ubuntu3.8
libapache2-mod-php5 5.3.10-1ubuntu3.8
Ubuntu 10.04 LTS:
php5-cli 5.3.2-1ubuntu4.21
php5-cgi 5.3.2-1ubuntu4.21
libapache2-mod-php5 5.3.2-1ubuntu4.21
libapache2-mod-php5filter 5.3.2-1ubuntu4.21

To update your system, please follow these instructions:

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