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

# CVE-2005-2040

Publication date 20 June 2005

Last updated 17 July 2025

---

Ubuntu priority

**Medium**

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

Toggle side navigation

## Description

Multiple buffer overflows in the getterminaltype function in telnetd for
Heimdal before 0.6.5 may allow remote attackers to execute arbitrary code,
a different vulnerability than CVE-2005-0468 and CVE-2005-0469.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| heimdal | 7.04 feisty | Not affected |
| 6.10 edgy | Not affected |
| 6.06 LTS dapper | Not affected |

---

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

### Other references

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