CVE-2007-5137 json
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 ar…
published 2007-09-28 19 y ago modified 2026-06-16 4 mo ago also EUVD-2007-5118
- cvss
- 6.8
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 4.9%
- EPSS 4.9% chance of exploitation in 30 days, percentile 92%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- libtk-img Debian 14, Debian 13, Debian 12 1.3-release-8
debian advisories DEBIAN-CVE-2007-5137
- tk RHEL 5 8.4.13-5.el5_1.1
red hat advisories RHSA-2008:0136
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2007-5137 updated
Tk GIF processing buffer overflow
-
Red Hat Enterprise Linux (v. 5 server) tk 8.4.13-5.el5_1.1 Red Hat Enterprise Linux Desktop (v. 5 client) tk 8.4.13-5.el5_1.1 Red Hat Enterprise Linux Desktop Workstation (v. 5 client) tk 8.4.13-5.el5_1.1fixed: vendor fix RHSA-2008:0136
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
4.86% chance of exploitation in the next 30 days, higher than 92% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
References
-
secunia.com
/advisories/26942
third-party-advisory, patch, vendor-advisory
-
sourceforge.net
/project/shownotes.php?release_id=541207
patch
-
redhat.com
/archives/fedora-package-announce/2007-October/msg00261.html
vendor-advisory
-
redhat.com
/support/errata/RHSA-2008-0136.html
vendor-advisory
-
mandriva.com
/security/advisories?name=MDKSA-2007:200
vendor-advisory
-
debian.org
/security/2009/dsa-1743
vendor-advisory
-
security.gentoo.org
/glsa/glsa-200710-07.xml
vendor-advisory
-
ubuntu.com
/usn/usn-529-1
vendor-advisory
-
novell.com
/linux/security/advisories/2007_20_sr.html
vendor-advisory
-
secunia.com
/advisories/34297
third-party-advisory
-
oval.cisecurity.org
/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9540
vdb-entry, signature
- bugs.gentoo.org /show_bug.cgi?id=192539
-
secunia.com
/advisories/27086
third-party-advisory
-
secunia.com
/advisories/27295
third-party-advisory
-
secunia.com
/advisories/27229
third-party-advisory
-
secunia.com
/advisories/27182
third-party-advisory
-
attrition.org
/pipermail/vim/2007-October/001826.html
mailing-list
-
secunia.com
/advisories/29069
third-party-advisory
-
secunia.com
/advisories/27207
third-party-advisory
-
securityfocus.com
/bid/25826
vdb-entry
Sources
- CVE List CVE-2007-5137
- NVD CVE-2007-5137
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.