4.117. netpbm

Updated netpbm packages that fix three security issues are now available for Red Hat Enterprise Linux 4 and 5.
The Red Hat Security Response Team has rated this update as having important security impact. Common Vulnerability Scoring System (CVSS) base scores, which give detailed severity ratings, are available for each vulnerability from the CVE links associated with each description below.
The netpbm packages contain a library of functions which support programs for handling various graphics file formats, including .pbm (Portable Bit Map), .pgm (Portable Gray Map), .pnm (Portable Any Map), .ppm (Portable Pixel Map), and others.

Security Fixes

CVE-2011-4516, CVE-2011-4517
Two heap-based buffer overflow flaws were found in the embedded JasPer library, which is used to provide support for Part 1 of the JPEG 2000 image compression standard in the jpeg2ktopam and pamtojpeg2k tools. An attacker could create a malicious JPEG 2000 compressed image file that could cause jpeg2ktopam to crash or, potentially, execute arbitrary code with the privileges of the user running jpeg2ktopam. These flaws do not affect pamtojpeg2k.
CVE-2009-4274
A stack-based buffer overflow flaw was found in the way the xpmtoppm tool processed X PixMap (XPM) image files. An attacker could create a malicious XPM file that would cause xpmtoppm to crash or, potentially, execute arbitrary code with the privileges of the user running xpmtoppm.
Red Hat would like to thank Jonathan Foote of the CERT Coordination Center for reporting the CVE-2011-4516 and CVE-2011-4517 issues.
All users of netpbm are advised to upgrade to these updated packages, which contain backported patches to correct these issues.
Updated netpbm packages that fix several bugs are now available for Red Hat Enterprise Linux 5.
The netpbm package contains a library of functions which support programs for handling various graphics file formats, including .pbm (portable bitmaps), .pgm (portable graymaps), .pnm (portable anymaps), .ppm (portable pixmaps) and others.

Bug Fixes

BZ#509366
Prior to this update, the pnmtofiasco and fiascotopnm utilities could not correctly read the bitfile on IBM System z and PowerPC platforms. As a consequence, images were not correctly converted. This update modifies pnmtofiasco so that the files are successfully converted.
BZ#510501
Prior to this update, the manual page for the pamperspective utility contained several misprints which could be confusing for users. This update corrects the misprints.
BZ#510759
Prior to this update, the pgmtopbm utility encountered problems when converting grayscale pgm images to black and white pbm images. As a consequence, the pgmtopbm utility generated an empty white image. This update modifies the conversion process so that the pbm image is displayed in black and white as expected.
BZ#574362
Prior to this update, the xwd image header contained incorrect information about the layout and the bit order when running on the rdesktop window. As a consequence, the xwdtopnm utility generated the wrong image colors. This update modifies the the xwd image header so that the correct output is displayed.
BZ#699633
Prior to this update, the manual pages for the pnmtojbig and pcdovtoppm utilities were missing. This update adds the missing documentation.
All users of netpbm are advised to upgrade to these updated packages, which fix these bugs.