tk GIF handling code is based on the same code as used by gd and SDL_image 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 (SDL_image), CVE-2008-0554 (netpbm)
perl-Tk uses embedded copy of tk source code and is affected by this problem too. Adding perl-Tk maintainers to the CC list too.
Tk is fixed in rawhide, F-8, F-7. The upstream fix was used.
perl-Tk-804.028-3.fc7 has been submitted as an update for Fedora 7
perl-Tk-804.028-3.fc8 has been submitted as an update for Fedora 8
Upstream released tk 8.5.1 including the fix: http://sourceforge.net/project/shownotes.php?release_id=573933
perl-Tk-804.028-3.fc8 has been pushed to the Fedora 8 stable repository. If problems still persist, please make note of it in this bug report.
tk-8.4.13-7.fc7 has been pushed to the Fedora 7 stable repository. If problems still persist, please make note of it in this bug report.
tk-8.4.17-2.fc8 has been pushed to the Fedora 8 stable repository. If problems still persist, please make note of it in this bug report.
perl-Tk-804.028-3.fc7 has been pushed to the Fedora 7 stable repository. If problems still persist, please make note of it in this bug report.
This issue was addressed in: Red Hat Enterprise Linux: http://rhn.redhat.com/errata/RHSA-2008-0134.html http://rhn.redhat.com/errata/RHSA-2008-0135.html http://rhn.redhat.com/errata/RHSA-2008-0136.html Fedora: https://admin.fedoraproject.org/updates/F7/FEDORA-2008-1131 https://admin.fedoraproject.org/updates/F7/FEDORA-2008-1384 https://admin.fedoraproject.org/updates/F8/FEDORA-2008-1122 https://admin.fedoraproject.org/updates/F8/FEDORA-2008-1323
tkimg-1.3-0.8.20080505svn.fc7 has been submitted as an update for Fedora 7
tkimg-1.3-0.8.20080505svn.fc8 has been submitted as an update for Fedora 8
tkimg-1.3-0.8.20080505svn.fc7 has been pushed to the Fedora 7 stable repository. If problems still persist, please make note of it in this bug report.
tkimg-1.3-0.10.20080505svn.fc9 has been pushed to the Fedora 9 stable repository. If problems still persist, please make note of it in this bug report.