USN-1307-1: PHP vulnerability

14 December 2011

php5 vulnerability

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

  • Ubuntu 11.10
  • Ubuntu 11.04
  • Ubuntu 10.10
  • Ubuntu 10.04 LTS
  • Ubuntu 8.04 LTS


PHP could be made to crash or disclose sensitive information if it processed a specially crafted image file.

Software Description

  • php5 - HTML-embedded scripting language interpreter


Florent Hochwelker discovered that PHP incorrectly handled certain EXIF headers in JPEG files. A remote attacker could exploit this issue to view sensitive information or cause the PHP server to crash.

Update instructions

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

Ubuntu 11.10
php5-cgi - 5.3.6-13ubuntu3.3
php5-cli - 5.3.6-13ubuntu3.3
Ubuntu 11.04
php5-cgi - 5.3.5-1ubuntu7.4
php5-cli - 5.3.5-1ubuntu7.4
Ubuntu 10.10
php5-cgi - 5.3.3-1ubuntu9.7
php5-cli - 5.3.3-1ubuntu9.7
Ubuntu 10.04 LTS
php5-cgi - 5.3.2-1ubuntu4.11
php5-cli - 5.3.2-1ubuntu4.11
Ubuntu 8.04 LTS
php5-cgi - 5.2.4-2ubuntu5.19
php5-cli - 5.2.4-2ubuntu5.19

To update your system, please follow these instructions:

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