Description
Buffer overflow in the ReadImage function in generic/tkImgGIF.c in Tcl (Tcl/Tk) 8.4.13 through 8.4.15 allows remote attackers to execute arbitrary code via multi-frame interlaced GIF files in which later frames are smaller than the first. NOTE: this issue is due to an incorrect patch for CVE-2007-5378.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | libtk-img | 1.3-release-8 | — |
| Debian 13 | libtk-img | 1.3-release-8 | — |
| Debian 12 | libtk-img | 1.3-release-8 | — |
| Debian 5.0 | libtk-img | 1:1.3-release-7+lenny1 | DSA-1743-1 |
| Debian 4.0 | libtk-img | 1:1.3-15etch3 | DSA-1743-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 5 | tk +1 | 8.4.13-5.el5_1.1 | RHSA-2008:0136 |
Advisories 2
- RHSA-2008:0136 Red Hat Security Advisory: tk security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- DSA-1743-1 libtk-img - arbitrary code execution Debian Security (DSA / DLA) · Mar 9, 2026
References
- 34297 third-party-advisory
- oval:org.mitre.oval:def:9540 vdb-entry signature
- FEDORA-2007-2564 vendor-advisory
- http://bugs.gentoo.org/show_bug.cgi?id=192539
- 26942 third-party-advisory
- 27086 third-party-advisory
- RHSA-2008:0136 vendor-advisory
- MDKSA-2007:200 vendor-advisory
- DSA-1743 vendor-advisory
- GLSA-200710-07 vendor-advisory
- 27295 third-party-advisory
- http://sourceforge.net/project/shownotes.php?release_id=541207
- 27229 third-party-advisory
- USN-529-1 vendor-advisory
- 27182 third-party-advisory
- 20071012 clarification on multiple Tk overflow issues mailing-list
- 29069 third-party-advisory
- 27207 third-party-advisory
- SUSE-SR:2007:020 vendor-advisory
- 25826 vdb-entry