CVE-2015-2697
NoneCVSS
—
EPSS
4.0%
Published
Nov 9, 2015
CISA due date
—
Cloudanix analysis
A problem in older login software can let someone already inside the network crash the central login server and briefly stop people from signing in.
- Exploitation
- Remote Authenticated
- Attacker needs
- Low Privilege
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- Library
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Out-of-bounds read in build_principal_va triggered by a long realm field starting with a null byte in a TGS request, resulting in KDC process crash.
Why it matters to the business
Disrupts Kerberos-based authentication services across Linux and enterprise environments, causing temporary loss of user access and service availability; low urgency given age and limited exploitability but still relevant on unpatched legacy systems.
How an attack unfolds
An authenticated attacker crafts a TGS request containing a long realm that begins with a null byte and sends it to the KDC, which crashes during principal building due to the memory corruption.
How to fix it
Upgrade MIT Kerberos 5 to version 1.14 or later; apply vendor patches for affected distributions such as Ubuntu, Debian, SUSE, and Oracle Solaris.
How to confirm the fix worked
Verify krb5 package version is 1.14 or newer; monitor KDC stability under load and review source for the patched build_principal_va function.
Typical attack path
- Obtain valid Kerberos credentials
- Craft malformed TGS-REQ with null-prefixed long realm
- Transmit request to KDC
- Trigger out-of-bounds read and KDC crash
How to detect it
Search KDC logs and system crash reports for repeated process terminations around TGS request handling; correlate with authentication service availability alerts.
What your security team should do
- Prioritize upgrade of all Kerberos KDCs and clients to fixed versions
- Harden network segmentation around authentication infrastructure
- Establish monitoring for KDC process restarts
- Review and deprecate unsupported legacy Kerberos deployments
The record
The build_principal_va function in lib/krb5/krb/bld_princ.c in MIT Kerberos 5 (aka krb5) before 1.14 allows remote authenticated users to cause a denial of service (out-of-bounds read and KDC crash) via an initial '\0' character in a long realm field within a TGS request.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | krb5 | 0 | 1.13.2+dfsg-3 |
| Debian:12 | krb5 | 0 | 1.13.2+dfsg-3 |
| Debian:13 | krb5 | 0 | 1.13.2+dfsg-3 |
| Debian:6.0 | krb5 | 0 | 1.8.3+dfsg-4squeeze10 |
| Debian:7 | krb5 | 0 | 1.10.1+dfsg-5+deb7u4 |
| Debian:7 | krb5 | 0 | 1.10.1+dfsg-5+deb7u6 |
| Debian:8 | krb5 | 0 | 1.12.1+dfsg-19+deb8u1 |
| Mageia:5 | krb5 | 0 | 1.12.2-8.1.mga5 |
| SUSE:Linux Enterprise Desktop 12 | krb5 | 0 | 1.12.1-19.1 |
| SUSE:Linux Enterprise Server 12 | krb5 | 0 | 1.12.1-19.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 | krb5 | 0 | 1.12.1-19.1 |
| SUSE:Linux Enterprise Software Development Kit 12 | krb5 | 0 | 1.12.1-19.1 |
| Ubuntu:14.04:LTS | krb5 | 0 | 1.12+dfsg-2ubuntu5.2 |
| openSUSE:Tumbleweed | krb5 | 0 | 1.15-1.1 |
Related vulnerabilities
- CVE-2025-3576 A vulnerability in the MIT Kerberos implementation allows GSSAPI-protected messages using… Also affects krb5
- CVE-2024-37371 In MIT Kerberos 5 (aka krb5) before 1.21.3, an attacker can cause invalid memory reads… Also affects krb5
- CVE-2024-37370 In MIT Kerberos 5 (aka krb5) before 1.21.3, an attacker can modify the plaintext Extra… Also affects krb5
- CVE-2024-26461 Kerberos 5 (aka krb5) 1.21.2 contains a memory leak vulnerability in… Also affects krb5
- CVE-2024-26458 Kerberos 5 (aka krb5) 1.21.2 contains a memory leak in /krb5/src/lib/rpc/pmap_rmt.c. Also affects krb5
- CVE-2020-28196 MIT Kerberos 5 (aka krb5) before 1.17.2 and 1.18.x before 1.18.3 allows unbounded… Also affects krb5
- CVE-2017-15088 plugins/preauth/pkinit/pkinit_crypto_openssl.c in MIT Kerberos 5 (aka krb5) through… Also affects krb5
- CVE-2017-11462 Double free vulnerability in MIT Kerberos 5 (aka krb5) allows attackers to have… Also affects krb5