CVE-2008-0554: Buffer Overflow

Published Feb 1, 2008
·
Updated

Buffer overflow in the readImageData function in giftopnm.c in netpbm before 10.27 in netpbm before 10.27 allows remote user-assisted attackers to cause a denial of service (crash) and possibly execute arbitrary code via a crafted GIF image, a similar issue to CVE-2006-4484.

Other sources

GIF handling code used in netpbm's giftopnm converter is based on the same code as used by gd and SDLimage and is affected by the overflow known as CVE-2006-4484 and CVE-2007-6697.

readImageData function in giftopnm.c does not properly check the value of lzwMinCodeSize value read from GIF image before passing it to lzwInit, which uses it as upper bound during the initialization of fixed sized table array, leading to a buffer overflow.

This issue was fixed in upstream version 10.27. Code checking the value is in the initial giftopnm.c revision in projects public SVN repository:

http://netpbm.svn.sourceforge.net/viewvc/netpbm/trunk/converter/other/giftopnm.c?revision=1&view=markup#l1052

This issue does not affect netpbm packages as shipped in Red Hat Enterprise Linux 5 and current versions of Fedora, as those packages are based on fixed upstream version.

Related issues: CVE-2006-4484 (gd), CVE-2007-6697 (SDLimage), CVE-2008-0553 (tk)

Red Hat

Affected Software

2 affected componentsFixes available
redhat/netpbm<0:10.25-2.EL4.6.el4_6.1
0:10.25-2.EL4.6.el4_6.1
Netpbm netpbm<=10.26

Event History

Feb 1, 2008
CVE Published
via Red Hat·12:00 AM
Feb 5, 2008
Data Sourced
via Red Hat·10:08 AM
DescriptionSeverityAffected Software
Feb 8, 2008
CVE Published
via MITRE·01:00 AM
Data Sourced
via MITRE·01:00 AM
Description

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2008-0554?

CVE-2008-0554 is considered to have a high severity due to its potential to cause a denial of service and execute arbitrary code.

2

How do I fix CVE-2008-0554?

To fix CVE-2008-0554, upgrade netpbm to version 10.27 or later to patch the buffer overflow vulnerability.

3

What type of vulnerability is CVE-2008-0554?

CVE-2008-0554 is a buffer overflow vulnerability that affects the readImageData function in netpbm.

4

Who is affected by CVE-2008-0554?

Users of netpbm versions prior to 10.27 who process crafted GIF images are affected by CVE-2008-0554.

5

Can CVE-2008-0554 be exploited remotely?

CVE-2008-0554 can be exploited by remote user-assisted attackers through specially crafted GIF images.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203