CVE-2008-0553: Buffer Overflow

Published Feb 1, 2008
·
Updated

Stack-based buffer overflow in the ReadImage function in tkImgGIF.c in Tk (Tcl/Tk) before 8.5.1 allows remote attackers to execute arbitrary code via a crafted GIF image, a similar issue to CVE-2006-4484.

Other sources

tk GIF handling code 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.

ReadImage function in tkImgGIF.c does not properly check the value of initialCodeSize value read from GIF image before using it as upper bound during the initialization of append array. This can result in stack buffer overflow.

Upstream fix: http://tktoolkit.cvs.sourceforge.net/tktoolkit/tk/generic/tkImgGIF.c?r1=1.40&r2=1.41

This is expected to be included in upstream tk version 8.5.1.

Related issues: CVE-2006-4484 (gd), CVE-2007-6697 (SDLimage), CVE-2008-0554 (netpbm)

Red Hat

Affected Software

72 affected componentsFixes available
redhat/tk<0:8.4.7-3.el4_6.1
0:8.4.7-3.el4_6.1
redhat/tk<0:8.4.13-5.el5_1.1
0:8.4.13-5.el5_1.1
redhat/1.3<0.8.20080505
0.8.20080505
Tcl Tk Tcl Tk=6.2
Tcl Tk Tcl Tk=7.6
Tcl Tk Tcl Tk=8.4.8
Tcl Tk Tcl Tk=8.5a3
Tcl Tk Tcl Tk=8.4.2
Tcl Tk Tcl Tk=8.4.1
Tcl Tk Tcl Tk=8.0p2
Tcl Tk Tcl Tk=6.7
Tcl Tk Tcl Tk=8.4a2
Tcl Tk Tcl Tk=8.3.4
Tcl Tk Tcl Tk=6.1
Tcl Tk Tcl Tk<=8.4.17
Tcl Tk Tcl Tk=8.4.5
Tcl Tk Tcl Tk=7.4
Tcl Tk Tcl Tk=8.4.3
Tcl Tk Tcl Tk=8.4.0
Tcl Tk Tcl Tk=8.5.0
Tcl Tk Tcl Tk=8.0.4
Tcl Tk Tcl Tk=8.4b1
Tcl Tk Tcl Tk=8.4.11
Tcl Tk Tcl Tk=8.5a2
Tcl Tk Tcl Tk=8.5b2
Tcl Tk Tcl Tk=8.2.3
Tcl Tk Tcl Tk=6.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nerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2008-0553?

CVE-2008-0553 has a medium severity rating due to its potential for remote code execution through crafted GIF images.

2

How do I fix CVE-2008-0553?

To fix CVE-2008-0553, update to a version of Tk (Tcl/Tk) that is 8.5.1 or later.

3

What are the affected versions listed in CVE-2008-0553?

CVE-2008-0553 affects Tcl/Tk versions before 8.5.1, including 8.4.17 and earlier.

4

Can CVE-2008-0553 exploit my system through remote attacks?

Yes, CVE-2008-0553 can be exploited by remote attackers using specially crafted GIF images.

5

What should I do if I can't immediately update for CVE-2008-0553?

If an immediate update isn't possible for CVE-2008-0553, consider implementing security measures such as network segmentation or monitoring to reduce exposure.

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