Skip to content
OpenAdvisories
Unscored Public exploit CVE-2005-0468 EUVD-2005-0469GHSA-7xw6-7f8j-hr4m

Heap-based buffer overflow in the env_opt_add function in telnet.c for various BSD-based Telnet clients allows remote attackers to execute …

Published Mar 28, 2005 · Updated Aug 7, 2024 · Assigned by mitre

Description

Heap-based buffer overflow in the env_opt_add function in telnet.c for various BSD-based Telnet clients allows remote attackers to execute arbitrary code via responses that contain a large number of characters that require escaping, which consumers more memory than allocated.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 krb5 1.3.6-2 —
Debian 13 krb5 1.3.6-2 —
Debian 12 krb5 1.3.6-2 —
Debian 3.0 krb4 1.1-8-2.4 DSA-731-1
Debian 3.0 krb5 1.2.4-5woody8 DSA-703-1
ReleasePackageFixed inAdvisory
RHEL 4 krb5 +4 1.3.4-12 RHSA-2005:330
RHEL 4 telnet +1 1:0.17-31.EL4.2 RHSA-2005:327
RHEL 3 krb5 +4 1.2.7-42 RHSA-2005:330
RHEL 3 telnet +1 1:0.17-26.EL3.2 RHSA-2005:327

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 1

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 4

References