Skip to content
Fencer Vulns
medium 6.8

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.1
    fixed: 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

Sources

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.