CVE-2015-2697
The build_principal_va function in lib/krb5/krb/bld_princ.c in MIT Kerberos 5 (aka krb5) before 1...
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.
Exploit likelihood
What each source reports
NVD Score used
4.0
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.
- Record
CVE-2015-2697- CVSS 2.0
- 4.0 Medium
AV:N/AC:L/Au:S/C:N/I:N/A:P - Weakness
- CWE-125
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2015-2697- Updated
- 2026-11-02
EUVDEUVD-2015-2787 No score
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.
- Record
EUVD-2015-2787- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-rw46-7hq3-wqv6 No score
The build_principal_va function in lib/krb5/krb/bld_princ.c in MIT Kerberos 5 (aka krb5) before 1...
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.
- Record
GHSA-rw46-7hq3-wqv6- Weakness
- CWE-125
- Updated
- 2026-11-02
OSV No score
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.
- Record
CVE-2015-2697- Updated
- 2026-11-02
OSVDEBIAN-CVE-2015-2697 No score
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.
- Record
DEBIAN-CVE-2015-2697- Updated
- 2026-11-02
Show 5 moreShow less
OSVMGASA-2015-0436 No score
Updated krb5 packages fix security vulnerabilities
Updated krb5 packages fix security vulnerabilities:
In MIT krb5 1.5 and later, applications which call gss_inquire_context() on a partially-established SPNEGO context can cause the GSS-API library to read from a pointer using the wrong type, generally causing a process crash. This bug may go unnoticed, because the most common SPNEGO authentication scenario establishes the context after just one call to gss_accept_sec_context(). Java server applications using the native JGSS provider are vulnerable to this bug. A carefully crafted SPNEGO packet might allow the gss_inquire_context() call to succeed with attacker-determined results, but applications should not make access control decisions based on gss_inquire_context() results prior to context establishment (CVE-2015-2695).
In MIT krb5 1.9 and later, applications which call gss_inquire_context() on a partially-established IAKERB context can cause the GSS-API library to read from a pointer using the wrong type, generally causing a process crash. Java server applications using the native JGSS provider are vulnerable to this bug. A carefully crafted IAKERB packet might allow the gss_inquire_context() call to succeed with attacker-determined results, but applications should not make access control decisions based on gss_inquire_context() results prior to context establishment (CVE-2015-2696).
In MIT krb5 1.7 and later, an authenticated attacker may be able to cause a KDC to crash using a TGS request with a large realm field beginning with a null byte. If the KDC attempts to find a referral to answer the request, it constructs a principal name for lookup using krb5_build_principal() with the requested realm. Due to a bug in this function, the null byte causes only one byte be allocated for the realm field of the constructed principal, far less than its length. Subsequent operations on the lookup principal may cause a read beyond the end of the mapped memory region, causing the KDC process to crash (CVE-2015-2697).
- Record
MGASA-2015-0436- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:10004-1 No score
krb5-1.15-1.1 on GA media
These are all security issues fixed in the krb5-1.15-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:10004-1- Updated
- 2026-11-02
OSVSUSE-SU-2015:1897-1 No score
Security update for krb5
krb5 was updated to fix three security issues.
These security issues were fixed:
- CVE-2015-2695: Applications which call gss_inquire_context() on a partially-established SPNEGO context could have caused the GSS-API library to read from a pointer using the wrong type, generally causing a process crash. (bsc#952188).
- CVE-2015-2696: Applications which call gss_inquire_context() on a partially-established IAKERB context could have caused the GSS-API library to read from a pointer using the wrong type, generally causing a process crash. (bsc#952189).
- CVE-2015-2697: Incorrect string handling in build_principal_va can lead to DOS (bsc#952190).
- Record
SUSE-SU-2015:1897-1- Updated
- 2026-11-02
OSVUBUNTU-CVE-2015-2697 No score
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.
- Record
UBUNTU-CVE-2015-2697- Updated
- 2026-11-02
OSVUSN-2810-1 No score
krb5 vulnerabilities
It was discovered that the Kerberos kpasswd service incorrectly handled certain UDP packets. A remote attacker could possibly use this issue to cause resource consumption, resulting in a denial of service. This issue only affected Ubuntu 12.04 LTS. (CVE-2002-2443)
It was discovered that Kerberos incorrectly handled null bytes in certain data fields. A remote attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 12.04 LTS and Ubuntu 14.04 LTS. (CVE-2014-5355)
It was discovered that the Kerberos kdcpreauth modules incorrectly tracked certain client requests. A remote attacker could possibly use this issue to bypass intended preauthentication requirements. This issue only affected Ubuntu 14.04 LTS and Ubuntu 15.04. (CVE-2015-2694)
It was discovered that Kerberos incorrectly handled certain SPNEGO packets. A remote attacker could possibly use this issue to cause a denial of service. (CVE-2015-2695)
It was discovered that Kerberos incorrectly handled certain IAKERB packets. A remote attacker could possibly use this issue to cause a denial of service. (CVE-2015-2696, CVE-2015-2698)
It was discovered that Kerberos incorrectly handled certain TGS requests. A remote attacker could possibly use this issue to cause a denial of service. (CVE-2015-2697)
- Record
USN-2810-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
krb5Debian:12 |
before 1.13.2+dfsg-3 | 1.13.2+dfsg-3 |
krb5Debian:13 |
before 1.13.2+dfsg-3 | 1.13.2+dfsg-3 |
krb5Debian:14 |
before 1.13.2+dfsg-3 | 1.13.2+dfsg-3 |
krb5Debian:6.0 From an advisory covering 2 CVEs |
before 1.8.3+dfsg-4squeeze10, plus listed versions 1.8.3+dfsg-41.8.3+dfsg-4squeeze11.8.3+dfsg-4squeeze21.8.3+dfsg-4squeeze51.8.3+dfsg-4squeeze61.8.3+dfsg-4squeeze71.8.3+dfsg-4squeeze81.8.3+dfsg-4squeeze9 |
1.8.3+dfsg-4squeeze10 |
krb5Debian:7 From an advisory covering 3 CVEs |
before 1.10.1+dfsg-5+deb7u4, plus listed versions 1.10.1+dfsg-51.10.1+dfsg-5+deb7u11.10.1+dfsg-5+deb7u21.10.1+dfsg-5+deb7u3 |
1.10.1+dfsg-5+deb7u4 |
krb5Debian:8 From an advisory covering 3 CVEs |
before 1.12.1+dfsg-19+deb8u1, plus listed versions 1.12.1+dfsg-19 |
1.12.1+dfsg-19+deb8u1 |
krb5Debian:7 |
before 1.10.1+dfsg-5+deb7u6, plus listed versions 1.10.1+dfsg-51.10.1+dfsg-5+deb7u11.10.1+dfsg-5+deb7u21.10.1+dfsg-5+deb7u31.10.1+dfsg-5+deb7u41.10.1+dfsg-5+deb7u5 |
1.10.1+dfsg-5+deb7u6 |
krb5Mageia:5 From an advisory covering 3 CVEs |
before 1.12.2-8.1.mga5 | 1.12.2-8.1.mga5 |
krb5SUSE:Linux Enterprise Desktop 12 From an advisory covering 3 CVEs |
before 1.12.1-19.1 | 1.12.1-19.1 |
krb5SUSE:Linux Enterprise Software Development Kit 12 From an advisory covering 3 CVEs |
before 1.12.1-19.1 | 1.12.1-19.1 |
Show 5 moreShow less
| Package | Affected | Fixed |
|---|---|---|
krb5SUSE:Linux Enterprise Server 12 From an advisory covering 3 CVEs |
before 1.12.1-19.1 | 1.12.1-19.1 |
krb5SUSE:Linux Enterprise Server for SAP Applications 12 From an advisory covering 3 CVEs |
before 1.12.1-19.1 | 1.12.1-19.1 |
krb5Ubuntu:14.04:LTS |
before 1.12+dfsg-2ubuntu5.2, plus listed versions 1.10.1+dfsg-6.1ubuntu11.11.3+dfsg-3ubuntu21.12+dfsg-2ubuntu11.12+dfsg-2ubuntu21.12+dfsg-2ubuntu3 Show 4 moreShow less1.12+dfsg-2ubuntu41.12+dfsg-2ubuntu4.21.12+dfsg-2ubuntu51.12+dfsg-2ubuntu5.1 |
1.12+dfsg-2ubuntu5.2 |
krb5Ubuntu:14.04:LTS From an advisory covering 7 CVEs |
before 1.12+dfsg-2ubuntu5.2, plus listed versions 1.10.1+dfsg-6.1ubuntu11.11.3+dfsg-3ubuntu21.12+dfsg-2ubuntu11.12+dfsg-2ubuntu21.12+dfsg-2ubuntu3 Show 4 moreShow less1.12+dfsg-2ubuntu41.12+dfsg-2ubuntu4.21.12+dfsg-2ubuntu51.12+dfsg-2ubuntu5.1 |
1.12+dfsg-2ubuntu5.2 |
krb5openSUSE:Tumbleweed From an advisory covering 54 CVEs |
before 1.15-1.1 | 1.15-1.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2015-2697 is a medium vulnerability (CVSS 4.0) in Mit Kerberos 5, published October 30, 2015. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 4.02%, the 90th percentile. Fixed in krb5 1.13.2+dfsg-3.
References
github.com/krb5/krb5/commit/f0c094a1b745d91ef2f9a4eae2149aac026a5789
securityfocus.com/bid/77581
lists.opensuse.org/opensuse-security-announce/2015-11/msg00006.html
security.gentoo.org/glsa/201611-14
securitytracker.com/id/1034084
oracle.com/technetwork/topics/security/bulletinapr2016-2952098.html
Show 79 moreShow less
lists.opensuse.org/opensuse-security-announce/2015-11/msg00022.html
lists.opensuse.org/opensuse-security-announce/2015-11/msg00014.html
krbdev.mit.edu/rt/Ticket/Display.html?id=8252
debian.org/security/2015/dsa-3395
ubuntu.com/usn/USN-2810-1
nvd.nist.gov/vuln/detail/CVE-2015-2697
github.com/advisories/GHSA-rw46-7hq3-wqv6
security-tracker.debian.org/tracker/CVE-2015-2697
advisories.mageia.org/MGASA-2015-0436.html
bugs.mageia.org/show_bug.cgi?id=17078
lists.fedoraproject.org/pipermail/package-announce/2015-November/170683.html
suse.com/support/update/announcement/2015/suse-su-20151897-1
bugzilla.suse.com/948011
bugzilla.suse.com/952188
bugzilla.suse.com/952189
bugzilla.suse.com/952190
suse.com/security/cve/CVE-2015-2695
suse.com/security/cve/CVE-2015-2696
suse.com/security/cve/CVE-2015-2697
ubuntu.com/security/CVE-2015-2697
ubuntu.com/security/notices/USN-2810-1
cve.org/CVERecord?id=CVE-2015-2697
ubuntu.com/security/CVE-2002-2443
ubuntu.com/security/CVE-2014-5355
ubuntu.com/security/CVE-2015-2694
ubuntu.com/security/CVE-2015-2695
ubuntu.com/security/CVE-2015-2696
ubuntu.com/security/CVE-2015-2698
suse.com/security/cve/CVE-2002-2443
suse.com/security/cve/CVE-2009-0844
suse.com/security/cve/CVE-2009-0845
suse.com/security/cve/CVE-2009-0846
suse.com/security/cve/CVE-2009-0847
suse.com/security/cve/CVE-2009-3295
suse.com/security/cve/CVE-2009-4212
suse.com/security/cve/CVE-2010-0283
suse.com/security/cve/CVE-2010-0628
suse.com/security/cve/CVE-2010-1320
suse.com/security/cve/CVE-2010-1321
suse.com/security/cve/CVE-2010-1322
suse.com/security/cve/CVE-2010-1323
suse.com/security/cve/CVE-2010-1324
suse.com/security/cve/CVE-2010-4020
suse.com/security/cve/CVE-2010-4021
suse.com/security/cve/CVE-2010-4022
suse.com/security/cve/CVE-2011-0281
suse.com/security/cve/CVE-2011-0282
suse.com/security/cve/CVE-2011-0284
suse.com/security/cve/CVE-2011-0285
suse.com/security/cve/CVE-2011-1527
suse.com/security/cve/CVE-2011-1528
suse.com/security/cve/CVE-2011-1529
suse.com/security/cve/CVE-2011-1530
suse.com/security/cve/CVE-2012-1012
suse.com/security/cve/CVE-2012-1013
suse.com/security/cve/CVE-2012-1016
suse.com/security/cve/CVE-2013-1415
suse.com/security/cve/CVE-2013-1417
suse.com/security/cve/CVE-2013-1418
suse.com/security/cve/CVE-2014-4341
suse.com/security/cve/CVE-2014-4342
suse.com/security/cve/CVE-2014-4343
suse.com/security/cve/CVE-2014-4344
suse.com/security/cve/CVE-2014-4345
suse.com/security/cve/CVE-2014-5351
suse.com/security/cve/CVE-2014-5352
suse.com/security/cve/CVE-2014-5353
suse.com/security/cve/CVE-2014-5354
suse.com/security/cve/CVE-2014-5355
suse.com/security/cve/CVE-2014-9421
suse.com/security/cve/CVE-2014-9422
suse.com/security/cve/CVE-2014-9423
suse.com/security/cve/CVE-2015-2694
suse.com/security/cve/CVE-2015-2698
suse.com/security/cve/CVE-2015-8629
suse.com/security/cve/CVE-2015-8630
suse.com/security/cve/CVE-2015-8631
suse.com/security/cve/CVE-2016-3119
suse.com/security/cve/CVE-2016-3120