Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
Not in CISA KEV

CVE-2011-4862 — Red Hat

CVE-2011-4862 is a CWE-120 vulnerability. 10 public exploit references exist, so weaponization risk is real. No vendor fix is recorded yet; mitigation options are listed below.

Published
Updated
Affected
10 products
Patched
See advisory
Exploits
10 known
Exploitation data as of Oct 21, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

EPSS Exploitation Probability

via FIRST.org ↗
95.1%probability of exploitation in next 30 days
Very High Risk+0.08%
Lower risk than most CVEs100th percentile — riskier than 100% of all scored CVEsHighest risk
91.8%93.2%94.5%95.9%92.6%95.1%Apr 26Aug 26Oct 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

Description

Buffer overflow in libtelnet/encrypt.c in telnetd in FreeBSD 7.3 through 9.0, MIT Kerberos Version 5 Applications (aka krb5-appl) 1.0.2 and earlier, Heimdal 1.5.1 and earlier, GNU inetutils, and possibly other products allows remote attackers to execute arbitrary code via a long encryption key, as exploited in the wild in December 2011.

Affected Products

10 products · 21 configurations
OS
debian linuxdebian
3 versions
5.06.07.0
OS
fedorafedoraproject
2 versions
1516
OS
freebsdfreebsd
≥ 7.3 && ≤ 9.0
range
Application
inetutilsgnu
< 1.9
range
Application
heimdalheimdal_project
≤ 1.5.1
range
Application
krb5-applmit
≤ 1.0.2
range
Exploits & PoCs
10

Research use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.

EDB-18280remotelinux✓ Verified

TelnetD encrypt_keyid - Function Pointer Overwrite

by NighterMan & BatchDrake · Dec 26, 2011

EDB-18368remotelinux✓ Verified

Linux BSD-derived Telnet Service Encryption Key ID - Remote Buffer Overflow (Metasploit)

by Metasploit · Jan 14, 2012

EDB-18369remotebsd✓ Verified

FreeBSD - Telnet Service Encryption Key ID Buffer Overflow (Metasploit)

by Metasploit · Jan 14, 2012

Detection & mitigation playbook

Vulnerability
  1. Detect

    Identify every host running the affected component and compare the installed build against the fixed version below — for source-built or distro-packaged software the version string, not a lockfile, is the source of truth (`dpkg -l`, `rpm -q`, or the binary's own `--version`).

  2. Remediation status

    No fixed release is recorded for CVE-2011-4862 yet. Track the upstream advisory, and apply the exposure-reduction steps below in the meantime.

  3. Mitigate without a patch

    Constrain what reaches the vulnerable code: limit the size and shape of untrusted input, isolate the affected component in a sandboxed or least-privileged process, and enable the platform's memory-safety mitigations (ASLR, stack protector, hardened allocator) so an out-of-bounds access is more likely to fail closed than to be exploitable.

Fixing This On Your OS

If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.

Red HatCritical

A buffer overflow flaw was found in the MIT krb5 telnet daemon (telnetd) as shipped with all supported versions of Red Hat Enterprise Linux. A remote attacker who can access the telnet port of a target machine could use this flaw to execute arbitrary code as root. While we are aware of public exploits for this issue…

ProductFixed inAdvisory
Red Hat Enterprise Linux 3 Extended Lifecycle Supportkrb5-0:1.2.7-73RHSA-2011:1853
Red Hat Enterprise Linux 4krb5-0:1.3.4-65.el4RHSA-2011:1851
Red Hat Enterprise Linux 6krb5-appl-0:1.0.1-7.el6_2RHSA-2011:1852
Red Hat Enterprise Linux 6.0 EUS - Server Onlykrb5-appl-0:1.0.1-1.el6_0.1RHSA-2011:1854

Frequently Asked Questions

Buffer overflow in libtelnet/encrypt.c in telnetd in FreeBSD 7.3 through 9.0, MIT Kerberos Version 5 Applications (aka krb5-appl) 1.0.2 and earlier, Heimdal 1.5.1 and earlier, GNU inetutils, and possibly other products allows remote attackers to execute arbitrary code via a long encryption key, as exploited in the wild in December 2011.
O3 Security · Impact-Aware SCA

Is CVE-2011-4862 in your dependencies?

Find it across , including transitive dependencies.

CVE-2011-4862: Red Hat RCE