---
title: "CVE-2008-4640\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-2008-4640?format=md
keywords: index, follow
---

# CVE-2008-4640

Publication date 21 October 2008

Last updated 24 July 2024

---

Ubuntu priority

**Medium**

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

Toggle side navigation

## Description

The DoCommand function in jhead.c in Matthias Wandel jhead 2.84 and earlier
allows local users to delete arbitrary files via vectors involving a
modified input filename in which (1) a final "z" character is replaced by a
"t" character or (2) a final "t" character is replaced by a "z" character.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| jhead | 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 | Ignored end of life, was needed |
| 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 |

---

* [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-2008-4640)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2008-4640)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2008-4640)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2008-4640)

### Other references

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