cve.bz

CVE-2011-4862 Classic Buffer Overflow

no score yetExploitEPSS 95%Fix available

No CVSS score yet. EPSS 95% estimated probability of exploitation activity in the next 30 days.

On this page
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.
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

Ask an AI about this CVE

Show the promptExplain 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

Versions

From the NVD's CPE matches.

ProductAffected
gnu:inetutilsbefore 1.9
heimdal_project:heimdalthrough 1.5.1
mit:krb5-applthrough 1.0.2
freebsd:freebsdfrom 7.3 through 9.0
fedoraproject:fedora15
fedoraproject:fedora16
debian:debian_linux5.0
debian:debian_linux6.0
debian:debian_linux7.0
opensuse:opensuse11.3
opensuse:opensuse11.4
suse:linux_enterprise_desktop10:sp4
suse:linux_enterprise_desktop11:sp1
suse:linux_enterprise_server9
suse:linux_enterprise_server10:sp2
suse:linux_enterprise_server10:sp3
suse:linux_enterprise_server10:sp4
suse:linux_enterprise_server11:sp1
suse:linux_enterprise_software_development_kit10:sp4
suse:linux_enterprise_software_development_kit11:sp1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian5.0heimdal1.2.dfsg.1-2.1+lenny1DSA-2372-1
Debian5.0inetutils2:1.5.dfsg.1-9+lenny1DSA-2373-1
Debian5.0krb51.6.dfsg.4~beta1-5lenny7DSA-2375-1
Debian6.0heimdal1.4.0~git20100726.dfsg.1-2+squeeze1DSA-2372-1
Debian6.0inetutils2:1.6-3.1+squeeze1DSA-2373-1
Debian6.0krb5-appl1:1.0.1-1.2DSA-2375-1
Debian12, 13, 14heimdal1.5.dfsg.1-1DEBIAN-CVE-2011-4862
Debian12, 13, 14inetutils2:1.8-6DEBIAN-CVE-2011-4862
Debian12, 13, 14krb51.8+dfsg~aa+r23527-1DEBIAN-CVE-2011-4862
Red Hatenterprise_linux:4::as, enterprise_linux:4::desktop, enterprise_linux:4::es and 1 morekrb5, krb5-libs, krb5-devel and 3 more0:1.3.4-65.el4RHSA-2011:1851
Red Hatenterprise_linux:5::clientkrb5, krb5-libs, krb5-debuginfo and 1 more0:1.6.1-63.el5_7RHSA-2011:1851
Red Hatenterprise_linux:5::client_workstationkrb5, krb5-devel, krb5-server and 2 more0:1.6.1-63.el5_7RHSA-2011:1851
Red Hatenterprise_linux:5::serverkrb5, krb5-libs, krb5-devel and 4 more0:1.6.1-63.el5_7RHSA-2011:1851
Red Hatenterprise_linux:6::client, enterprise_linux:6::computenode, enterprise_linux:6::server and 1 morekrb5-appl, krb5-appl-clients, krb5-appl-servers and 1 more0:1.0.1-7.el6_2RHSA-2011:1852
Red Hatrhel_els:3::as, rhel_els:3::eskrb5, krb5-libs, krb5-devel and 3 more0:1.2.7-73RHSA-2011:1853
Red Hatrhel_eus:5.6krb5, krb5-libs, krb5-devel and 4 more0:1.6.1-55.el5_6.3RHSA-2011:1853
Red Hatrhel_eus:6.0krb5-appl, krb5-appl-clients, krb5-appl-servers and 1 more0:1.0.1-1.el6_0.1RHSA-2011:1854
Red Hatrhel_eus:6.1krb5-appl, krb5-appl-clients, krb5-appl-servers and 1 more0:1.0.1-2.el6_1.3RHSA-2011:1854
Red Hatrhel_mission_critical:5.3krb5, krb5-libs, krb5-devel and 3 more0:1.6.1-31.el5_3.5RHSA-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.

Red Hat's statement

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.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 3 Extended Lifecycle Supportkrb5-0:1.2.7-73Fixed 2011-12-28RHSA-2011:1853
Red Hat Enterprise Linux 4krb5-0:1.3.4-65.el4Fixed 2011-12-27RHSA-2011:1851
Red Hat Enterprise Linux 5krb5-0:1.6.1-63.el5_7Fixed 2011-12-27RHSA-2011:1851
Red Hat Enterprise Linux 5.3 Long Lifekrb5-0:1.6.1-31.el5_3.5Fixed 2011-12-28RHSA-2011:1853
Red Hat Enterprise Linux 5.6 EUS - Server Onlykrb5-0:1.6.1-55.el5_6.3Fixed 2011-12-28RHSA-2011:1853
Red Hat Enterprise Linux 6krb5-appl-0:1.0.1-7.el6_2Fixed 2011-12-27RHSA-2011:1852
Red Hat Enterprise Linux 6.0 EUS - Server Onlykrb5-appl-0:1.0.1-1.el6_0.1Fixed 2011-12-28RHSA-2011:1854
Red Hat Enterprise Linux 6.1 EUS - Server Onlykrb5-appl-0:1.0.1-2.el6_1.3Fixed 2011-12-28RHSA-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

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

Check your stackJSON