CVE-2007-5137
CVE-2007-5137 is a medium-severity vulnerability in Tcl Tk with a CVSS 2.0 base score of 6.8. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-119.
Key facts
- Severity: Medium (CVSS 2.0 base score 6.8)
- EPSS exploit prediction: 5% (91st percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-119
- Affected product: Tcl Tk
- Published:
- Last modified:
Description
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.
Frequently asked questions
- What is CVE-2007-5137?
- 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.
- How severe is CVE-2007-5137?
- CVE-2007-5137 has a CVSS 2.0 base score of 6.8, rated medium severity.
- Is CVE-2007-5137 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 5% (91st percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2007-5137?
- CVE-2007-5137 primarily affects Tcl Tk. In total, 3 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2007-5137?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- When was CVE-2007-5137 published?
- CVE-2007-5137 was published on 2007-09-28 and last updated on 2026-06-16.
References
- http://bugs.gentoo.org/show_bug.cgi?id=192539
- http://secunia.com/advisories/26942
- http://secunia.com/advisories/27086
- http://secunia.com/advisories/27182
- http://secunia.com/advisories/27207
- http://secunia.com/advisories/27229
- http://secunia.com/advisories/27295
- http://secunia.com/advisories/29069
- http://secunia.com/advisories/34297
- http://security.gentoo.org/glsa/glsa-200710-07.xml
- http://sourceforge.net/project/shownotes.php?release_id=541207
- http://www.attrition.org/pipermail/vim/2007-October/001826.html
- http://www.debian.org/security/2009/dsa-1743
- http://www.mandriva.com/security/advisories?name=MDKSA-2007:200
- http://www.novell.com/linux/security/advisories/2007_20_sr.html
- http://www.redhat.com/support/errata/RHSA-2008-0136.html
- http://www.securityfocus.com/bid/25826
- http://www.ubuntu.com/usn/usn-529-1
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9540
- https://www.redhat.com/archives/fedora-package-announce/2007-October/msg00261.html
Affected products (3)
- cpe:2.3:a:tcl_tk:tcl_tk:8.4.13:*:*:*:*:*:*:*
- cpe:2.3:a:tcl_tk:tcl_tk:8.4.14:*:*:*:*:*:*:*
- cpe:2.3:a:tcl_tk:tcl_tk:8.4.15:*:*:*:*:*:*:*
More vulnerabilities in Tcl Tk
- CVE-2007-2877 — High (CVSS 7.2): Buffer overflow in tcl/win/tclWinReg.c in Tcl (Tcl/Tk) before 8.5a6 allows local users to gain privileges via long…
- CVE-2008-0553 — Medium (CVSS 6.8): Stack-based buffer overflow in the ReadImage function in tkImgGIF.c in Tk (Tcl/Tk) before 8.5.1 allows remote attackers…
- CVE-2007-6067 — Medium (CVSS 6.8): Algorithmic complexity vulnerability in the regular expression parser in TCL before 8.4.17, as used in PostgreSQL 8.2…
- CVE-2007-4769 — Medium (CVSS 6.8): The regular expression parser in TCL before 8.4.17, as used in PostgreSQL 8.2 before 8.2.6, 8.1 before 8.1.11, 8.0…
Other CWE-119 (Improper Restriction of Operations within the Bounds of a Memory Buffer) vulnerabilities
- CVE-2026-2778 — Critical (CVSS 10.0): Sandbox escape due to incorrect boundary conditions in the DOM: Core & HTML component. This vulnerability was fixed in…
- CVE-2026-2776 — Critical (CVSS 10.0): Sandbox escape due to incorrect boundary conditions in the Telemetry component in External Software. This vulnerability…
- CVE-2025-1866 — Critical (CVSS 10.0): Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability in warmcat libwebsockets allows…
- CVE-2022-27625 — Critical (CVSS 10.0): A vulnerability regarding improper restriction of operations within the bounds of a memory buffer is found in the…
- CVE-2022-27624 — Critical (CVSS 10.0): A vulnerability regarding improper restriction of operations within the bounds of a memory buffer is found in the…
- CVE-2020-11896 — Critical (CVSS 10.0): The Treck TCP/IP stack before 6.0.1.66 allows Remote Code Execution, related to IPv4 tunneling.