CVE-2011-4862 Classic Buffer Overflow
No CVSS score yet. EPSS 95% estimated probability of exploitation activity in the next 30 days.
On this page
- EPSS
- 95% (unchanged from 95% a week ago; 95% 30 days ago) estimated probability of exploitation activity in the next 30 days; 100th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
- CWE
- CWE-120 Buffer Copy without Checking Size of Input (Classic Buffer Overflow)
- Published
- Modified
- NVD analysis
- Analyzed, since modified
- Record from
- the NVD, synced
Fix and patched versions
- Debian, Red Hat: fixed package versions per release
- Patch: http://git.savannah.gnu.org/cgit/inetutils.git/commit/?id=665f1e73cdd9b38e2d2e11b8db9958a315935592
- Patch: http://security.freebsd.org/patches/SA-11:08/telnetd.patch
- Patch: http://web.mit.edu/kerberos/www/advisories/MITKRB5-SA-2011-008.txt
- Vendor advisory: http://lists.freebsd.org/pipermail/freebsd-security/2011-December/006117.html
- Vendor advisory: http://lists.freebsd.org/pipermail/freebsd-security/2011-December/006118.html
- Vendor advisory: http://lists.freebsd.org/pipermail/freebsd-security/2011-December/006119.html
Ask an AI about this CVE
Show the prompt
Explain CVE-2011-4862 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2011-4862?via=ask-ai-copy and https://cve.bz/cve/CVE-2011-4862?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2011-4862 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
Affected
- debian:debian_linux
- fedoraproject:fedora
- freebsd:freebsd
- gnu:inetutils
- heimdal_project:heimdal
- mit:krb5-appl
- opensuse:opensuse
- suse:linux_enterprise_desktop
- suse:linux_enterprise_server
- suse:linux_enterprise_software_development_kit
Versions
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| gnu:inetutils | before 1.9 |
| heimdal_project:heimdal | through 1.5.1 |
| mit:krb5-appl | through 1.0.2 |
| freebsd:freebsd | from 7.3 through 9.0 |
| fedoraproject:fedora | 15 |
| fedoraproject:fedora | 16 |
| debian:debian_linux | 5.0 |
| debian:debian_linux | 6.0 |
| debian:debian_linux | 7.0 |
| opensuse:opensuse | 11.3 |
| opensuse:opensuse | 11.4 |
| suse:linux_enterprise_desktop | 10:sp4 |
| suse:linux_enterprise_desktop | 11:sp1 |
| suse:linux_enterprise_server | 9 |
| suse:linux_enterprise_server | 10:sp2 |
| suse:linux_enterprise_server | 10:sp3 |
| suse:linux_enterprise_server | 10:sp4 |
| suse:linux_enterprise_server | 11:sp1 |
| suse:linux_enterprise_software_development_kit | 10:sp4 |
| suse:linux_enterprise_software_development_kit | 11:sp1 |
Linux distributions
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 5.0 | heimdal | 1.2.dfsg.1-2.1+lenny1 | DSA-2372-1 |
| Debian | 5.0 | inetutils | 2:1.5.dfsg.1-9+lenny1 | DSA-2373-1 |
| Debian | 5.0 | krb5 | 1.6.dfsg.4~beta1-5lenny7 | DSA-2375-1 |
| Debian | 6.0 | heimdal | 1.4.0~git20100726.dfsg.1-2+squeeze1 | DSA-2372-1 |
| Debian | 6.0 | inetutils | 2:1.6-3.1+squeeze1 | DSA-2373-1 |
| Debian | 6.0 | krb5-appl | 1:1.0.1-1.2 | DSA-2375-1 |
| Debian | 12, 13, 14 | heimdal | 1.5.dfsg.1-1 | DEBIAN-CVE-2011-4862 |
| Debian | 12, 13, 14 | inetutils | 2:1.8-6 | DEBIAN-CVE-2011-4862 |
| Debian | 12, 13, 14 | krb5 | 1.8+dfsg~aa+r23527-1 | DEBIAN-CVE-2011-4862 |
| Red Hat | enterprise_linux:4::as, enterprise_linux:4::desktop, enterprise_linux:4::es and 1 more | krb5, krb5-libs, krb5-devel and 3 more | 0:1.3.4-65.el4 | RHSA-2011:1851 |
| Red Hat | enterprise_linux:5::client | krb5, krb5-libs, krb5-debuginfo and 1 more | 0:1.6.1-63.el5_7 | RHSA-2011:1851 |
| Red Hat | enterprise_linux:5::client_workstation | krb5, krb5-devel, krb5-server and 2 more | 0:1.6.1-63.el5_7 | RHSA-2011:1851 |
| Red Hat | enterprise_linux:5::server | krb5, krb5-libs, krb5-devel and 4 more | 0:1.6.1-63.el5_7 | RHSA-2011:1851 |
| Red Hat | enterprise_linux:6::client, enterprise_linux:6::computenode, enterprise_linux:6::server and 1 more | krb5-appl, krb5-appl-clients, krb5-appl-servers and 1 more | 0:1.0.1-7.el6_2 | RHSA-2011:1852 |
| Red Hat | rhel_els:3::as, rhel_els:3::es | krb5, krb5-libs, krb5-devel and 3 more | 0:1.2.7-73 | RHSA-2011:1853 |
| Red Hat | rhel_eus:5.6 | krb5, krb5-libs, krb5-devel and 4 more | 0:1.6.1-55.el5_6.3 | RHSA-2011:1853 |
| Red Hat | rhel_eus:6.0 | krb5-appl, krb5-appl-clients, krb5-appl-servers and 1 more | 0:1.0.1-1.el6_0.1 | RHSA-2011:1854 |
| Red Hat | rhel_eus:6.1 | krb5-appl, krb5-appl-clients, krb5-appl-servers and 1 more | 0:1.0.1-2.el6_1.3 | RHSA-2011:1854 |
| Red Hat | rhel_mission_critical:5.3 | krb5, krb5-libs, krb5-devel and 3 more | 0:1.6.1-31.el5_3.5 | RHSA-2011:1853 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Red Hat.
Red Hat
Red Hat rates this Critical.
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 that include targets for Red Hat Enterprise Linux 3, we are not aware of any yet which would be successful in gaining arbitrary root code execution in Red Hat Enterprise Linux 4, 5, or 6. However it is plausible that one could be created to do so.
Note that the krb5 telnet daemon is not enabled by default in any version of Red Hat Enterprise Linux. In addition, the default firewall rules block remote access to the telnet port. This flaw does not affect the telnet daemon distributed in the telnet-server package.
For users who have enabled the krb5 telnet daemon and have it accessible remotely, they should disable it or apply the updates we have released.
Since same encryption code is shared between the MIT krb5 telnet daemon and the telnet client, this issue affects the telnet client as well. The updates we have released fixes the issue for both, the telnet daemon and the telnet client.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 3 Extended Lifecycle Support | krb5-0:1.2.7-73 | Fixed 2011-12-28 | RHSA-2011:1853 |
| Red Hat Enterprise Linux 4 | krb5-0:1.3.4-65.el4 | Fixed 2011-12-27 | RHSA-2011:1851 |
| Red Hat Enterprise Linux 5 | krb5-0:1.6.1-63.el5_7 | Fixed 2011-12-27 | RHSA-2011:1851 |
| Red Hat Enterprise Linux 5.3 Long Life | krb5-0:1.6.1-31.el5_3.5 | Fixed 2011-12-28 | RHSA-2011:1853 |
| Red Hat Enterprise Linux 5.6 EUS - Server Only | krb5-0:1.6.1-55.el5_6.3 | Fixed 2011-12-28 | RHSA-2011:1853 |
| Red Hat Enterprise Linux 6 | krb5-appl-0:1.0.1-7.el6_2 | Fixed 2011-12-27 | RHSA-2011:1852 |
| Red Hat Enterprise Linux 6.0 EUS - Server Only | krb5-appl-0:1.0.1-1.el6_0.1 | Fixed 2011-12-28 | RHSA-2011:1854 |
| Red Hat Enterprise Linux 6.1 EUS - Server Only | krb5-appl-0:1.0.1-2.el6_1.3 | Fixed 2011-12-28 | RHSA-2011:1854 |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2011-4862.
Public exploits
- Exploit-DB Linux BSD-derived Telnet Service Encryption Key ID - Remote Buffer Overflow (Metasploit)
- Exploit-DB FreeBSD - Telnet Service Encryption Key ID Buffer Overflow (Metasploit)
- Exploit-DB TelnetD encrypt_keyid - Function Pointer Overwrite
- Metasploit FreeBSD Telnet Service Encryption Key ID Buffer Overflow
- Metasploit Linux BSD-derived Telnet Service Encryption Key ID Buffer Overflow
- Metasploit Telnet Service Encryption Key ID Overflow Detection
Attack patterns (CAPEC)
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-120 (13).
References
- http://git.savannah.gnu.org/cgit/inetutils.git/commit/?id=665f1e73cdd9b38e2d2e11b8db9958a315935592
- http://security.freebsd.org/patches/SA-11:08/telnetd.patch
- http://web.mit.edu/kerberos/www/advisories/MITKRB5-SA-2011-008.txt
- http://lists.freebsd.org/pipermail/freebsd-security/2011-December/006117.html
- http://lists.freebsd.org/pipermail/freebsd-security/2011-December/006118.html
- http://lists.freebsd.org/pipermail/freebsd-security/2011-December/006119.html
- http://lists.freebsd.org/pipermail/freebsd-security/2011-December/006120.html
- http://security.freebsd.org/advisories/FreeBSD-SA-11:08.telnetd.asc
- http://archives.neohapsis.com/archives/bugtraq/2011-12/0172.html
- http://lists.fedoraproject.org/pipermail/package-announce/2012-January/071627.html
- http://lists.fedoraproject.org/pipermail/package-announce/2012-January/071640.html
- http://lists.opensuse.org/opensuse-security-announce/2012-01/msg00002.html
- http://lists.opensuse.org/opensuse-security-announce/2012-01/msg00004.html
- http://lists.opensuse.org/opensuse-security-announce/2012-01/msg00005.html
- http://lists.opensuse.org/opensuse-security-announce/2012-01/msg00007.html
- http://lists.opensuse.org/opensuse-security-announce/2012-01/msg00010.html
- http://lists.opensuse.org/opensuse-security-announce/2012-01/msg00011.html
- http://lists.opensuse.org/opensuse-security-announce/2012-01/msg00014.html
- http://lists.opensuse.org/opensuse-security-announce/2012-01/msg00015.html
- http://osvdb.org/78020
- http://secunia.com/advisories/46239
- http://secunia.com/advisories/47341
- http://secunia.com/advisories/47348
- http://secunia.com/advisories/47357
- http://secunia.com/advisories/47359
- http://secunia.com/advisories/47373
- http://secunia.com/advisories/47374
- http://secunia.com/advisories/47397
- http://secunia.com/advisories/47399
- http://secunia.com/advisories/47441
- http://www.debian.org/security/2011/dsa-2372
- http://www.debian.org/security/2011/dsa-2373
- http://www.debian.org/security/2011/dsa-2375
- http://www.exploit-db.com/exploits/18280/
- http://www.mandriva.com/security/advisories?name=MDVSA-2011:195
- http://www.redhat.com/support/errata/RHSA-2011-1851.html
- http://www.redhat.com/support/errata/RHSA-2011-1852.html
- http://www.redhat.com/support/errata/RHSA-2011-1853.html
- http://www.redhat.com/support/errata/RHSA-2011-1854.html
- http://www.securitytracker.com/id?1026460
- http://www.securitytracker.com/id?1026463
- https://exchange.xforce.ibmcloud.com/vulnerabilities/71970