Read the docs
TI-2007-04948 Aliases CVE-2007-5137GHSA-67cg-f67f-c8v9

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

Priority LOW 38CWE-119Published · Updated

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

EPSS 0.04855 92nd percentileScored 2026-11-07
Fix Fixed Red Hat: 1 advisory

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
  • — Vendor— Affected all versions Fixed in — No fix listed CNA

CPE configurations NVD · 3

CPEVersionsRoleVendor
cpe:2.3:a:tcl_tk:tcl_tk:8.4.13:*:*:*:*:*:*:*8.4.13VulnerableTcl Tk
cpe:2.3:a:tcl_tk:tcl_tk:8.4.14:*:*:*:*:*:*:*8.4.14VulnerableTcl Tk
cpe:2.3:a:tcl_tk:tcl_tk:8.4.15:*:*:*:*:*:*:*8.4.15VulnerableTcl Tk
  • cpe:2.3:a:tcl_tk:tcl_tk:8.4.13:*:*:*:*:*:*:* Versions 8.4.13 Vulnerable ·Tcl Tk
  • cpe:2.3:a:tcl_tk:tcl_tk:8.4.14:*:*:*:*:*:*:* Versions 8.4.14 Vulnerable ·Tcl Tk
  • cpe:2.3:a:tcl_tk:tcl_tk:8.4.15:*:*:*:*:*:*:* Versions 8.4.15 Vulnerable ·Tcl Tk

Remediation

Red Hat 1 advisory

  • RHSA-2008:0136 Released 2008-02-21 · Red Hat rating Moderate
    tk 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 →

ProductStatusPlan 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

  1. 2026-10-02 Threatist record created from CVE-2007-5137
  2. 2026-10-03 Alias added: GHSA-67cg-f67f-c8v9

References

  • 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