CVE-2005-2040: Multiple buffer overflows in the getterminaltype function in telnetd for Heimdal before 0.6.5 may allow remote
CVE-2005-2040 is a medium-severity flaw (CVSS 5.0) affecting telnetd. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- No elevated risk signals yet
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 5.0 (Medium) |
| EPSS exploit chance | 2.8% (top 13%) |
| CISA exploited list | No |
| Published | 2005-06-20 |
| Last modified | 2026-06-16 |
Last updated 2026-06-16 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2005-2040?
telnetd: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2005-2040 being exploited?
CVE-2005-2040 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2005-2040 affect?
CVE-2005-2040 affects telnetd. Severity is medium (CVSS 5.0). 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.
How urgent is CVE-2005-2040?
Priority 39/100. No elevated risk signals yet.
Related CVEs
- CVE-2004-0998 HIGH 7.5 DOWNGRADE DOWNGRADE Format string vulnerability in telnetd-ssl 0.17 and earlier allows remote attackers to execute arbitrary code.