Distro advisory · Debian 4
libtk-img - arbitrary code execution
Description
Vulnerability : buffer overflows Problem type : local (remote) Debian-specific: no CVE Ids : CVE-2007-5137 CVE-2007-5378 Debian Bug : 519072
Two buffer overflows have been found in the GIF image parsing code of Tk, a cross-platform graphical toolkit, which could lead to the execution of arbitrary code. The Common Vulnerabilities and Exposures project identifies the following problems:
CVE-2007-5137
It was discovered that libtk-img is prone to a buffer overflow via specially crafted multi-frame interlaced GIF files.
CVE-2007-5378
It was discovered that libtk-img is prone to a buffer overflow via specially crafted GIF files with certain subimage sizes.
Manual fix · Debian 4
sudo apt-get updatesudo apt-get install --only-upgrade libtk-imgdpkg -s libtk-img | grep VersionSources