CVE-2007-5378: 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…
Noroxi assessment
Priority: Monitor (action score 18/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 2.6% (FIRST EPSS); higher than 85.8% of all records.
- Fixed version: libtk-img (Debian:12) 1.3-release-8; tk8.4 (Debian:3.1) 8.4.9-1sarge1; libtk-img (Debian:4.0) 1:1.3-15etch3.
Low priority for now. Upgrade to libtk-img (Debian:12) 1.3-release-8; tk8.4 (Debian:3.1) 8.4.9-1sarge1; libtk-img (Debian:4.0) 1:1.3-15etch3 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- Oct 11, 2007
- Updated
- Jun 16, 2026
- EPSS
- 2.6% · 85th percentile
- CWE
- CWE-119
Report tools
Action score
18
Low priority for now.
- CVSS
- 17 / 40 · 4.3 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 2.6%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| tcl tk | tk toolkit | cpe:2.3:a:tcl_tk:tk_toolkit |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- tcl tk tk toolkitup to 8.3.5 inclusive
- tcl tk tk toolkitup to 8.4.12 inclusive
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | libtk-img | before 1.3-release-8 | 1.3-release-8 |
| Debian:3.1 | tk8.4 | before 8.4.9-1sarge1 | 8.4.9-1sarge1 |
| Debian:4.0 | libtk-img | before 1:1.3-15etch3 | 1:1.3-15etch3 |
| Debian:4.0 | tk8.3 | before 8.3.5-6etch1 | 8.3.5-6etch1 |
| Debian:4.0 | tk8.4 | before 8.4.12-1etch1 | 8.4.12-1etch1 |
| Debian:5.0 | libtk-img | before 1:1.3-release-7+lenny1 | 1:1.3-release-7+lenny1 |
| Red Hat:enterprise_linux:2.1::as | expect | before 0:5.38.0-75 | 0:5.38.0-75 |
| Red Hat:enterprise_linux:2.1::as | itcl | before 0:3.2-75 | 0:3.2-75 |
| Red Hat:enterprise_linux:2.1::as | tcl | before 0:8.3.3-75 | 0:8.3.3-75 |
| Red Hat:enterprise_linux:2.1::as | tcllib | before 0:1.0-75 | 0:1.0-75 |
| Red Hat:enterprise_linux:2.1::as | tcltk | before 0:8.3.3-75 | 0:8.3.3-75 |
| Red Hat:enterprise_linux:2.1::as | tclx | before 0:8.3-75 | 0:8.3-75 |
| Red Hat:enterprise_linux:2.1::as | tix | before 0:8.2.0b1-75 | 0:8.2.0b1-75 |
| Red Hat:enterprise_linux:2.1::as | tk | before 0:8.3.3-75 | 0:8.3.3-75 |
| Red Hat:enterprise_linux:3::as | expect | before 0:5.38.0-92.8 | 0:5.38.0-92.8 |
| Red Hat:enterprise_linux:3::as | expect-devel | before 0:5.38.0-92.8 | 0:5.38.0-92.8 |
| Red Hat:enterprise_linux:3::as | itcl | before 0:3.2-92.8 | 0:3.2-92.8 |
| Red Hat:enterprise_linux:3::as | tcl | before 0:8.3.5-92.8 | 0:8.3.5-92.8 |
| Red Hat:enterprise_linux:3::as | tcl-devel | before 0:8.3.5-92.8 | 0:8.3.5-92.8 |
| Red Hat:enterprise_linux:3::as | tcltk | before 0:8.3.5-92.8 | 0:8.3.5-92.8 |
| Red Hat:enterprise_linux:3::as | tcltk-debuginfo | before 0:8.3.5-92.8 | 0:8.3.5-92.8 |
| Red Hat:enterprise_linux:3::as | tclx | before 0:8.3-92.8 | 0:8.3-92.8 |
| Red Hat:enterprise_linux:3::as | tix | before 1:8.1.4-92.8 | 1:8.1.4-92.8 |
| Red Hat:enterprise_linux:3::as | tk | before 0:8.3.5-92.8 | 0:8.3.5-92.8 |
+4
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:libtk-img | 1.3-release-8 · Debian:12 | Package registry (OSV) |
| debian:tk8.3 | 8.3.5-6etch1 · Debian:4.0 | Package registry (OSV) |
| debian:tk8.4 | 8.4.12-1etch1 · Debian:4.0 | Package registry (OSV) |
| red hat:expect | 0:5.38.0-75 · Red Hat:enterprise_linux:2.1::as | Package registry (OSV) |
| red hat:expect-devel | 0:5.38.0-92.8 · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:itcl | 0:3.2-75 · Red Hat:enterprise_linux:2.1::as | Package registry (OSV) |
| red hat:tcl | 0:8.3.3-75 · Red Hat:enterprise_linux:2.1::as | Package registry (OSV) |
| red hat:tcl-devel | 0:8.3.5-92.8 · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:tcllib | 0:1.0-75 · Red Hat:enterprise_linux:2.1::as | Package registry (OSV) |
| red hat:tcltk | 0:8.3.3-75 · Red Hat:enterprise_linux:2.1::as | Package registry (OSV) |
| red hat:tcltk-debuginfo | 0:8.3.5-92.8 · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:tclx | 0:8.3-75 · Red Hat:enterprise_linux:2.1::as | Package registry (OSV) |
| red hat:tix | 0:8.2.0b1-75 · Red Hat:enterprise_linux:2.1::as | Package registry (OSV) |
| red hat:tk | 0:8.3.3-75 · Red Hat:enterprise_linux:2.1::as | Package registry (OSV) |
| red hat:tk-devel | 0:8.3.5-92.8 · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
If successful
- Confidentiality
- none
- Integrity
- none
- Availability
- P · the service can be disrupted
- Attack complexity
- M
- Confidentiality impact
- None
- Integrity impact
- None
- Availability impact
- P
Weakness class (CWE)
CWE-119 · Improper Restriction of Operations within the Bounds of a Memory BufferCVSS vector
AV:N/AC:M/Au:N/C:N/I:N/A:P
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- Buffer Overflow via Environment VariablesCAPEC-10likelihood: High · High
- Overflow BuffersCAPEC-100likelihood: High · Very High
- Buffer ManipulationCAPEC-123likelihood: High · Very High
- Client-side Injection-induced Buffer OverflowCAPEC-14likelihood: Medium · High
- Filter Failure through Buffer OverflowCAPEC-24likelihood: High · High
- MIME ConversionCAPEC-42likelihood: High · High
- Overflow Binary Resource FileCAPEC-44likelihood: High · Very High
- Buffer Overflow via Symbolic LinksCAPEC-45likelihood: High · High
ATT&CK techniques
—
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (19 more)Show less
- secunia.com/advisories/27295
- secunia.com/advisories/27801
- secunia.com/advisories/27806
- secunia.com/advisories/29070
- secunia.com/advisories/30129
- secunia.com/advisories/30535
- secunia.com/advisories/34297
- sunsolve.sun.com/search/document.do?assetkey=1-26-237465-1
- www.attrition.org/pipermail/vim/2007-October/001826.html
- www.debian.org/security/2007/dsa-1415
- www.debian.org/security/2007/dsa-1416
- www.debian.org/security/2009/dsa-1743
- www.mandriva.com/security/advisories?name=MDKSA-2007:200
- www.redhat.com/support/errata/RHSA-2008-0134.html
- www.redhat.com/support/errata/RHSA-2008-0135.html
- www.securityfocus.com/archive/1/493080/100/0/threaded
- www.securityfocus.com/bid/26056
- www.ubuntu.com/usn/usn-529-1
- www.vmware.com/security/advisories/VMSA-2008-0009.html
Vendor advisories and official records. Exploit/PoC links are deliberately left out.