Users login

Create an account »


Users login

Home » Hacking News » CLA-2002:512-libpng


by Nikola Strahija on July 18th, 2002 libpng is a library used to create and manipulate PNG (Portable Network Graphics) image files. The 1.2.4* and 1.0.14 releases of libpng solve a potential buffer overflow vulnerability[1] in some functions related to progressive image loading. Programs such as mozilla and various others use these functions. An attacker could exploit this to remotely run arbitrary code or crash an application by using a specially crafted png image.

These new releases also solve other minor bugs such as some memory
leaks in reading image functions.

* libpng 1.2.4 is available only in Conectiva Linux 8, where its
package is called libpng3.

All users should upgrade.

Please notice that in order to complete the upgrade process, you must
restart all running aplications that are linked to libpng after the
new packages installation. You can see a list of such applications
using the lsof utility, as seen below:

# lsof | grep libpng



Users of Conectiva Linux version 6.0 or higher may use apt to perform
upgrades of RPM packages:
- add the following line to /etc/apt/sources.list if it is not there yet
(you may also use linuxconf to do this):

rpm [cncbr] 6.0/conectiva updates

(replace 6.0 with the correct version number if you are not running CL6.0)

- run: apt-get update
- after that, execute: apt-get upgrade

Detailed instructions reagarding the use of apt and upgrade examples
can be found at

- -------------------------------------------------------------------------
All packages are signed with Conectiva's GPG key. The key and instructions
on how to import it can be found at
Instructions on how to check the signatures of the RPM packages can be
found at
- -------------------------------------------------------------------------
All our advisories and generic update instructions can be viewed at

Newsletter signup

Signup to our monthly newsletter and stay in touch with IT news!

Free E-books

We've got ebooks! But they're not online. :( Please give us a few days to bring downloads back.


Have something to say or just wanna drop us a line? Please keep this in mind: to spam, we reply with spam.

Contact us »