Gentoo Logo

Tk: Buffer overflow


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200710-07 / tk
Release Date October 07, 2007
Latest Revision October 07, 2007: 01
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
dev-lang/tk < 8.4.15-r1 >= 8.4.15-r1 All supported architectures

Related bugreports: #192539


A buffer overflow vulnerability has been discovered in Tk.

2.  Impact Information


Tk is a toolkit for creating graphical user interfaces.


Reinhard Max discovered a boundary error in Tk when processing an interlaced GIF with two frames where the second is smaller than the first one.


A remote attacker could entice a user to open a specially crafted GIF image with a Tk-based software, possibly resulting in the execution of arbitrary code with the privileges of the user running the application.

3.  Resolution Information


There is no known workaround at this time.


All Tk users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-lang/tk-8.4.15-r1"

4.  References


Page updated October 07, 2007

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2015 Gentoo Foundation, Inc. Questions, Comments? Contact us.