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 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: 2007-10-12 Last update: 2026-04-23 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2007-5378 is rated Moderate Risk (44.8/100): CVSS Medium severity, with medium exploitation likelihood (EPSS 1.36%). Mandatory action: Review affected assets and schedule remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2007-5378

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2025-04-26 1.47% 1.36% -0.11%
2 2025-03-30 3.80% 1.47% -2.33%
3 2025-03-29 3.80%

Full EPSS history (13 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2007-5378

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
4.3 2.0 MEDIUM
AV:N/AC:M/Au:N/C:N/I:N/A:P Click to expand
Access vector (AV:N)
Can be exploited remotely over network reachability.
Access complexity (AC:M)
Exploitation needs some favorable conditions, but not exceptional ones.
Authentication (AU:N)
No authentication is required.
Confidentiality impact (C:N)
No confidentiality impact.
Integrity impact (I:N)
No integrity impact.
Availability impact (A:P)
Partial availability impact.
8.6 2.9 [email protected]

Weakness enumeration for CVE-2007-5378

OS Trackers for CVE-2007-5378

vendor priority summary link
debian medium CVE-2007-5378 medium priority: Debian including 1 source packages (libtk-img), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2007-5378
redhat low https://access.redhat.com/security/cve/CVE-2007-5378
ubuntu low CVE-2007-5378 low priority: Ubuntu including 3 source packages (libtk-img, tk8.3, tk8.4), 37 status rows across 13 suites (dapper, edgy, feisty, gutsy, hardy, intrepid, jaunty, karmic, lucid, maverick, natty, oneiric, upstream): not-affected 21, released 12, ignored 3, DNE 1. https://ubuntu.com/security/CVE-2007-5378

Vendor comments (NVD) for CVE-2007-5378

  • Red Hat (2007-10-16T00:00:00)

    Red Hat is aware of this issue and is tracking it via the following bug: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=CVE-2007-5378 The Red Hat Security Response Team has rated this issue as having low security impact, a future update may address this flaw.

Affected software / configurations for CVE-2007-5378

Vendor Product Version Raw CPE
tcl_tk tk_toolkit <= 8.3.5 cpe:2.3:a:tcl_tk:tk_toolkit:*:*:*:*:*:*:*:*
tcl_tk tk_toolkit <= 8.4.12 cpe:2.3:a:tcl_tk:tk_toolkit:*:*:*:*:*:*:*:*

References for CVE-2007-5378

URL Tags
http://secunia.com/advisories/27207
http://secunia.com/advisories/27295
http://secunia.com/advisories/27801
http://secunia.com/advisories/27806
http://secunia.com/advisories/29070
http://secunia.com/advisories/30129
http://secunia.com/advisories/30535
http://secunia.com/advisories/34297
http://sunsolve.sun.com/search/document.do?assetkey=1-26-237465-1
http://www.attrition.org/pipermail/vim/2007-October/001826.html
http://www.debian.org/security/2007/dsa-1415
http://www.debian.org/security/2007/dsa-1416
http://www.debian.org/security/2009/dsa-1743
http://www.mandriva.com/security/advisories?name=MDKSA-2007:200
http://www.redhat.com/support/errata/RHSA-2008-0134.html
http://www.redhat.com/support/errata/RHSA-2008-0135.html
http://www.securityfocus.com/archive/1/493080/100/0/threaded
http://www.securityfocus.com/bid/26056
http://www.ubuntu.com/usn/usn-529-1
http://www.vmware.com/security/advisories/VMSA-2008-0009.html
http://www.vupen.com/english/advisories/2008/1456/references
http://www.vupen.com/english/advisories/2008/1744
https://exchange.xforce.ibmcloud.com/vulnerabilities/37189
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9480
https://sourceforge.net/tracker/?func=detail&atid=112997&aid=1458234&group_id=12997
cvelogic Threat Intelligence