Buffer overflow in the ReadImage function in generic/tkImgGIF.c in Tcl (Tcl/Tk) 8.4.13…
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- — Not recorded in CVSS 2.0
- Attack complexity
- Medium
- Impact type
- Code execution
- Confidentiality · integrity · availability
- Partial · Partial · Partial
- Fix status
- Fixed
Attack profile from CVSS 2.0 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-119 and the CVSS impact.
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
Remediation
Red Hat 1 advisory
- RHSA-2008:0136 Released 2008-02-21 · Red Hat rating Moderatetk security update
- Red Hat Enterprise Linux (v. 5 server) tk-8.4.13-5.el5_1.1, tk-8.4.13-5.el5_1.1.i386, tk-8.4.13-5.el5_1.1.ia64 +5
- Red Hat Enterprise Linux Desktop (v. 5 client) tk-8.4.13-5.el5_1.1, tk-8.4.13-5.el5_1.1.i386
- Red Hat Enterprise Linux Desktop Workstation (v. 5 client) tk-8.4.13-5.el5_1.1, tk-devel-8.4.13-5.el5_1.1, tk-devel-8.4.13-5.el5_1.1.i386
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux (v. 5 server) | Fixed | RHSA-2008:0136 |
| Red Hat Enterprise Linux Desktop (v. 5 client) | Fixed | RHSA-2008:0136 |
| Red Hat Enterprise Linux Desktop Workstation (v. 5 client) | Fixed | RHSA-2008:0136 |
Timeline
- 2026-10-02 Threatist record created from CVE-2007-5137
- 2026-10-03 Alias added: GHSA-67cg-f67f-c8v9
References
Advisory 7
More Tcl Tk vulnerabilities
- TI-2008-00525 Stack-based buffer overflow in the ReadImage function in tkImgGIF.c in Tk (Tcl/Tk) before… CVSS 2.0MEDIUM 6.8
- TI-2007-05798 Algorithmic complexity vulnerability in the regular expression parser in TCL before… CVSS 2.0MEDIUM 6.8
- TI-2007-04616 The regular expression parser in TCL before 8.4.17, as used in PostgreSQL 8.2 before… CVSS 2.0MEDIUM 6.8
- TI-2007-02784 Buffer overflow in tcl/win/tclWinReg.c in Tcl (Tcl/Tk) before 8.5a6 allows local users to… CVSS 2.0HIGH 7.2
Sources
- CVE-2007-5137 · CVE Program
- CVE-2007-5137 · NVD
- FIRST EPSS
- GHSA-67cg-f67f-c8v9 · GitHub Advisory Database · CC BY 4.0
- CVE-2007-5137 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences