Rapid7 Vulnerability & Exploit Database

RHSA-2003:157: Updated libpng packages fix vulnerabilities

Back to Search

RHSA-2003:157: Updated libpng packages fix vulnerabilities



Updated libpng packages that fix various buffer overflow vulnerabilities are available for Red Hat Linux on IBM iSeries and pSeries systems.

The libpng package contains a library of functions for creating and manipulating PNG (Portable Network Graphics) image format files. PNG is a bit-mapped graphics format similar to the GIF format. Versions of libpng prior to 1.0.14 contain a buffer overflow in the progressive reader when the PNG datastream contains more IDAT data than indicated by the IHDR chunk. Such deliberately malformed datastreams would crash applications that are linked to libpng and that use the progressive reading feature. Mozilla is such an application. (CAN-2002-0728) Packages within Red Hat Linux, such as Mozilla, make use of the shared libpng library. Therefore, all users are advised to upgrade to the errata packages, which contain libpng 1.0.14. Libpng 1.0.14 is not vulnerable to this issue and contains fixes for other bugs, including a number of memory leaks and another potential buffer overflow (CAN-2002-0660) Unpatched versions of libpng 1.2.1 and earlier do not correctly calculate offsets, which leads to a buffer overflow and the possibility of arbitrary code execution. This could be exploited by an attacker creating a carefully crafted PNG file, which could execute arbitrary code when the victim views it. (CAN-2002-1363) All users are advised to upgrade to the errata packages containing libpng 1.0.14 with backported patches correcting these vulnerabilities.


  • redhat-upgrade-libpng
  • redhat-upgrade-libpng-devel

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center