USN-1402-1: libpng vulnerability

Ubuntu Security Notice USN-1402-1

22nd March, 2012

libpng 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


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


It was discovered that libpng did not properly process compressed chunks.
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

Update instructions

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

Ubuntu 11.10:
libpng12-0 1.2.46-3ubuntu1.2
Ubuntu 11.04:
libpng12-0 1.2.44-1ubuntu3.3
Ubuntu 10.10:
libpng12-0 1.2.44-1ubuntu0.3
Ubuntu 10.04 LTS:
libpng12-0 1.2.42-1ubuntu2.4
Ubuntu 8.04 LTS:
libpng12-0 1.2.15~beta5-3ubuntu0.6

To update your system, please follow these instructions:

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