{"id":"CVE-2011-4862","published":"2011-12-25T01:00:00Z","modified":"2024-08-07T00:16:35Z","title":"Buffer overflow in libtelnet/encrypt.c in telnetd in FreeBSD 7.3 through 9.0, MIT Kerberos Version 5 Applications (aka…","vendor":null,"product":null,"tier":"core","eol":null,"description":{"text":"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.","provenance":"source","from":"CVE.org"},"summary":{"text":"A buffer overflow in telnetd allows remote attackers to execute arbitrary code via a long encryption key. It affects FreeBSD 7.3 through 9.0, MIT Kerberos Version 5 Applications 1.0.2 and earlier, Heimdal 1.5.1 and earlier, GNU inetutils, and possibly other products.","provenance":"ai","model":"deepseek-v4-flash","generatedAt":"2026-10-23T03:20:19Z"},"cvss":null,"epss":{"score":0.95061,"percentile":0.99862,"date":"2026-10-28","provenance":"source"},"kev":null,"vulncheckKev":{"dateAdded":"2011-12-23","exploitedFirstSeen":"2011-12-23","ransomware":false,"evidence":[{"url":"https://lists.freebsd.org/pipermail/freebsd-security/2011-December/006117.html","date":"2011-12-23"},{"url":"https://www.cve.org/CVERecord?id=CVE-2011-4862","date":"2011-12-25"}],"evidenceTotal":2,"provenance":"source"},"exploited":true,"otx":{"pulseCount":1,"pulses":[{"name":"CVE Data","url":"https://otx.alienvault.com/pulse/69929b597293fe5837b9c95c","created":"2026-02-16"}],"provenance":"machine"},"cwes":[],"references":[{"url":"http://lists.opensuse.org/opensuse-security-announce/2012-01/msg00010.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://secunia.com/advisories/47399","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.debian.org/security/2011/dsa-2375","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"http://www.redhat.com/support/errata/RHSA-2011-1854.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2012-01/msg00004.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://archives.neohapsis.com/archives/bugtraq/2011-12/0172.html","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"http://www.debian.org/security/2011/dsa-2372","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"http://secunia.com/advisories/47359","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-January/071640.html","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"http://lists.freebsd.org/pipermail/freebsd-security/2011-December/006120.html","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://secunia.com/advisories/47374","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://lists.freebsd.org/pipermail/freebsd-security/2011-December/006118.html","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://security.freebsd.org/advisories/FreeBSD-SA-11:08.telnetd.asc","tags":["vendor-advisory","x_refsource_FREEBSD"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2012-01/msg00005.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-January/071627.html","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2011:195","tags":["vendor-advisory","x_refsource_MANDRIVA"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2012-01/msg00007.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2012-01/msg00011.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://osvdb.org/78020","tags":["vdb-entry","x_refsource_OSVDB"]},{"url":"http://www.securitytracker.com/id?1026463","tags":["vdb-entry","x_refsource_SECTRACK"]},{"url":"http://lists.freebsd.org/pipermail/freebsd-security/2011-December/006117.html","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://secunia.com/advisories/47341","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.redhat.com/support/errata/RHSA-2011-1852.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://www.redhat.com/support/errata/RHSA-2011-1853.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2012-01/msg00014.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://security.freebsd.org/patches/SA-11:08/telnetd.patch","tags":["x_refsource_CONFIRM"]},{"url":"http://secunia.com/advisories/47357","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://secunia.com/advisories/46239","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2012-01/msg00002.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://secunia.com/advisories/47397","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://secunia.com/advisories/47373","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2012-01/msg00015.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://lists.freebsd.org/pipermail/freebsd-security/2011-December/006119.html","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://secunia.com/advisories/47441","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://git.savannah.gnu.org/cgit/inetutils.git/commit/?id=665f1e73cdd9b38e2d2e11b8db9958a315935592","tags":["x_refsource_CONFIRM"]},{"url":"http://web.mit.edu/kerberos/www/advisories/MITKRB5-SA-2011-008.txt","tags":["x_refsource_CONFIRM"]},{"url":"http://www.redhat.com/support/errata/RHSA-2011-1851.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://www.exploit-db.com/exploits/18280/","tags":["exploit","x_refsource_EXPLOIT-DB"]},{"url":"http://secunia.com/advisories/47348","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.securitytracker.com/id?1026460","tags":["vdb-entry","x_refsource_SECTRACK"]},{"url":"http://www.debian.org/security/2011/dsa-2373","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/71970","tags":["vdb-entry","x_refsource_XF"]}],"techniques":[{"id":"T1190","name":"Exploit Public-Facing Application","tactics":["initial-access"],"provenance":"source","basis":"ctid-cve","bases":["ctid-cve"],"basisDetail":"CTID attack_to_cve (Phase 1)","mappingType":"uncategorized","evidence":[],"confidence":"low","confidenceNote":"CTID attack_to_cve Phase 1 \"Uncategorized\" mapping (not staged by impact)"},{"id":"T1499.004","name":"Application or System Exploitation","tactics":["impact"],"provenance":"source","basis":"ctid-cve","bases":["ctid-cve"],"basisDetail":"CTID attack_to_cve (Phase 1)","mappingType":"uncategorized","evidence":[],"confidence":"low","confidenceNote":"CTID attack_to_cve Phase 1 \"Uncategorized\" mapping (not staged by impact)"}],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2011-4779","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2011-4779","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[{"id":18280,"url":"https://www.exploit-db.com/exploits/18280","title":"TelnetD encrypt_keyid - Function Pointer Overwrite","type":"remote","platform":"linux","date":"2011-12-26","verified":true,"provenance":"source"},{"id":18368,"url":"https://www.exploit-db.com/exploits/18368","title":"Linux BSD-derived Telnet Service Encryption Key ID - Remote Buffer Overflow (Metasploit)","type":"remote","platform":"linux","date":"2012-01-14","verified":true,"provenance":"source"},{"id":18369,"url":"https://www.exploit-db.com/exploits/18369","title":"FreeBSD - Telnet Service Encryption Key ID Buffer Overflow (Metasploit)","type":"remote","platform":"bsd","date":"2012-01-14","verified":true,"provenance":"source"}],"exploitSources":{"exploitdb":{"count":3,"earliest":"2011-12-26"},"pocGithub":{"count":2,"skipped":1,"earliest":"2017-02-02","earliestUrl":"https://github.com/hdbreaker/GO-CVE-2011-4862","repos":[{"name":"hdbreaker/GO-CVE-2011-4862","url":"https://github.com/hdbreaker/GO-CVE-2011-4862","stars":5,"created":"2017-02-02"},{"name":"appsecrani/CVE-2011-4862","url":"https://github.com/appsecrani/CVE-2011-4862","stars":1,"created":"2020-02-06"}]},"metasploit":[{"name":"FreeBSD Telnet Service Encryption Key ID Buffer Overflow","module":"exploit/freebsd/telnet/telnet_encrypt_keyid","type":"exploit","disclosureDate":"2011-12-23","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/freebsd/telnet/telnet_encrypt_keyid.rb"},{"name":"Linux BSD-derived Telnet Service Encryption Key ID Buffer Overflow","module":"exploit/linux/telnet/telnet_encrypt_keyid","type":"exploit","disclosureDate":"2011-12-23","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/telnet/telnet_encrypt_keyid.rb"},{"name":"Telnet Service Encryption Key ID Overflow Detection","module":"auxiliary/scanner/telnet/telnet_encrypt_overflow","type":"auxiliary","disclosureDate":null,"url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/scanner/telnet/telnet_encrypt_overflow.rb"}],"first":{"date":"2011-12-23","source":"Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/freebsd/telnet/telnet_encrypt_keyid.rb"},"provenance":"source"},"exploitRefs":["http://www.exploit-db.com/exploits/18280/"],"flow":[{"stage":"related","techniques":["T1190","T1499.004"],"provenance":"source","lowConfidence":true}],"timeline":[{"date":"2011-12-23","kind":"exploit-public","label":"First public exploit: Metasploit; later: Exploit-DB 2011-12-26, PoC-in-GitHub 2017-02-02","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/freebsd/telnet/telnet_encrypt_keyid.rb","provenance":"source"},{"date":"2011-12-23","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://lists.freebsd.org/pipermail/freebsd-security/2011-December/006117.html","provenance":"source"},{"date":"2011-12-25","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2011-4862","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":"Metasploit","daysToKev":null},"priority":{"score":60.7,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in VulnCheck KEV"},{"name":"Recent KEV listing","points":0.0,"detail":"added 5424 days ago"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.97,"detail":"percentile 0.9986"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 NVD reference tagged Exploit; 3 Exploit-DB entries; 2 PoC-in-GitHub repos; 3 Metasploit modules"},{"name":"Mentioned in OTX pulses","points":0.68,"detail":"1 pulse"},{"name":"CVSS severity","points":0.0,"detail":"no CVSS"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}