Users login

Create an account »


Users login

Home » Hacking News » RedHat RHSA-2003:060-01: NetPBM multiple vulnerabilities

RedHat RHSA-2003:060-01: NetPBM multiple vulnerabilities

by Nikola Strahija on April 4th, 2003 Several math overflow errors were found in NetPBM. These errors may permit remote attackers to cause a denial of service or execute arbitrary code in any programs or scripts that use these graphics conversion tools.

Red Hat Security Advisory

Synopsis: Updated NetPBM packages fix multiple vulnerabilities
Advisory ID: RHSA-2003:060-01
Issue date: 2003-04-03
Updated on: 2003-04-03
Product: Red Hat Linux
Cross references: RHSA-2002:048
CVE Names: CAN-2003-0146

1. Topic:

Updated NetPBM packages are available that fix a number of vulnerabilities
in the netpbm libraries.

2. Relevant releases/architectures:

Red Hat Linux 7.0 - i386
Red Hat Linux 7.1 - i386
Red Hat Linux 7.2 - i386, ia64
Red Hat Linux 7.3 - i386
Red Hat Linux 8.0 - i386

3. Problem description:

The netpbm package contains a library of functions that support
programs for handling various graphics file formats, including .pbm
(portable bitmaps), .pgm (portable graymaps), .pnm (portable anymaps),
.ppm (portable pixmaps), and others.

During an audit of the NetPBM library, Al Viro, Alan Cox, and Sebastian
Krahmer found a number of bugs that are potentially exploitable. These
bugs could be exploited by creating a carefully crafted image in such a way
that it executes arbitrary code when it is processed by either an
application from the netpbm-progs package or an application that uses the
vulnerable netpbm library.

One way that an attacker could exploit these vulnerabilities would be to
submit a carefully crafted image to be printed, as the LPRng print spooler
used by default in Red Hat Linux releases uses netpbm utilities to parse
various types of image files.

Users are advised to upgrade to the erratum packages, which contain patches
that correct these vulnerabilities.

4. Solution:

Before applying this update, make sure all previously released errata
relevant to your system have been applied.

To update all RPMs for your particular architecture, run:

rpm -Fvh [filenames]

where [filenames] is a list of the RPMs you wish to upgrade. Only those
RPMs which are currently installed will be updated. Those RPMs which are
not installed but included in the list will not be updated. Note that you
can also use wildcards (*.rpm) if your current directory *only* contains the
desired RPMs.

Please note that this update is also available via Red Hat Network. Many
people find this an easier way to apply updates. To use Red Hat Network,
launch the Red Hat Update Agent with the following command:


This will start an interactive process that will result in the appropriate
RPMs being upgraded on your system.

5. RPMs required:

Red Hat Linux 7.0:



Red Hat Linux 7.1:



Red Hat Linux 7.2:




Red Hat Linux 7.3:



Red Hat Linux 8.0:



6. Verification:

MD5 sum Package Name
be2cc8d878c1524db10cb22187ce6153 7.0/en/os/SRPMS/netpbm-9.24-9.70.2.src.rpm
84deed148e62c881c51abc7fe8b37f1e 7.0/en/os/i386/netpbm-9.24-9.70.2.i386.rpm
e59129726e05c5aed53852a716dd576a 7.0/en/os/i386/netpbm-devel-9.24-9.70.2.i386.rpm
611d391c6821c6ccab5ca226b707248d 7.0/en/os/i386/netpbm-progs-9.24-9.70.2.i386.rpm
ebce212902a38a6b535460d7505d8520 7.1/en/os/SRPMS/netpbm-9.24-9.71.2.src.rpm
d2bbd0e0d7289a475b9d4252bffd62cf 7.1/en/os/i386/netpbm-9.24-9.71.2.i386.rpm
614191513e0ab85c05b74f6506dc57ee 7.1/en/os/i386/netpbm-devel-9.24-9.71.2.i386.rpm
8813b2f6903895e042203beaf53dad38 7.1/en/os/i386/netpbm-progs-9.24-9.71.2.i386.rpm
3e6e28544a93370f50f0f86f07ec4452 7.2/en/os/SRPMS/netpbm-9.24-9.72.2.src.rpm
2f087bf61ff32bda8d37fd086748f539 7.2/en/os/i386/netpbm-9.24-9.72.2.i386.rpm
ca8a0b509ed813b9a75eca790f289686 7.2/en/os/i386/netpbm-devel-9.24-9.72.2.i386.rpm
8b74468930ff8f75f8bc9160018e387e 7.2/en/os/i386/netpbm-progs-9.24-9.72.2.i386.rpm
8784738c7f3d89828276ac5c4c9a06ec 7.2/en/os/ia64/netpbm-9.24-9.72.2.ia64.rpm
8dc28a06a33d2245dd54c702ff380ca1 7.2/en/os/ia64/netpbm-devel-9.24-9.72.2.ia64.rpm
fddc9d2217adb884f46994e8be9a9c68 7.2/en/os/ia64/netpbm-progs-9.24-9.72.2.ia64.rpm
0a8a1e93fefbc2671b1dd38da601fd3b 7.3/en/os/SRPMS/netpbm-9.24-9.73.2.src.rpm
881bc6223802bbabd6594a76ab78174c 7.3/en/os/i386/netpbm-9.24-9.73.2.i386.rpm
2ff8266686ce7f792cb24c6c3e191ea3 7.3/en/os/i386/netpbm-devel-9.24-9.73.2.i386.rpm
da6ee0cc6a0eb6219dee9cde1f1c30d0 7.3/en/os/i386/netpbm-progs-9.24-9.73.2.i386.rpm
f8a037d380f701a3e6dd89baaf4195bc 8.0/en/os/SRPMS/netpbm-9.24-9.80.2.src.rpm
14a2b98cc50fcf99f4653e8c01d60759 8.0/en/os/i386/netpbm-9.24-9.80.2.i386.rpm
c39eba6f5e27407d93ba7d381cef8144 8.0/en/os/i386/netpbm-devel-9.24-9.80.2.i386.rpm
b4b4628270a22335059fbdfeef6bc82d 8.0/en/os/i386/netpbm-progs-9.24-9.80.2.i386.rpm

These packages are GPG signed by Red Hat for security. Our key is
available at

You can verify each package with the following command:

rpm --checksig -v

If you only wish to verify that each package has not been corrupted or
tampered with, examine only the md5sum with the following command:


7. References:

8. Contact:

The Red Hat security contact is . More contact
details at

Copyright 2003 Red Hat, Inc.

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 »