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.