Description
Off-by-one error in the krb5_encode_krbsecretkey function in plugins/kdb/ldap/libkdb_ldap/ldap_principal2.c in the LDAP KDB module in kadmind in MIT Kerberos 5 (aka krb5) 1.6.x through 1.11.x before 1.11.6 and 1.12.x before 1.12.2 allows remote authenticated users to cause a denial of service (buffer overflow) or possibly execute arbitrary code via a series of "cpw -keepold" commands.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | krb5 | 1.12.1+dfsg-7 | — |
| Debian 13 | krb5 | 1.12.1+dfsg-7 | — |
| Debian 12 | krb5 | 1.12.1+dfsg-7 | — |
| Debian 7 | krb5 | 1.10.1+dfsg-5+deb7u2 | DSA-3000-1 |
| Debian 6.0 | krb5 | 1.8.3+dfsg-4squeeze8 | DLA-37-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 14.04 LTS | krb5 | 1.12+dfsg-2ubuntu4.2 | USN-2310-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 7 | krb5 +6 | 1.12.2-14.el7 | RHSA-2015:0439 |
| RHEL 6 | krb5 +6 | 1.10.3-33.el6 | RHSA-2014:1389 |
| RHEL 5 | krb5 +5 | 1.6.1-80.el5_11 | RHSA-2014:1255 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | krb5 | 1.15-1.1 | openSUSE-SU-2024:10004-1 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 7 | krb5-libs +5 | 1.12.2-14.el7 | ELSA-2015-0439 |
Advisories 8
- RHSA-2015:0439 Red Hat Security Advisory: krb5 security, bug fix and enhancement update Red Hat Security Advisories (RHSA) · Aug 5, 2026
- RHSA-2014:1389 Red Hat Security Advisory: krb5 security and bug fix update Red Hat Security Advisories (RHSA) · Jun 28, 2026
- RHSA-2014:1255 Red Hat Security Advisory: krb5 security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- USN-2310-1 krb5 vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- DLA-37-1 krb5 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-3000-1 krb5 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2024:10004-1 krb5-1.15-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- ELSA-2015-0439 Moderate: krb5 security, bug fix and enhancement update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Mar 11, 2015
References
- FEDORA-2014-9315 vendor-advisory
- 61353 third-party-advisory
- kerberos-cve20144345-bo(95212) vdb-entry
- https://github.com/krb5/krb5/commit/dc7ed55c689d57de7f7408b34631bf06fec9dab1
- 59993 third-party-advisory
- http://krbdev.mit.edu/rt/Ticket/Display.html?id=7980
- http://linux.oracle.com/errata/ELSA-2014-1255.html
- FEDORA-2014-9305 vendor-advisory
- http://www.oracle.com/technetwork/security-advisory/cpuoct2017-3236626.html
- openSUSE-SU-2014:1043 vendor-advisory
- RHSA-2015:0439 vendor-advisory
- https://blogs.oracle.com/sunsecurity/entry/cve_2014_4345_numeric_errors
- 61314 third-party-advisory
- SUSE-SU-2014:1028 vendor-advisory
- 1030705 vdb-entry
- https://bugzilla.redhat.com/show_bug.cgi?id=1128157
- 60535 third-party-advisory
- 109908 vdb-entry
- 69168 vdb-entry
- DSA-3000 vendor-advisory
- MDVSA-2014:165 vendor-advisory
- GLSA-201412-53 vendor-advisory
- http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10705
- 59415 third-party-advisory
- http://web.mit.edu/kerberos/advisories/MITKRB5-SA-2014-001.txt
- RHSA-2014:1255 vendor-advisory
- 60776 third-party-advisory
- https://github.com/krb5/krb5/pull/181
- http://advisories.mageia.org/MGASA-2014-0345.html
- 59102 third-party-advisory