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

# CVE-2004-0642

Publication date 28 September 2004

Last updated 17 July 2025

---

Ubuntu priority

**Medium**

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

Toggle side navigation

## Description

Double free vulnerabilities in the error handling code for ASN.1 decoders
in the (1) Key Distribution Center (KDC) library and (2) client library for
MIT Kerberos 5 (krb5) 1.3.4 and earlier may allow remote attackers to
execute arbitrary code.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| krb5 | 7.04 feisty | Fixed 1.4.4-5ubuntu3.3 |
| 6.10 edgy | Fixed 1.4.3-9ubuntu1.5 |
| 6.06 LTS dapper | Fixed 1.4.3-5ubuntu0.6 |

---

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

### Other references

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