Ubuntu: 1367-1: libpng vulnerabilities
Posted by Benjamin D. Thomas   
Ubuntu libpng could be made to crash or run programs as your login if it opened aspecially crafted file.
==========================================================================
Ubuntu Security Notice USN-1367-1
February 16, 2012

libpng vulnerabilities
==========================================================================

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

Summary:

libpng could be made to crash or run programs as your login if it opened a
specially crafted file.

Software Description:
- libpng: PNG (Portable Network Graphics) file library

Details:

It was discovered that libpng did not properly verify the embedded profile
length of iCCP chunks. An attacker could exploit this to cause a denial of
service via application crash. This issue only affected Ubuntu 8.04 LTS.
(CVE-2009-5063)

Jueri Aedla discovered that libpng did not properly verify the size used
when allocating memory during chunk decompression. If a user or automated
system using libpng were tricked into opening a specially crafted image,
an attacker could exploit this to cause a denial of service or execute
code with the privileges of the user invoking the program. (CVE-2011-3026)

Update instructions:

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

Ubuntu 11.10:
  libpng12-0                      1.2.46-3ubuntu1.1

Ubuntu 11.04:
  libpng12-0                      1.2.44-1ubuntu3.2

Ubuntu 10.10:
  libpng12-0                      1.2.44-1ubuntu0.2

Ubuntu 10.04 LTS:
  libpng12-0                      1.2.42-1ubuntu2.3

Ubuntu 8.04 LTS:
  libpng12-0                      1.2.15~beta5-3ubuntu0.5

After a standard system update you need to restart your session to make
all the necessary changes.

References:
  http://www.ubuntu.com/usn/usn-1367-1
  CVE-2009-5063, CVE-2011-3026

Package Information:
  https://launchpad.net/ubuntu/+source/libpng/1.2.46-3ubuntu1.1
  https://launchpad.net/ubuntu/+source/libpng/1.2.44-1ubuntu3.2
  https://launchpad.net/ubuntu/+source/libpng/1.2.44-1ubuntu0.2
  https://launchpad.net/ubuntu/+source/libpng/1.2.42-1ubuntu2.3
  https://launchpad.net/ubuntu/+source/libpng/1.2.15~beta5-3ubuntu0.5