Every CVE Search/ Get API key

CVE-2007-5137

Buffer overflow in the ReadImage function in generic/tkImgGIF.c in Tcl (Tcl/Tk) 8.4.13 through 8...

6.8 MediumFix available

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.

Exploit likelihood

4.86%Down 7.4 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 6.8

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.

Record
CVE-2007-5137
CVSS 2.0
6.8 MediumAV:N/AC:M/Au:N/C:P/I:P/A:P
Weakness
CWE-119
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2007-5137
Updated
2026-11-02
EUVDEUVD-2007-5118 No score

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.

Record
EUVD-2007-5118
Updated
2026-11-03
GitHub AdvisoriesGHSA-67cg-f67f-c8v9 No score

Buffer overflow in the ReadImage function in generic/tkImgGIF.c in Tcl (Tcl/Tk) 8.4.13 through 8...

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.

Record
GHSA-67cg-f67f-c8v9
Weakness
CWE-119
Updated
2026-11-02
OSV No score

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.

Record
CVE-2007-5137
Updated
2026-11-02
OSVDEBIAN-CVE-2007-5137 No score

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.

Record
DEBIAN-CVE-2007-5137
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
libtk-img
Debian:12
before 1.3-release-8
1.3-release-8
libtk-img
Debian:13
before 1.3-release-8
1.3-release-8
libtk-img
Debian:14
before 1.3-release-8
1.3-release-8
libtk-img
Debian:4.0
From an advisory covering 2 CVEs
before 1:1.3-15etch3, plus listed versions
1:1.3-151:1.3-15etch2
1:1.3-15etch3
libtk-img
Debian:5.0
From an advisory covering 2 CVEs
before 1:1.3-release-7+lenny1, plus listed versions
1:1.3-release-7
1:1.3-release-7+lenny1
tk
Red Hat:enterprise_linux:5::client_workstation
From an advisory covering 2 CVEs
before 0:8.4.13-5.el5_1.1
0:8.4.13-5.el5_1.1
tk-debuginfo
Red Hat:enterprise_linux:5::client_workstation
From an advisory covering 2 CVEs
before 0:8.4.13-5.el5_1.1
0:8.4.13-5.el5_1.1
tk-devel
Red Hat:enterprise_linux:5::client_workstation
From an advisory covering 2 CVEs
before 0:8.4.13-5.el5_1.1
0:8.4.13-5.el5_1.1
tk
Red Hat:enterprise_linux:5::client
From an advisory covering 2 CVEs
before 0:8.4.13-5.el5_1.1
0:8.4.13-5.el5_1.1
tk-debuginfo
Red Hat:enterprise_linux:5::client
From an advisory covering 2 CVEs
before 0:8.4.13-5.el5_1.1
0:8.4.13-5.el5_1.1
tk
Red Hat:enterprise_linux:5::server
From an advisory covering 2 CVEs
before 0:8.4.13-5.el5_1.1
0:8.4.13-5.el5_1.1
tk-debuginfo
Red Hat:enterprise_linux:5::server
From an advisory covering 2 CVEs
before 0:8.4.13-5.el5_1.1
0:8.4.13-5.el5_1.1
tk-devel
Red Hat:enterprise_linux:5::server
From an advisory covering 2 CVEs
before 0:8.4.13-5.el5_1.1
0:8.4.13-5.el5_1.1

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
affected, aliases, facts, references, titleGitHub Advisories, OSV
first indexedCVE List, NVD

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2007-5137 is a medium vulnerability (CVSS 6.8) in Tcl Tk Tk, published September 28, 2007. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 4.86%, the 92nd percentile. Fixed in libtk-img 1.3-release-8.

References

Show 27 moreShow less
MoveEnter Open