CVE-2007-5378
Buffer overflow in the FileReadGIF function in tkImgGIF.c for Tk Toolkit 8.4.12 and earlier, and...
Buffer overflow in the FileReadGIF function in tkImgGIF.c for Tk Toolkit 8.4.12 and earlier, and 8.3.5 and earlier, allows user-assisted attackers to cause a denial of service (segmentation fault) via an animated GIF in which the first subimage is smaller than a subsequent subimage, which triggers the overflow in the ReadImage function, a different vulnerability than CVE-2007-5137.
Exploit likelihood
What each source reports
NVD Score used
4.3
Buffer overflow in the FileReadGIF function in tkImgGIF.c for Tk Toolkit 8.4.12 and earlier, and 8.3.5 and earlier, allows user-assisted attackers to cause a denial of service (segmentation fault) via an animated GIF in which the first subimage is smaller than a subsequent subimage, which triggers the overflow in the ReadImage function, a different vulnerability than CVE-2007-5137.
- Record
CVE-2007-5378- CVSS 2.0
- 4.3 Medium
AV:N/AC:M/Au:N/C:N/I:N/A:P - Weakness
- CWE-119
- Updated
- 2026-11-02
CVE List No score
Buffer overflow in the FileReadGIF function in tkImgGIF.c for Tk Toolkit 8.4.12 and earlier, and 8.3.5 and earlier, allows user-assisted attackers to cause a denial of service (segmentation fault) via an animated GIF in which the first subimage is smaller than a subsequent subimage, which triggers the overflow in the ReadImage function, a different vulnerability than CVE-2007-5137.
- Record
CVE-2007-5378- Updated
- 2026-11-02
EUVDEUVD-2007-5356 No score
Buffer overflow in the FileReadGIF function in tkImgGIF.c for Tk Toolkit 8.4.12 and earlier, and 8.3.5 and earlier, allows user-assisted attackers to cause a denial of service (segmentation fault) via an animated GIF in which the first subimage is smaller than a subsequent subimage, which triggers the overflow in the ReadImage function, a different vulnerability than CVE-2007-5137.
- Record
EUVD-2007-5356- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-5mgp-v92x-h349 No score
Buffer overflow in the FileReadGIF function in tkImgGIF.c for Tk Toolkit 8.4.12 and earlier, and...
Buffer overflow in the FileReadGIF function in tkImgGIF.c for Tk Toolkit 8.4.12 and earlier, and 8.3.5 and earlier, allows user-assisted attackers to cause a denial of service (segmentation fault) via an animated GIF in which the first subimage is smaller than a subsequent subimage, which triggers the overflow in the ReadImage function, a different vulnerability than CVE-2007-5137.
- Record
GHSA-5mgp-v92x-h349- Weakness
- CWE-119
- Updated
- 2026-11-02
OSV No score
Buffer overflow in the FileReadGIF function in tkImgGIF.c for Tk Toolkit 8.4.12 and earlier, and 8.3.5 and earlier, allows user-assisted attackers to cause a denial of service (segmentation fault) via an animated GIF in which the first subimage is smaller than a subsequent subimage, which triggers the overflow in the ReadImage function, a different vulnerability than CVE-2007-5137.
- Record
CVE-2007-5378- Updated
- 2026-11-02
OSVDEBIAN-CVE-2007-5378 No score
Buffer overflow in the FileReadGIF function in tkImgGIF.c for Tk Toolkit 8.4.12 and earlier, and 8.3.5 and earlier, allows user-assisted attackers to cause a denial of service (segmentation fault) via an animated GIF in which the first subimage is smaller than a subsequent subimage, which triggers the overflow in the ReadImage function, a different vulnerability than CVE-2007-5137.
- Record
DEBIAN-CVE-2007-5378- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
libtk-imgDebian:12 |
before 1.3-release-8 | 1.3-release-8 |
libtk-imgDebian:13 |
before 1.3-release-8 | 1.3-release-8 |
libtk-imgDebian:14 |
before 1.3-release-8 | 1.3-release-8 |
tk8.4Debian:4.0 |
before 8.4.12-1etch1, plus listed versions 8.4.12-1 |
8.4.12-1etch1 |
tk8.4Debian:3.1 |
before 8.4.9-1sarge1, plus listed versions 8.4.9-1 |
8.4.9-1sarge1 |
tk8.3Debian:4.0 |
before 8.3.5-6etch1, plus listed versions 8.3.5-6 |
8.3.5-6etch1 |
libtk-imgDebian: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-imgDebian: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 |
expectRed Hat:enterprise_linux:2.1::as From an advisory covering 3 CVEs |
before 0:5.38.0-75 | 0:5.38.0-75 |
itclRed Hat:enterprise_linux:2.1::as From an advisory covering 3 CVEs |
before 0:3.2-75 | 0:3.2-75 |
Show 86 moreShow less
| Package | Affected | Fixed |
|---|---|---|
tclRed Hat:enterprise_linux:2.1::as From an advisory covering 3 CVEs |
before 0:8.3.3-75 | 0:8.3.3-75 |
tcllibRed Hat:enterprise_linux:2.1::as From an advisory covering 3 CVEs |
before 0:1.0-75 | 0:1.0-75 |
tcltkRed Hat:enterprise_linux:2.1::as From an advisory covering 3 CVEs |
before 0:8.3.3-75 | 0:8.3.3-75 |
tclxRed Hat:enterprise_linux:2.1::as From an advisory covering 3 CVEs |
before 0:8.3-75 | 0:8.3-75 |
tixRed Hat:enterprise_linux:2.1::as From an advisory covering 3 CVEs |
before 0:8.2.0b1-75 | 0:8.2.0b1-75 |
tkRed Hat:enterprise_linux:2.1::as From an advisory covering 3 CVEs |
before 0:8.3.3-75 | 0:8.3.3-75 |
expectRed Hat:enterprise_linux:2.1::aw From an advisory covering 3 CVEs |
before 0:5.38.0-75 | 0:5.38.0-75 |
itclRed Hat:enterprise_linux:2.1::aw From an advisory covering 3 CVEs |
before 0:3.2-75 | 0:3.2-75 |
tclRed Hat:enterprise_linux:2.1::aw From an advisory covering 3 CVEs |
before 0:8.3.3-75 | 0:8.3.3-75 |
tcllibRed Hat:enterprise_linux:2.1::aw From an advisory covering 3 CVEs |
before 0:1.0-75 | 0:1.0-75 |
tcltkRed Hat:enterprise_linux:2.1::aw From an advisory covering 3 CVEs |
before 0:8.3.3-75 | 0:8.3.3-75 |
tclxRed Hat:enterprise_linux:2.1::aw From an advisory covering 3 CVEs |
before 0:8.3-75 | 0:8.3-75 |
tixRed Hat:enterprise_linux:2.1::aw From an advisory covering 3 CVEs |
before 0:8.2.0b1-75 | 0:8.2.0b1-75 |
tkRed Hat:enterprise_linux:2.1::aw From an advisory covering 3 CVEs |
before 0:8.3.3-75 | 0:8.3.3-75 |
expectRed Hat:enterprise_linux:2.1::es From an advisory covering 3 CVEs |
before 0:5.38.0-75 | 0:5.38.0-75 |
itclRed Hat:enterprise_linux:2.1::es From an advisory covering 3 CVEs |
before 0:3.2-75 | 0:3.2-75 |
tclRed Hat:enterprise_linux:2.1::es From an advisory covering 3 CVEs |
before 0:8.3.3-75 | 0:8.3.3-75 |
tcllibRed Hat:enterprise_linux:2.1::es From an advisory covering 3 CVEs |
before 0:1.0-75 | 0:1.0-75 |
tcltkRed Hat:enterprise_linux:2.1::es From an advisory covering 3 CVEs |
before 0:8.3.3-75 | 0:8.3.3-75 |
tclxRed Hat:enterprise_linux:2.1::es From an advisory covering 3 CVEs |
before 0:8.3-75 | 0:8.3-75 |
tixRed Hat:enterprise_linux:2.1::es From an advisory covering 3 CVEs |
before 0:8.2.0b1-75 | 0:8.2.0b1-75 |
tkRed Hat:enterprise_linux:2.1::es From an advisory covering 3 CVEs |
before 0:8.3.3-75 | 0:8.3.3-75 |
expectRed Hat:enterprise_linux:2.1::ws From an advisory covering 3 CVEs |
before 0:5.38.0-75 | 0:5.38.0-75 |
itclRed Hat:enterprise_linux:2.1::ws From an advisory covering 3 CVEs |
before 0:3.2-75 | 0:3.2-75 |
tclRed Hat:enterprise_linux:2.1::ws From an advisory covering 3 CVEs |
before 0:8.3.3-75 | 0:8.3.3-75 |
tcllibRed Hat:enterprise_linux:2.1::ws From an advisory covering 3 CVEs |
before 0:1.0-75 | 0:1.0-75 |
tcltkRed Hat:enterprise_linux:2.1::ws From an advisory covering 3 CVEs |
before 0:8.3.3-75 | 0:8.3.3-75 |
tclxRed Hat:enterprise_linux:2.1::ws From an advisory covering 3 CVEs |
before 0:8.3-75 | 0:8.3-75 |
tixRed Hat:enterprise_linux:2.1::ws From an advisory covering 3 CVEs |
before 0:8.2.0b1-75 | 0:8.2.0b1-75 |
tkRed Hat:enterprise_linux:2.1::ws From an advisory covering 3 CVEs |
before 0:8.3.3-75 | 0:8.3.3-75 |
expectRed Hat:enterprise_linux:3::as From an advisory covering 3 CVEs |
before 0:5.38.0-92.8 | 0:5.38.0-92.8 |
expect-develRed Hat:enterprise_linux:3::as From an advisory covering 3 CVEs |
before 0:5.38.0-92.8 | 0:5.38.0-92.8 |
itclRed Hat:enterprise_linux:3::as From an advisory covering 3 CVEs |
before 0:3.2-92.8 | 0:3.2-92.8 |
tclRed Hat:enterprise_linux:3::as From an advisory covering 3 CVEs |
before 0:8.3.5-92.8 | 0:8.3.5-92.8 |
tcl-develRed Hat:enterprise_linux:3::as From an advisory covering 3 CVEs |
before 0:8.3.5-92.8 | 0:8.3.5-92.8 |
tcltkRed Hat:enterprise_linux:3::as From an advisory covering 3 CVEs |
before 0:8.3.5-92.8 | 0:8.3.5-92.8 |
tcltk-debuginfoRed Hat:enterprise_linux:3::as From an advisory covering 3 CVEs |
before 0:8.3.5-92.8 | 0:8.3.5-92.8 |
tclxRed Hat:enterprise_linux:3::as From an advisory covering 3 CVEs |
before 0:8.3-92.8 | 0:8.3-92.8 |
tixRed Hat:enterprise_linux:3::as From an advisory covering 3 CVEs |
before 1:8.1.4-92.8 | 1:8.1.4-92.8 |
tkRed Hat:enterprise_linux:3::as From an advisory covering 3 CVEs |
before 0:8.3.5-92.8 | 0:8.3.5-92.8 |
tk-develRed Hat:enterprise_linux:3::as From an advisory covering 3 CVEs |
before 0:8.3.5-92.8 | 0:8.3.5-92.8 |
expectRed Hat:enterprise_linux:3::desktop From an advisory covering 3 CVEs |
before 0:5.38.0-92.8 | 0:5.38.0-92.8 |
expect-develRed Hat:enterprise_linux:3::desktop From an advisory covering 3 CVEs |
before 0:5.38.0-92.8 | 0:5.38.0-92.8 |
itclRed Hat:enterprise_linux:3::desktop From an advisory covering 3 CVEs |
before 0:3.2-92.8 | 0:3.2-92.8 |
tclRed Hat:enterprise_linux:3::desktop From an advisory covering 3 CVEs |
before 0:8.3.5-92.8 | 0:8.3.5-92.8 |
tcl-develRed Hat:enterprise_linux:3::desktop From an advisory covering 3 CVEs |
before 0:8.3.5-92.8 | 0:8.3.5-92.8 |
tcltkRed Hat:enterprise_linux:3::desktop From an advisory covering 3 CVEs |
before 0:8.3.5-92.8 | 0:8.3.5-92.8 |
tcltk-debuginfoRed Hat:enterprise_linux:3::desktop From an advisory covering 3 CVEs |
before 0:8.3.5-92.8 | 0:8.3.5-92.8 |
tclxRed Hat:enterprise_linux:3::desktop From an advisory covering 3 CVEs |
before 0:8.3-92.8 | 0:8.3-92.8 |
tixRed Hat:enterprise_linux:3::desktop From an advisory covering 3 CVEs |
before 1:8.1.4-92.8 | 1:8.1.4-92.8 |
tkRed Hat:enterprise_linux:3::desktop From an advisory covering 3 CVEs |
before 0:8.3.5-92.8 | 0:8.3.5-92.8 |
tk-develRed Hat:enterprise_linux:3::desktop From an advisory covering 3 CVEs |
before 0:8.3.5-92.8 | 0:8.3.5-92.8 |
expectRed Hat:enterprise_linux:3::es From an advisory covering 3 CVEs |
before 0:5.38.0-92.8 | 0:5.38.0-92.8 |
expect-develRed Hat:enterprise_linux:3::es From an advisory covering 3 CVEs |
before 0:5.38.0-92.8 | 0:5.38.0-92.8 |
itclRed Hat:enterprise_linux:3::es From an advisory covering 3 CVEs |
before 0:3.2-92.8 | 0:3.2-92.8 |
tclRed Hat:enterprise_linux:3::es From an advisory covering 3 CVEs |
before 0:8.3.5-92.8 | 0:8.3.5-92.8 |
tcl-develRed Hat:enterprise_linux:3::es From an advisory covering 3 CVEs |
before 0:8.3.5-92.8 | 0:8.3.5-92.8 |
tcltkRed Hat:enterprise_linux:3::es From an advisory covering 3 CVEs |
before 0:8.3.5-92.8 | 0:8.3.5-92.8 |
tcltk-debuginfoRed Hat:enterprise_linux:3::es From an advisory covering 3 CVEs |
before 0:8.3.5-92.8 | 0:8.3.5-92.8 |
tclxRed Hat:enterprise_linux:3::es From an advisory covering 3 CVEs |
before 0:8.3-92.8 | 0:8.3-92.8 |
tixRed Hat:enterprise_linux:3::es From an advisory covering 3 CVEs |
before 1:8.1.4-92.8 | 1:8.1.4-92.8 |
tkRed Hat:enterprise_linux:3::es From an advisory covering 3 CVEs |
before 0:8.3.5-92.8 | 0:8.3.5-92.8 |
tk-develRed Hat:enterprise_linux:3::es From an advisory covering 3 CVEs |
before 0:8.3.5-92.8 | 0:8.3.5-92.8 |
expectRed Hat:enterprise_linux:3::ws From an advisory covering 3 CVEs |
before 0:5.38.0-92.8 | 0:5.38.0-92.8 |
expect-develRed Hat:enterprise_linux:3::ws From an advisory covering 3 CVEs |
before 0:5.38.0-92.8 | 0:5.38.0-92.8 |
itclRed Hat:enterprise_linux:3::ws From an advisory covering 3 CVEs |
before 0:3.2-92.8 | 0:3.2-92.8 |
tclRed Hat:enterprise_linux:3::ws From an advisory covering 3 CVEs |
before 0:8.3.5-92.8 | 0:8.3.5-92.8 |
tcl-develRed Hat:enterprise_linux:3::ws From an advisory covering 3 CVEs |
before 0:8.3.5-92.8 | 0:8.3.5-92.8 |
tcltkRed Hat:enterprise_linux:3::ws From an advisory covering 3 CVEs |
before 0:8.3.5-92.8 | 0:8.3.5-92.8 |
tcltk-debuginfoRed Hat:enterprise_linux:3::ws From an advisory covering 3 CVEs |
before 0:8.3.5-92.8 | 0:8.3.5-92.8 |
tclxRed Hat:enterprise_linux:3::ws From an advisory covering 3 CVEs |
before 0:8.3-92.8 | 0:8.3-92.8 |
tixRed Hat:enterprise_linux:3::ws From an advisory covering 3 CVEs |
before 1:8.1.4-92.8 | 1:8.1.4-92.8 |
tkRed Hat:enterprise_linux:3::ws From an advisory covering 3 CVEs |
before 0:8.3.5-92.8 | 0:8.3.5-92.8 |
tk-develRed Hat:enterprise_linux:3::ws From an advisory covering 3 CVEs |
before 0:8.3.5-92.8 | 0:8.3.5-92.8 |
tkRed Hat:enterprise_linux:4::as From an advisory covering 2 CVEs |
before 0:8.4.7-3.el4_6.1 | 0:8.4.7-3.el4_6.1 |
tk-debuginfoRed Hat:enterprise_linux:4::as From an advisory covering 2 CVEs |
before 0:8.4.7-3.el4_6.1 | 0:8.4.7-3.el4_6.1 |
tk-develRed Hat:enterprise_linux:4::as From an advisory covering 2 CVEs |
before 0:8.4.7-3.el4_6.1 | 0:8.4.7-3.el4_6.1 |
tkRed Hat:enterprise_linux:4::desktop From an advisory covering 2 CVEs |
before 0:8.4.7-3.el4_6.1 | 0:8.4.7-3.el4_6.1 |
tk-debuginfoRed Hat:enterprise_linux:4::desktop From an advisory covering 2 CVEs |
before 0:8.4.7-3.el4_6.1 | 0:8.4.7-3.el4_6.1 |
tk-develRed Hat:enterprise_linux:4::desktop From an advisory covering 2 CVEs |
before 0:8.4.7-3.el4_6.1 | 0:8.4.7-3.el4_6.1 |
tkRed Hat:enterprise_linux:4::es From an advisory covering 2 CVEs |
before 0:8.4.7-3.el4_6.1 | 0:8.4.7-3.el4_6.1 |
tk-debuginfoRed Hat:enterprise_linux:4::es From an advisory covering 2 CVEs |
before 0:8.4.7-3.el4_6.1 | 0:8.4.7-3.el4_6.1 |
tk-develRed Hat:enterprise_linux:4::es From an advisory covering 2 CVEs |
before 0:8.4.7-3.el4_6.1 | 0:8.4.7-3.el4_6.1 |
tkRed Hat:enterprise_linux:4::ws From an advisory covering 2 CVEs |
before 0:8.4.7-3.el4_6.1 | 0:8.4.7-3.el4_6.1 |
tk-debuginfoRed Hat:enterprise_linux:4::ws From an advisory covering 2 CVEs |
before 0:8.4.7-3.el4_6.1 | 0:8.4.7-3.el4_6.1 |
tk-develRed Hat:enterprise_linux:4::ws From an advisory covering 2 CVEs |
before 0:8.4.7-3.el4_6.1 | 0:8.4.7-3.el4_6.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| affected, aliases, facts, references, title | GitHub Advisories, OSV | |
| first indexed | CVE List, NVD |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2007-5378 is a medium vulnerability (CVSS 4.3) in Tcl Tk Tk Toolkit, published October 12, 2007. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.64%, the 85th percentile. Fixed in libtk-img 1.3-release-8.
References
secunia.com/advisories/30129
redhat.com/support/errata/RHSA-2008-0134.html
vupen.com/english/advisories/2008/1744
secunia.com/advisories/34297
vupen.com/english/advisories/2008/1456/references
securityfocus.com/bid/26056
Show 38 moreShow less
secunia.com/advisories/27806
secunia.com/advisories/27801
exchange.xforce.ibmcloud.com/vulnerabilities/37189
vmware.com/security/advisories/VMSA-2008-0009.html
oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9480
sourceforge.net/tracker?func=detail&atid=112997&aid=1458234&group_id=12997
sunsolve.sun.com/search/document.do?assetkey=1-26-237465-1
mandriva.com/security/advisories?name=MDKSA-2007:200
debian.org/security/2007/dsa-1415
secunia.com/advisories/30535
debian.org/security/2009/dsa-1743
securityfocus.com/archive/1/493080/100/0/threaded
secunia.com/advisories/27295
secunia.com/advisories/29070
ubuntu.com/usn/usn-529-1
redhat.com/support/errata/RHSA-2008-0135.html
debian.org/security/2007/dsa-1416
attrition.org/pipermail/vim/2007-October/001826.html
secunia.com/advisories/27207
nvd.nist.gov/vuln/detail/CVE-2007-5378
github.com/advisories/GHSA-5mgp-v92x-h349
security-tracker.debian.org/tracker/CVE-2007-5378
access.redhat.com/errata/RHSA-2008:0134
redhat.com/security/updates/classification
bugzilla.redhat.com/show_bug.cgi?id=316511
bugzilla.redhat.com/show_bug.cgi?id=332021
bugzilla.redhat.com/show_bug.cgi?id=431518
security.access.redhat.com/data/csaf/v2/advisories/2008/rhsa-2008_0134.json
access.redhat.com/security/cve/CVE-2007-4772
cve.org/CVERecord?id=CVE-2007-4772
nvd.nist.gov/vuln/detail/CVE-2007-4772
access.redhat.com/security/cve/CVE-2007-5378
cve.org/CVERecord?id=CVE-2007-5378
access.redhat.com/security/cve/CVE-2008-0553
cve.org/CVERecord?id=CVE-2008-0553
nvd.nist.gov/vuln/detail/CVE-2008-0553
access.redhat.com/errata/RHSA-2008:0135
security.access.redhat.com/data/csaf/v2/advisories/2008/rhsa-2008_0135.json