Rapid7 Vulnerability & Exploit Database

RHSA-2003:006: Updated libpng packages fix buffer overflow

Back to Search

RHSA-2003:006: Updated libpng packages fix buffer overflow



Updated libpng packages are available that fix a buffer overflow vulnerability. [Updated 15 Jan 2003] Advisory updated to include libpng10 packages for Red Hat Linux 8.0. libpng10 contains compatibility libraries used to run binaries that were linked dynamically with libpng 1.0.x.

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. 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. 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. For Red Hat Linux 8.0 the packages contain libpng 1.2.2 which is not vulnerable to this issue. For Red Hat Linux 6.2, 7, 7.1, 7.2 and 7.3 the packages contain libpng 1.0.14 with a backported patch that corrects this issue.


  • redhat-upgrade-libpng
  • redhat-upgrade-libpng-devel
  • redhat-upgrade-libpng10
  • redhat-upgrade-libpng10-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