---
title: "CVE-2007-5378\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2007-5378?format=md
keywords: index, follow
---

# CVE-2007-5378

Publication date 11 October 2007

Last updated 24 July 2024

---

Ubuntu priority

**Low**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

Toggle side navigation

## Description

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.

### From the Ubuntu Security Team

USN-529-1
It was discovered that Tk could be made to overrun a buffer when loading
certain images. If a user were tricked into opening a specially crafted GIF
image, remote attackers could cause a denial of service or execute arbitrary
code with user privileges.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| libtk-img | 11.10 oneiric | Not affected |
| 11.04 natty | Not affected |
| 10.10 maverick | Not affected |
| 10.04 LTS lucid | Not affected |
| 9.10 karmic | Not affected |
| 9.04 jaunty | Not affected |
| 8.10 intrepid | Fixed 1:1.3-release-7+lenny1build0.8.10.1 |
| 8.04 LTS hardy | Ignored end of life |
| 7.10 gutsy | Ignored end of life, was needed |
| 6.06 LTS dapper | Ignored end of life |
| tk8.3 | 11.10 oneiric | Not in release |
| 11.04 natty | Not affected |
| 10.10 maverick | Not affected |
| 10.04 LTS lucid | Not affected |
| 9.10 karmic | Not affected |
| 9.04 jaunty | Not affected |
| 8.10 intrepid | Not affected |
| 8.04 LTS hardy | Not affected |
| 7.10 gutsy | Fixed 8.3.5-6ubuntu3 |
| 7.04 feisty | Fixed 8.3.5-6ubuntu2.1 |
| 6.10 edgy | Fixed 8.3.5-6ubuntu1.1 |
| 6.06 LTS dapper | Fixed 8.3.5-4ubuntu1.1 |
| tk8.4 | 11.10 oneiric | Not affected |
| 11.04 natty | Not affected |
| 10.10 maverick | Not affected |
| 10.04 LTS lucid | Not affected |
| 9.10 karmic | Not affected |
| 9.04 jaunty | Not affected |
| 8.10 intrepid | Not affected |
| 8.04 LTS hardy | Not affected |
| 7.10 gutsy | Fixed 8.4.15-1ubuntu1 |
| 7.04 feisty | Fixed 8.4.14-0ubuntu2.1 |
| 6.10 edgy | Fixed 8.4.12-1ubuntu0.1 |
| 6.06 LTS dapper | Fixed 8.4.12-0ubuntu1.1 |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-5378)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2007-5378)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2007-5378)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2007-5378)

### Related Ubuntu Security Notices (USN)

+ [USN-529-1](https://usn.ubuntu.com/USN-529-1)
+ Tk vulnerability
+ 11 October 2007

### Other references

* <https://www.cve.org/CVERecord?id=CVE-2007-5378>
