See how mit compares to other vendors in security performance
https://mailman.mit.edu/pipermail/kerberos-announce/2026q4/000212.html announces: The MIT Kerberos Team announces the availability of MIT Kerberos 5 Release 1.22.3. Please see below for a list of some major changes included, or consult the README file in the source tree for a more detailed list of significant changes.
RETRIEVING KERBEROS 5 RELEASE 1.22.3 ====================================
You may retrieve the Kerberos 5 Release 1.22.3 source from the following URL:
https://kerberos.org/dist/
The homepage for the krb5-1.22.3 release is:
https://web.mit.edu/kerberos/krb5-1.23/
Further information about Kerberos 5 may be found at the following URL:
https://web.mit.edu/kerberos/
and at the MIT Kerberos Consortium web site:
https://www.kerberos.org/
Major changes in 1.22.3 (2026-11-09) ====================================
This is a bug fix release, with a focus on security issues discovered with the aid of large language models. See https://web.mit.edu/kerberos/advisories/MITKRB5-SA-2026-001.txt for information on the risks of continuing to use unpatched releases.
Fix a logic error when checking PAC server checksums [CVE-2026-111423].
Check for unkeyed checksums when validating CAMMAC verifiers [CVE-2026-71199].
Fix a loophole in the KDC's client authdata filtering which could allow clients to include fake PAC and CAMMAC authdata values when requesting service tickets. These fake values would be rejected by application servers, were it not for the two bugs noted above.
Check for the lockdownkeys attribute when processing password change protocol requests in kadmind [CVE-2026-107884].
In libgssrpc, when processing RPC messages using the RPCSECGSS flavor, use the verified service type included in the RPC request to determine how to unwrap arguments and wrap return values, instead of the unverified service type included during authentication [CVE-2026-118380].
In libgssrpc, disable the AUTHGSSAPI server auth flavor unless the "GSSRPCALLOWAUTHGSSAPI" environment variable is set. AUTHGSSAPI is only needed for very old (pre-1.4) clients [CVE-2026-112322] [CVE-2026-112323].
Fix numerous null pointer deferences, read overruns, unbounded memory allocations, and memory leaks that could be used as denial of service attacks against the KDC, kadmind, application servers, or client programs [CVE-2026-40355] [CVE-2026-40356] [CVE-2026-71200] [CVE-2026-107364] [CVE-2026-107708] [CVE-2026-107778] [CVE-2026-112314] [CVE-2026-112315] [CVE-2026-112316] [CVE-2026-112317] [CVE-2026-112318] [CVE-2026-112319] [CVE-2026-112320] [CVE-2026-112321] [CVE-2026-112323] [CVE-2026-119079].
Fix a client crash when a KKDCP proxy daemon closes the TLS session without supplying any response data.
Shut down kpropd gracefully when a termination signal is received, when operating in incremental propagation mode.
Detect when an incremental propagation update is applied to a nonexistent principal; when this happens, force a full resync instead of crashing.
Fix a KDC crash when the LDAP KDB module loses its connection to the LDAP server.
Avoid a crash on macOS when the native API ccache type is used before and after forking a process.
When an application accepts a GSS context without asking for delegated credentials, discard any credentials sent by the initiator without parsing them first.
On Windows, prevent buffer overflows when the KDC sends an unexpectedly long prompt string via OTP preauthentication.
On Windows, move the default per-machine krb5.ini location from C:\ProgramData\MIT\Kerberos to C:\Program Files\MIT\Kerberos5, as the former location could be pre-created by an unutrusted user before KfW installation.
On Windows, add error checking to kfwlogon to ensure that it does not set ACLs on a cache file it did not create.
On Windows, prevent several buffer overflows that could occur if an application passes a large principal name to leashdll APIs.
On Windows, prevent buffer overflows when the LSA cache contains credentials with long principal name components. https://web.mit.edu/kerberos/advisories/MITKRB5-SA-2026-001.txt advises: MITKRB5-SA-2026-001
MIT krb5 Security Advisory 2026-001 Original release: 2026-11-09 Last update: 2026-11-09
Topic: Multiple vulnerabilities fixed in patch 1.22.3
SUMMARY =======
Like many open source projects, MIT krb5 has faced greatly increased scrutiny over the past few months from researchers employing large language models. As a result, release 1.22.3 fixes many more vulnerabilities than a typical MIT krb5 patch release. This advisory discusses the combined impact of those vulnerabilities on unpatched components.
AUTHORIZATION BYPASS ATTACKS ============================
An authenticated attacker can bypass authentication indicator enforcement by requesting a service ticket with fake CAMMAC authorization data. Updating to the 1.22.3 release on the KDC is sufficient to prevent this attack.
An authenticated attacker can bypass an application server's PAC authorization data checks by requesting a service ticket with a fake PAC. Updating to the 1.22.3 release on either the KDC or the affected application server will prevent this attack.
An authenticated attacker with administrative privileges can bypass the lockdownkeys attribute by using the password change protocol instead of the kadmin protocol to modify a principal's keys.
The CVEs in this category include:
CVE-2026-71199 CVE-2026-107884 CVE-2026-111423
DENIAL OF SERVICE ATTACKS =========================
The KDC, kadmind, and GSS-API application servers are all vulnerable to denial of service attacks by unauthenticated attackers. The CVEs in this category include:
CVE-2026-40355 CVE-2026-40356 CVE-2026-71200 CVE-2026-107364 CVE-2026-107708 CVE-2026-107778 CVE-2026-112314 CVE-2026-112315 CVE-2026-112316 CVE-2026-112317 CVE-2026-112318 CVE-2026-112319 CVE-2026-112320 CVE-2026-112321 CVE-2026-112322 CVE-2026-112323 CVE-2026-119079
GSS-RPC USE OF UNVERIFIED SERVICE TYPE ======================================
Application servers using libgssrpc with RPCSECGSS protection may be vulnerable to an active network attack that fools the server into disabling cryptographic protection of RPC arguments and return values. The primary component affected by this vulnerability is kadmind, which serves the kadm5 and iprop RPC protocols.
Using this vulnerability, an active network attacker on the path between a replica KDC and the primary KDC can cause kadmind to reveal the contents of an incremental update reply in plain text. This update may contain sensitive Kerberos database material. Any key information in the incremental update will be encrypted in the master key, but if the master password is not strong, a dictionary attack may reveal the unencrypted key data. Updating to the 1.22.3 release on the primary kadmin server is sufficient to prevent this attack.
We believe that this vulnerability is not exploitable in the kadm5 protocol, because the kadmin client makes an INIT remote procedure call before issuing any substantive RPCs. Because only the server is fooled into disabling encryption, the client will abort the kadmin session when it tries to decode the INIT reply. We also considered scenarios where an attacker replays a modified copy of a recorded kadmin session, but we believe that the replay cache and the use of subkeys prevent this variant of the attack.
The CVE in this category is CVE-2026-118380.
WINDOWS CLIENT VULNERABILITIES ==============================
Applications using leashdll are vulnerable to a buffer overflow (possibly leading to code execution) if the KDC supplies a very long prompt banner. Exploitating this vulnerability may be impossible because only the FAST OTP preauth mechanism permits large prompt banners, and the leashdll APIs do not set a FAST armor cache.
If an application supplies principal names from an untrusted source to leashdll initial ticket functions (such as Leashkinitdlg()), an attacker could cause buffer overflows by supplying long names, possibly leading to code execution.
On a Windows host with untrusted users, an attacker could potentially trick kfwlogon into setting ACL rights on a file of the attacker's choice via a hard link.
On a Windows host with untrusted users, a user could create a krb5.ini file in the default per-machine location prior to Kerberos for Windows installation. This file would then be used by other users, allowing code execution via module loading.
ACKNOWLEDGEMENTS ================
The following individuals and organizations contributed to the discovery of the vulnerabilities fixed in the 1.22.3 release:
Arthur Chan Rahul Hoysala Alexandru-Ionut Jipa Cem Onat Karagun David Korczynski Erin Liman Tristan Madani Alejandro Pacheco Julien Rische Moritz Theile Rickey Visinski
Ada Logics AISLE Anthropic AWS Security Deutsche Bank Red Hat Talence Security
REVISION HISTORY ================
2026-11-09 original release
Copyright (C) 2026 Massachusetts Institute of Technology
The KDC decodes requests using the libkrb5 ASN.1 DER decoder, but obtains pointers to subsets of the encoding (such as the KDC-REQ-BODY) via its own fetchasn1field(). This utility function does not consider the input length, assumes the tag identifier is a single byte, and supports indefinite length encoding. The libkrb5 decoder accepts multi-byte tag identifiers and does not enforce minimality of tag identifier encoding. A request packet crafted using a non-minimal tag identifier can pass through the libkrb5 decoder, but fool fetchasn1field() into indefinite length processing, which may send it reading beyond the bounds of the packet.
In MIT krb5 release 1.4 and later, an active network attacker can alter the arguments sent by a legitimate client to RPC services protected by RPCSECGSS, or cause return values to be sent in plain text.
In MIT krb5 release 1.14 and later (since authentication indicator support was added), an authenticated attacker can bypass authentication indicator requirements using an unkeyed checksum in the CAMMAC authdata container.
MIT Kerberos 5 (krb5) through 1.22.2 contains a NULL pointer dereference in makecredlist() in rdcred.c that allows authenticated Kerberos clients to crash services by sending mismatched KRB-CRED arrays. Attackers can send forwarded credentials with more tickets than ticketinfo entries through gssacceptseccontext() to crash GSS-API acceptor services, causing denial of service.
MIT krb5 through 1.22.2 contains a NULL pointer dereference vulnerability in the KDC's getpacprincwithrealm() that returns success while leaving the client principal NULL on malformed names. A malicious or compromised cross-realm trusted KDC can send an S4U2Proxy request with a PAC carrying a malformed client name to crash krb5kdc and deny authentication.
MIT krb5 through 1.22.2 contains a NULL pointer dereference vulnerability in the KDC's getpacprincwithrealm() that returns success while leaving the client principal NULL on malformed names. A malicious or compromised cross-realm trusted KDC can send an S4U2Proxy request with a PAC carrying a malformed client name to crash krb5kdc and deny authentication.
MIT Kerberos 5 (krb5) through 1.22.2 contains a NULL pointer dereference in makecredlist() in rdcred.c that allows authenticated Kerberos clients to crash services by sending mismatched KRB-CRED arrays. Attackers can send forwarded credentials with more tickets than ticketinfo entries through gssacceptseccontext() to crash GSS-API acceptor services, causing denial of service.
AIONLYREPORT package: krb5-1.21.3-8.el100 ------ Summary: Pre-auth Memory Leak in RPCSECGSS Credential Decode Failure Path (gssrpcsvcauthgss): malformed unauthenticated RPCSECGSS credentials can leak gcctx allocations on decode failure, allowing gradual memory-exhaustion denial of service. Requirements to exploit: Network reachability to a service from krb5-1.21.3-8.el100 that parses RPCSECGSS credentials before authentication, plus the ability to send repeated malformed RPC requests with a truncated embedded gcctx buffer. No prior authentication or user interaction is required. Component affected: krb5-1.21.3-8.el100, src/lib/rpc/svcauthgss.c, gssrpcsvcauthgss (with the leaking allocation originating from xdrrpcgsscred() via xdrrpcgssbuf() / xdrbytes()) Version affected: krb5-1.21.3-8.el100 Patch available: no released package fix established; proposed patch included below Version fixed: unknown Upstream coordination: Not notified. CVSS: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - 5.3 (MEDIUM) AV:N - The affected code parses attacker-controlled RPC credential data over the network. AC:L - The failure condition is induced with a malformed but simple truncated credential blob. PR:N - The leak occurs in the pre-authentication credential decode path. UI:N - No user interaction is required. S:U - The impact is limited to the targeted service process. C:N - The available evidence does not show unauthorized data disclosure. I:N - The available evidence does not show data modification or code execution. A:L - Each request leaks only a bounded amount of memory (MAXAUTHBYTES), but repeated requests can accumulate enough loss to degrade or eventually exhaust the service. Impact: Important. Red Hat classifies flaws that allow remote users to cause denial of service as Important, and this issue is reachable before authentication where an exposed RPCSECGSS service path exists. The practical effect established here is gradual availability loss rather than immediate crash or system compromise, because the leak is bounded per request and requires repetition. Embargo: no Reason: The demonstrated impact is availability-only, the leak is gradual, and straightforward mitigations exist by restricting network access to affected RPCSECGSS-enabled administrative services while a fix is prepared. Acknowledgement: Aisle Research Vulnerability Details: In gssrpcsvcauthgss(), a decode failure returns immediately instead of using the existing freegc: cleanup path: c if (!xdrrpcgsscred(&xdrs, gc)) { logdebug("xdrrpcgsscred() failed"); XDRDESTROY(&xdrs); return (AUTHBADCRED); } ... freegc: xdrfree((xdrproct)xdrrpcgsscred, gc); logdebug("returning %d from svcauthgss()", retstat); return (retstat); The decoded gcctx field is populated through xdrrpcgssbuf() and xdrbytes(). On XDRDECODE, xdrbytes() allocates the buffer before it attempts to read the declared opaque bytes. If the embedded RPCSECGSS credential advertises a non-zero gcctx length but truncates the remaining credential bytes, the opaque read can fail after allocation. Because the function returns before xdrfree((xdrproct)xdrrpcgsscred, gc) is reached, that nested allocation is not released on the failing request. The available material further supports that this parser is selected from the server authentication dispatch when cbcred.oaflavor is RPCSECGSS. The resulting leak is bounded per request by the credential-size checks, but repeated malformed unauthenticated requests can cause monotonic memory growth over time. The evidence supports this for deployments that expose an RPCSECGSS-enabled service path, including in-tree administrative paths such as kadmind or iprop; it does not establish that every deployment of the SRPM exposes those paths. Steps to reproduce: 1. Reach a server path built from krb5-1.21.3-8.el100 that accepts RPCSECGSS credentials before authentication. 2. Send an RPC call with cbcred.oaflavor = RPCSECGSS. 3. Keep the outer credential blob within the accepted MAXAUTHBYTES limit so decoding proceeds into the embedded RPCSECGSS credential. 4. Inside the embedded credential, set gcctx to a non-zero declared length but truncate the remaining bytes so allocation occurs and the subsequent opaque-byte read fails. 5. Observe an authentication failure associated with AUTHBADCRED while the service retains the allocation from the failed decode path. 6. Repeat the malformed request and monitor service memory growth over time. Mitigation: Restrict network access to RPCSECGSS-enabled administrative services to trusted clients until a fix is available. Where feasible, do not expose kadmind/iprop-related RPC endpoints to untrusted networks, and apply rate limiting or connection controls to reduce the effect of repeated malformed requests. Proposed Fix: Route the decode-failure path through the existing freegc: cleanup so partially decoded RPCSECGSS credentials are always released. diff diff --git a/krb5-1.21.3/src/lib/rpc/svcauthgss.c b/krb5-1.21.3/src/lib/rpc/svcauthgss.c index <old>..<new> 100644 — a/krb5-1.21.3/src/lib/rpc/svcauthgss.c +++ b/krb5-1.21.3/src/lib/rpc/svcauthgss.c @@ -434,10 +434,12 @@ gssrpcsvcauthgss(struct svcreq rqst, struct rpcmsg msg, rqst->rqcred.oalength, XDRDECODE); logdebug("xdrmemcreate() returned"); if (!xdrrpcgsscred(&xdrs, gc)) { logdebug("xdrrpcgsscred() failed"); XDRDESTROY(&xdrs); return (AUTHBADCRED); + retstat = AUTHBADCRED; + goto freegc; } XDRDESTROY(&xdrs);
An equivalent fix is to call xdrfree((xdrproct)xdrrpcgsscred, gc) immediately before returning AUTHBADCRED. ------ This report was generated using AI technology. Always review AI-generated content prior to use
AIONLYREPORT package: krb5-1.21.3-8.el100 ------ Summary: DoS in kadmind via NULL dereference in unauthorized policy logging (logunauth): an authenticated but unauthorized client can send a crafted policy RPC request with a NULL policy name and crash kadmind through strlen(NULL) in the unauthorized logging path. Requirements to exploit: A running and reachable kadmind instance, a valid principal that can issue admin RPC requests but lacks policy-administration rights, and the ability to send a crafted RPC request that encodes the policy name as an XDR nullstring (size=0) instead of relying on normal kadmin CLI validation. Component affected: krb5 kadmind policy RPC handling in src/kadmin/server/serverstubs.c (logunauth(), createpolicy2svc(), deletepolicy2svc(), modifypolicy2svc(), getpolicy2svc()), with NULL policy-name inputs admitted by src/lib/kadm5/kadmrpcxdr.c Version affected: krb5-1.21.3-8.el100 Patch available: no released package fix established; proposed patch included below Version fixed: unknown Upstream coordination: Not notified. CVSS: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H - 6.5 (MEDIUM) AV:N - The vulnerable path is reachable over the network through kadmind RPC requests. AC:L - Exploitation requires only a crafted policy RPC request with a NULL XDR string; no race or unusual environmental condition was established. PR:L - The attacker must authenticate, but does not need policy-administration privileges. UI:N - No user interaction is required. S:U - The crash affects the same kadmind security scope. C:N - No confidentiality impact was established. I:N - No integrity impact was established. A:H - The NULL dereference can terminate kadmind, denying administrative service until it is restarted. Impact: Important. This issue allows a remote authenticated attacker to cause a denial of service in kadmind, which aligns with Red Hat's Important category for flaws that allow remote users to impact availability. It is not Critical because authentication is required and no confidentiality, integrity, or code-execution impact was established. Embargo: no Reason: The available evidence supports an authenticated denial of service in an administrative daemon, with no demonstrated confidentiality or integrity impact and straightforward operational mitigations while a fix is prepared. Acknowledgement: Aisle Research Vulnerability Details: In src/kadmin/server/serverstubs.c, logunauth() calls strlen(target) without first checking whether target is NULL: c static int logunauth( char op, char target, gssbuffert client, gssbuffert server, struct svcreq rqstp) { sizet tlen, clen, slen; char tdots, cdots, sdots; tlen = strlen(target); truncname(&tlen, &tdots); clen = client->length; truncname(&clen, &cdots); slen = server->length; truncname(&slen, &sdots); / okay to cast lengths to int because truncname limits max value / return krb5klogsyslog(LOGNOTICE, ("Unauthorized request: %s, %.s%s, " "client=%.s%s, service=%.s%s, addr=%s"), op, (int)tlen, target, tdots, (int)clen, (char )client->value, cdots, (int)slen, (char )server->value, sdots, clientaddr(rqstp->rqxprt)); } The policy RPC handlers createpolicy2svc(), deletepolicy2svc(), modifypolicy2svc(), and getpolicy2svc() pass request-derived arg->rec.policy or arg->name directly into logunauth() when authorization fails. Those policy-name fields are decoded with xdrnullstring(), and a zero-length XDR string is accepted and decoded to NULL. As a result, an authenticated caller can send a crafted policy request with a NULL policy name, force the unauthorized branch, and reach strlen(NULL) in the logging path. The success-path logging already substitutes "(null)" for NULL names, so the crash is specific to unauthorized-request logging. Steps to reproduce: 1. Run kadmind. 2. Authenticate as a valid principal that can issue admin RPC requests but lacks policy-administration rights. 3. Send one of CREATEPOLICY, DELETEPOLICY, MODIFYPOLICY, or GETPOLICY with the policy name encoded as an XDR nullstring (size=0), so the server decodes the field to NULL. 4. Ensure the request follows the unauthorized branch. 5. logunauth(..., target=NULL, ...) executes strlen(NULL), causing a SIGSEGV and denial of kadmind service. Normal kadmin client-side checks may reject NULL names, so reproduction appears to require a crafted RPC request rather than the stock CLI. Mitigation: Restrict network access to kadmind to trusted administrative hosts and limit which principals can authenticate to the admin RPC service. Where the service is not required, disabling kadmind removes reachability. These measures reduce exposure but do not remove the vulnerable code path from a reachable instance. Proposed Fix: A minimal fix is to make logunauth() handle a NULL target the same way logdone() already does. diff diff --git a/src/kadmin/server/serverstubs.c b/src/kadmin/server/serverstubs.c — a/src/kadmin/server/serverstubs.c +++ b/src/kadmin/server/serverstubs.c @@ -384,6 +384,9 @@ logunauth( sizet tlen, clen, slen; char tdots, cdots, sdots; + if (target == NULL) + target = "(null)"; + tlen = strlen(target); truncname(&tlen, &tdots); ------ This report was generated using AI technology. Always review AI-generated content prior to use
AIONLYREPORT package: krb5-1.21.3-8.el100 ------ Summary: RPCSECGSS Auth-Flavor Switching Causes Unbounded Per-Connection Memory Leak (Unauthenticated DoS): switching a persistent TCP connection from RPCSECGSS to AUTHNONE, AUTHUNIX, or AUTHSHORT can orphan heap-backed auth state and let an unauthenticated remote client exhaust server memory. Requirements to exploit: The attacker must be able to reach a service built from krb5-1.21.3-8.el100 that uses the src/lib/rpc GSS-RPC server path over a long-lived TCP connection with RPCSECGSS enabled. No prior authentication or user interaction is required. Component affected: krb5-1.21.3-8.el100 GSS-RPC server authentication lifecycle in src/lib/rpc, notably svcdoxprt() in svc.c, gssrpcauthenticate() in svcauth.c, gssrpcsvcauthgss() in svcauthgss.c, and the non-GSS handlers in svcauthnone.c and svcauthunix.c. Version affected: krb5-1.21.3-8.el100 (reachable when a service from this SRPM exposes the GSS-RPC server path over persistent TCP with RPCSECGSS enabled) Patch available: no released package fix established; proposed patch included below Version fixed: unknown Upstream coordination: Not notified. CVSS: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - 7.5 (HIGH) AV:N - The attack is performed by sending RPC traffic over the network to an exposed service. AC:L - Once the affected TCP GSS-RPC path is reachable, alternating auth flavors on one connection is straightforward and repeatable. PR:N - The leak can be triggered before successful authentication is established. UI:N - No user interaction is required. S:U - The impact is limited to the vulnerable service's own security scope. C:N - No confidentiality impact is demonstrated. I:N - No integrity impact is demonstrated. A:H - Repetition can drive unbounded memory growth until the service becomes unavailable or is terminated. Impact: Important. The demonstrated effect is an unauthenticated remote denial of service through memory exhaustion on a network-reachable service, which aligns with Red Hat's Important rating for remote DoS. It is not Critical because no system compromise or confidentiality/integrity impact is shown, and reachability depends on a deployment exposing the affected RPCSECGSS TCP path. Embargo: no Reason: This is an availability-only issue with configuration-dependent reachability, and administrators can reduce exposure by restricting access to the affected service. The available evidence does not show code execution or silent data compromise that would strongly justify delayed public disclosure. Acknowledgement: Aisle Research Vulnerability Details: The issue is a lifecycle mismatch for xprt->xpauth. gssrpcsvcauthgss() allocates heap-backed SVCAUTH/GSS private state and stores it on the transport. svcdoxprt() intentionally preserves RPCSECGSS auth handles across requests, but later non-GSS authenticators overwrite the same pointer with the static &svcauthnone handle without first calling SVCAUTHDESTROY(). After the overwrite, the original heap object is no longer reachable and leaks until process exit. In src/lib/rpc/svcauthgss.c, RPCSECGSS authentication attaches per-connection auth state to the transport: c if (rqst->rqxprt->xpauth == NULL || rqst->rqxprt->xpauth == &svcauthnone) { ... auth->svcahops = &svcauthgssops; SVCAUTHPRIVATE(auth) = gd; rqst->rqxprt->xpauth = auth; } In src/lib/rpc/svc.c, non-GSS auth handles are nulled at request teardown, while GSS handles are intentionally retained: c } else if ((xprt->xpauth != NULL) && (xprt->xpauth->svcahops != &svcauthgssops)) { xprt->xpauth = NULL; } In src/lib/rpc/svcauthnone.c, and likewise in gssrpcsvcauthunix() and gssrpcsvcauthshort(), a later non-GSS request overwrites the transport pointer: c rqst->rqxprt->xpauth = &svcauthnone; An unauthenticated client can therefore keep one TCP connection open, send an RPCSECGSS INIT or CONTINUEINIT request to allocate xpauth, then switch to AUTHNONE, AUTHUNIX, or AUTHSHORT on the same connection to orphan that state. Repeating the sequence causes monotonic heap/RSS growth bounded only by available memory. The available evidence supports availability impact only. Steps to reproduce: 1. Run a service built from krb5-1.21.3-8.el100 that uses the src/lib/rpc server stack over TCP with RPCSECGSS enabled. 2. Keep a single TCP connection open to the service. 3. Send one RPCSECGSS request on that connection, such as INIT or CONTINUEINIT, so gssrpcsvcauthgss() allocates xpauth. 4. On the same connection, send a request using AUTHNONE, AUTHUNIX, or AUTHSHORT so xpauth is overwritten. 5. Repeat steps 3 and 4 in a loop. 6. Observe monotonic memory growth in the server process; repeated switching can eventually exhaust memory and make the service unavailable. Mitigation: Restrict network access to affected GSS-RPC services to trusted clients until a fix is available. Deployments that do not expose the vulnerable TCP GSS-RPC path or do not enable RPCSECGSS are not reachable through this issue. If memory growth is observed, restart the affected service to reclaim leaked memory. Proposed Fix: Centralize cleanup in gssrpcauthenticate() before dispatching to non-RPCSECGSS authenticators so auth-flavor switching cannot orphan the previous heap allocation. diff diff --git a/src/lib/rpc/svcauth.c b/src/lib/rpc/svcauth.c — a/src/lib/rpc/svcauth.c +++ b/src/lib/rpc/svcauth.c @@ -38,6 +38,7 @@ / #include <gssrpc/rpc.h> +extern struct svcauthops svcauthgssops; / Server side authenticators are called from authenticate by @@ -92,6 +93,14 @@ gssrpcauthenticate( rqst->rqxprt->xpverf.oalength = 0; credflavor = rqst->rqcred.oaflavor; nodispatch = FALSE; + + / Drop stale RPCSECGSS auth state if client switches flavor. / + if (rqst->rqxprt->xpauth != NULL && + rqst->rqxprt->xpauth->svcahops == &svcauthgssops && + credflavor != RPCSECGSS) { + SVCAUTHDESTROY(rqst->rqxprt->xpauth); + rqst->rqxprt->xpauth = NULL; + } + for (i = 0; i < svcauthnum; i++) { if (credflavor == svcauthsw[i].flavor && svcauthsw[i].authenticator != NULL) {
------ This report was generated using AI technology. Always review AI-generated content prior to use
AIONLYREPORT package: krb5-1.21.3-8.el100 ------ Summary: Unauthenticated Memory-Exhaustion DoS in kadmind legacy AUTHGSSAPI handshake (svcauthgssapi.c): repeated unauthenticated AUTHGSSAPIINIT failures can allocate per-client state that is retained until timeout-based cleanup, allowing remote memory-pressure denial of service. Requirements to exploit: Network reachability to a kadmind admin RPC endpoint and the ability to send crafted unauthenticated AUTHGSSAPIINIT requests that reach the legacy server-side AUTHGSSAPI handler; no valid Kerberos credentials or user interaction are required. Component affected: krb5-1.21.3-8.el100, src/lib/rpc/svcauthgssapi.c, gssrpcsvcauthgssapi() legacy AUTHGSSAPI handshake path reachable via kadmind Version affected: krb5-1.21.3-8.el100 Patch available: no released package fix established; proposed patch included below Version fixed: unknown Upstream coordination: Not notified. CVSS: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - 7.5 (HIGH) AV:N - The attack is delivered over the network to a reachable kadmind RPC service. AC:L - Repeated malformed AUTHGSSAPIINIT traffic is sufficient; no race or unusual precondition is established. PR:N - No Kerberos credentials or other prior authentication are required. UI:N - No user interaction is needed. S:U - The impact stays within the authority of the vulnerable service. C:N - No confidentiality impact is established from the available evidence. I:N - No integrity impact is established from the available evidence. A:H - Repeated retained allocations can drive sustained memory growth and deny service. Impact: Important. Red Hat classifies flaws that allow remote users to cause a denial of service as Important when they can compromise availability of resources. Here, the established effect is unauthenticated remote memory exhaustion against a reachable kadmind service. Critical is not supported because the evidence does not show arbitrary code execution or broader system compromise, and the demonstrated impact is availability-only. Embargo: no Reason: The established impact is denial of service on an administrative service, and exposure can be materially reduced by restricting network access to kadmind while a fix is prepared. Private coordination is still useful, but the currently established impact does not strongly support an extended embargo. Acknowledgement: Aisle Research Vulnerability Details: In gssrpcsvcauthgssapi(), an AUTHGSSAPIINIT request with an empty client handle creates new per-client state before context establishment. That state is inserted into the global clients list and given a 15-minute initiation timeout. When context establishment fails, the function sends an error response and returns through error: without destroying the just-created entry. c if (creds.authmsg && rqst->rqproc == AUTHGSSAPIINIT) { ... clientdata = createclient(); ... } c clientdata->expiration = time(0) + INITIATIONTIMEOUT; / 6015 / c if (callres.gssmajor != GSSSCOMPLETE && callres.gssmajor != GSSSCONTINUENEEDED) { ... svcsendreply(...); nodispatch = TRUE; ret = AUTHOK; goto error; / no destroyclient(clientdata) / } Repeated unauthenticated failures therefore accumulate retained svcauthgssapidata entries until timeout-based cleanup runs. The same cleanup gap also affects other post-allocation INIT failure paths that return through error: after createclient() has already succeeded, including malformed init arguments or unsupported INIT versions. Based on the available evidence, the established impact is denial of service through attacker-driven memory growth; no confidentiality or integrity impact is established. Steps to reproduce: 1. Run kadmind from this package and ensure the admin RPC service is reachable, typically on 749/tcp. 2. Open one TCP connection to the service. 3. Repeatedly send RPC calls with credential flavor AUTHGSSAPI, procedure AUTHGSSAPIINIT, authmsg = TRUE, an empty clienthandle, and an invalid or malformed init token. Malformed INIT arguments after credential parsing also exercise post-allocation failure handling. 4. Observe that failed INIT requests return an error response while also yielding a fresh clienthandle, indicating that new server-side client state was created. 5. Continue sending failures at a moderate rate and monitor kadmind memory usage. Memory rises and remains elevated until the initiation timeout expires (about 15 minutes), demonstrating unauthenticated memory-pressure denial of service. Mitigation: Restrict network access to the kadmind admin RPC service to trusted management hosts, and apply network filtering or rate limiting for repeated failed AUTHGSSAPIINIT traffic where possible. Until a fix is available, avoid exposing this administrative interface to untrusted networks and monitor kadmind for abnormal memory growth. Proposed Fix: Track whether the current request created a new client entry and destroy that entry on all failure exits so partially initialized state is not left in the global client list. diff — a/src/lib/rpc/svcauthgssapi.c +++ b/src/lib/rpc/svcauthgssapi.c @@ -170,6 +170,7 @@ enum authstat gssrpcsvcauthgssapi( enum authstat ret; OMuint32 retflags; uint32t seqnum; + boolt createdclient = FALSE; @@ -248,6 +249,7 @@ enum authstat gssrpcsvcauthgssapi( if (clientdata == NULL) { ... } + createdclient = TRUE; } else { ... } @@ -461,6 +463,12 @@ enum authstat gssrpcsvcauthgssapi( gssreleasebuffer(&minorstat, &outputtoken); + if (createdclient) { + destroyclient(clientdata); + clientdata = NULL; + rqst->rqxprt->xpauth = &svcauthnone; + createdclient = FALSE; + } svcsendreply(rqst->rqxprt, (xdrproct)xdrauthgssapiinitres, (caddrt) &callres); nodispatch = TRUE; @@ -652,6 +660,12 @@ error: + if (createdclient && clientdata != NULL) { + destroyclient(clientdata); + clientdata = NULL; + rqst->rqxprt->xpauth = &svcauthnone; + createdclient = FALSE; + } if (creds.clienthandle.length != 0) { ... } ------ This report was generated using AI technology. Always review AI-generated content prior to use
In MIT Kerberos 5 (aka krb5) before 1.22.3, there is a NULL pointer dereference if an application calls gssacceptseccontext() on a system with a NegoEx mechanism registered in /etc/gss/mech. An unauthenticated remote attacker can trigger this, causing the process to terminate in parsenegomessage.
In MIT Kerberos 5 (aka krb5) before 1.22.3, there is an integer underflow and resultant out-of-bounds read if an application calls gssacceptseccontext() on a system with a NegoEx mechanism registered in /etc/gss/mech. An unauthenticated remote attacker can trigger this, possibly causing the process to terminate in parsemessage.
In MIT Kerberos 5 (aka krb5) before 1.22.3, there is an integer underflow and resultant out-of-bounds read if an application calls gssacceptseccontext() on a system with a NegoEx mechanism registered in /etc/gss/mech. An unauthenticated remote attacker can trigger this, possibly causing the process to terminate in parsemessage.
In MIT Kerberos 5 (aka krb5) before 1.22.3, there is a NULL pointer dereference if an application calls gssacceptseccontext() on a system with a NegoEx mechanism registered in /etc/gss/mech. An unauthenticated remote attacker can trigger this, causing the process to terminate in parsenegomessage.
Hi,
just a quick note that MIT krb5 has fixed two unauthenticated network NegoEx parsing vulnerabilities.
Affected versions:
MIT krb5 1.18 and later, when an application calls gssacceptseccontext() on a system with a NegoEx mechanism registered in /etc/gss/mech
Description:
CVE-2026-40355 is a null pointer dereference in parsenegomessage(). The result of the second vectorbase() call was not checked before being dereferenced. An unauthenticated remote attacker can trigger this issue and crash the process.
CVE-2026-40356 is a read overrun of up to 52 bytes in parsemessage(). A short headerlen could cause an integer underflow while calculating the remaining message length. An unauthenticated remote attacker can trigger this issue and possibly crash the proces. Exfiltration of the bytes read appears unlikely.
MIT krb5 security confirmed the following CVSS v3.1 vectors:
CVE-2026-40355: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Base score: 7.5
CVE-2026-40356: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H Base score: 5.9
Users are recommended to apply the upstream patch or update to a version containing the fix.
Credit: Cem Onat Karagun
References: https://github.com/krb5/krb5/commit/2e75f0d9362fb979f5fc92829431a590a130929f https://cems.fun/2026/04/27/krb5-two-unauthenticated-network-vulnerabilities.html https://www.youtube.com/watch?v=zpBrriAJxCQ
An integer underflow vulnerability was found in MIT krb5 in the berval2tldata() function in plugins/kdb/ldap/libkdbldap/ldapprincipal2.c. The function performs an unsigned subtraction (bvlen - 2) without a prior bounds check. When bvlen is 0 or 1, the subtraction wraps to a large value which is then truncated to uint16t, yielding 0xFFFE (65534) or 0xFFFF (65535). The subsequent malloc succeeds and memcpy reads up to 65534 bytes from a 0-1 byte buffer, resulting in a heap out-of-bounds read.
The attack vector involves a malicious or compromised LDAP KDB backend returning a krbExtraData attribute with bvlen < 2, triggering the underflow when the KDC or kadmind reads principal data.
Upstream fix: https://github.com/krb5/krb5/commit/2a5fd83 MIT ticket: https://krbdev.mit.edu/rt/Ticket/Display.html?id=9206
An integer underflow vulnerability was found in MIT krb5 in the berval2tldata() function in plugins/kdb/ldap/libkdbldap/ldapprincipal2.c. The function performs an unsigned subtraction (bvlen - 2) without a prior bounds check. When bvlen is 0 or 1, the subtraction wraps to a large value which is then truncated to uint16t, yielding 0xFFFE (65534) or 0xFFFF (65535). The subsequent malloc succeeds and memcpy reads up to 65534 bytes from a 0-1 byte buffer, resulting in a heap out-of-bounds read.
The attack vector involves a malicious or compromised LDAP KDB backend returning a krbExtraData attribute with bvlen < 2, triggering the underflow when the KDC or kadmind reads principal data.
Upstream fix: https://github.com/krb5/krb5/commit/2a5fd83 MIT ticket: https://krbdev.mit.edu/rt/Ticket/Display.html?id=9206
Hi ,
Apologies for the Outlook formatted response. I'll keep this short. I had shared this directly with Alexandar and Raul but Alexander suggested I write something up for the list.
The issues described are at their heart real in that threat actors (and people like me) absolutely do dump memory and steal files from /tmp when abusing KRB5 trust relationships. The two questions for me are a) given AI's usage in crafting the report, is it novel or is it discussing something that has previously been discussed with vendors - it's not, see https://github.com/CiscoCXSecurity/linikatz and various other (un)related works, Linikatz itself was published in 2018 and b) if this is a vulnerability - aside the subtleties of specific KRB5 implementations, for me, this feels more like either a configurational weakness than a vulnerability per se.
As an aside, abusing ccache is specifically tracked within ATT&CK here: https://attack.mitre.org/techniques/T1558/005/
Tim
Tim Wadhwa-Brown
Security Consulting Senior Engineering Technical Leader
CX CoE Security
twadhwab () cisco com<mailto:twadhwab () cisco com>
Tel: +44 208 824 0239
Mail Stop BDLK09
9 New Square Park Bedfont Lakes TW14 8HA United Kingdom cisco.com | labs.portcullis.co.uk
From: Solar Designer <solar () openwall com> Sent: 19 February 2026 01:14 To: oss-security () lists openwall com <oss-security () lists openwall com> Cc: Raul Vega <raul.vega.dv () gmail com> Subject: [oss-security] MIT/Heimdal Kerberos credentials cache type FILE risks
Hi,
Raul Vega, CC'ed here, sent the below AI-generated message to linux-distros on Feb 5, without disclosing the use of AI, yet correctly set the public disclosure date to "2026-02-18 (14-day embargo per linux-distros policy)" (or maybe the AI assistant did). Unfortunately, there was no further correspondence (in particular, I got no reply to my reply, also included below), and Raul failed to bring this to oss-security on time on his own, so I am now doing it for him. And yes, I consider this borderline abuse of the list, which is why my tone.
My summary of Raul AI's message is that Kerberos defaultccachename FILE is relatively unsafe compared to certain other possible kinds of credentials cache supported via this setting, especially with respect to local file inclusion vulnerabilities in other software such as web apps running under the same user account. The message suggests to use KEYRING or KCM instead of FILE.
https://web.mit.edu/kerberos/krb5-1.22/doc/basic/ccachedef.html says FILE is the default. So it may be a case of unsafe default. Can the default reasonably be changed? "KCM caches work by contacting a daemon process", so will require this daemon to be running, and "KEYRING is Linux-specific, and uses the kernel keyring support". So maybe Linux packages can use KEYRING by default?
In Heimdal, this setting is called defaultccname, apparently with defaultccachename added as an alias for MIT compatibility a few years ago. I couldn't quickly find what the default for it is.
BTW, if this actually required pre-publication discussion, I'd have insisted on bringing it from linux-distros to the full distros list, since Kerberos is not Linux-specific (and predates Linux).
I'd appreciate follow-ups by those familiar with Kerberos (I'm not) and/or its packaging.
Alexander
On Thu, Feb 05, 2026 at 10:24:03AM +0100, Raul Vega wrote: [vs] ADV-2026-005: Kerberos Credential Cache Lifecycle Failure and Bearer Token Theft Vulnerability Type: Semantic Design Flaw / Credential Dumping
Affected Components: MIT/Heimdal Kerberos, Linux Core Dump Handlers, /tmp Defaults
Researcher: Raul Vega del Valle
CVSS 3.1 Base: 7.8 (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H)
CVSS 3.1 Chain: 10.0 (Critical) (When chained with RCE/LFI)
Public Disclosure Date: 2026-02-18 (14-day embargo per linux-distros policy)
Executive Summary: The Semantic Gap The core of this vulnerability is a semantic failure in object lifecycle management. While the Kerberos protocol is syntactically secure, current Linux implementations fail to semantically bound the identity token (bearer ticket) to the process lifetime.
By weaponizing the "Crash and Trash" scenario, an attacker can transform a transient authentication secret into a persistent forensic artifact. This allows an unprivileged local attacker???or a remote attacker via an RCE/LFI chain???to bypass Kerberos protocol guarantees and achieve complete network-wide identity theft.
Technical Analysis 1. File-System Persistence Vector Most Linux distributions default to the FILE: ccache type, storing tickets in /tmp/krb5cc.
The Design Flaw: These tickets are bearer tokens. Possession of the file is equivalent to possession of the identity.
Exploitation: An LFI (Local File Inclusion) vulnerability in a web application can be used to "pull the trash" from /tmp, granting the attacker a valid TGT (Ticket Granting Ticket) with a ~10-hour TTL.
2. Memory Lifecycle Failure (Crash and Trash) When an application handling Kerberos authentication crashes, the system generates a core dump (if enabled).
The Semantic Gap: The credential remains in the heap or stack during the crash. Because many distributions do not restrict access to core dumps or leave them in unencrypted storage, these secrets become "trash" that is readily harvestable via standard string extraction.
Impact: This bridges the gap from a simple application crash (Availability) to a full authentication bypass (Confidentiality/Integrity).
The Grand Chain: The Case for CVSS 10.0 While the individual components may be rated "High," the Semantic Addressing of this flaw creates a critical chain:
Entry (RCE/LFI): Attacker gains limited execution or read access via a library flaw (e.g., Axios SSRF or Undici CRLF).
Pivot (ADV-2026-005): Attacker provokes a crash or reads /tmp to dump the Kerberos ccache.
Escalation: The stolen ticket is replayed from the attacker's machine to access internal high-value targets (LDAP, S3 via IMDSv2, etc.).
Result: Total identity takeover across the infrastructure without triggering traditional "credential theft" alerts.
Actionable Remediations for Distributions Distributions are requested to evaluate the following systemic changes to their default configurations:
Restrict corepattern: Ensure core dumps are directed to a secure, root-only directory by default.
Default to KEYRING:: Shift the default defaultccachename in /etc/krb5.conf from FILE to KEYRING or KCM (Kerberos Credential Manager) to keep tickets in unswappable, process-bound kernel memory.
Enforce fs.suiddumpable: Harden kernel parameters to prevent unprivileged dumping of sensitive processes.
Researcher: Raul Vega del Valle
PGP Fingerprint: [Your Fingerprint] On Fri, Feb 06, 2026 at 10:06:18AM +0100, Solar Designer wrote: Hello Raul,
When you bring this to oss-security, please start by disclosing your use of AI to generate your message. Yes, there's a reason why I am so confident, and I find it borderline abuse when you send AI-generated messages without such disclosure. This is not the norm, at least not yet.
On Thu, Feb 05, 2026 at 10:24:03AM +0100, Raul Vega wrote: Public Disclosure Date: 2026-02-18 (14-day embargo per linux-distros policy) This is up to you, but personally and as linux-distros list admin I do not see the value in having this information under embargo. You could as well post this to oss-security right away. Just let us know of your decision on this.
What you describe reads like publicly known behavior of the software in question. The novelty, if any, may be in combining those pieces into an attack, yet this sounds like public discussion material to me. Technical Analysis 1. File-System Persistence Vector Most Linux distributions default to the FILE: ccache type, storing tickets in /tmp/krb5cc. What are the owners and permissions of those files? Exploitation: An LFI (Local File Inclusion) vulnerability in a web application can be used to "pull the trash" from /tmp, granting the attacker a valid TGT (Ticket Granting Ticket) with a ~10-hour TTL. Would a web application have permissions to read the /tmp/krb5cc files? Because many distributions do not restrict access to core dumps Which ones, for example? And what do you mean by "do not restrict"? Actionable Remediations for Distributions Distributions are requested to evaluate the following systemic changes to their default configurations:
Restrict corepattern: Ensure core dumps are directed to a secure, root-only directory by default. This is typical already. However, you can commonly access your own coredumps. Same with your own /tmp files.
So are you talking about potential restrictions within the same user account, so that sensitive information processed and available to the user previously does not remain available to the user for too long?
How exactly does fs.suiddumpable come into play, then? In other words, do your suggested attacks involve processes that are "dumpable" or/and those that are not? Which ones? Please be very specific.
I suggest that you clarify the above things in the public revision of your advisory. As it is, it reads like a mix of sensible content with everything else an LLM "thought" is relevant, plus the sensationalism.
Thanks,
Alexander
Jacob Bachmeyer <jcb62281 () gmail com> writes: On 2/19/26 21:26, Russ Allbery wrote:
That's also possible for services that accept usernames and passwords and validate them with Kerberos (common for POP and IMAP servers), although of course best practices in those cases is to immediately discard the resulting ticket after authentication.
I would that think in such a scenario, the client should be presenting a Kerberos service ticket to the POP/IMAP server. That requires Kerberos support in the client, which is notoriously not always available (mobile clients, for instance, often do not have Kerberos clients). It's been a problem in the mail world for a long time that we have a ton of better authentication protocols than PLAIN but a lot of mail clients still like using PLAIN, to such an extent that we have things like device-specific passwords to allow use of password authentication with less risk to the user's real credentials. If PAM is creating the ticket cache when the session is opened, then PAM should also be destroying the ticket cache when the session is closed. Yeah, definitely, it's a problem of not calling the right PAM functions to end the authentication (whether that involves a PAM session or not), which is a service bug, not a Kerberos bug. Across the open Internet is one thing, but I would expect (perhaps naively) that communications between web servers and the KDC would be on a secure internal network. The problem isn't so much the open Internet as it is load balancers, Kubernetes, VMs on bridge networks, and all the other network complexities that might be sitting between the server's understanding of its IP and the KDC, which is often segregated into an entirely separate secure network from general Internet-facing services and thus on the other side of some variety of NAT or the like. At least back in the day, the general feeling in the community I was part of was that address-locked tickets were operationally fragile and the security benefit wasn't really worth it. It's possible that changed, or that analysis is wrong. It stops the use of a stolen ticket in the report's scenario of a web service leaking files from /tmp. :-) I'm not sure I would go to the effort of making address-locked tickets work just in case I configured a web server to serve /tmp for some reason, which comes back to your point about the merits of the original report (or lack thereof). Aha! I did not know if the Kerberos cache stored tickets in separate files or all together.
If they are all stored in one file, along with the session keys needed to use them, then yes, distinctions between service tickets and TGTs are useless: an attacker who steals a usable service ticket will also get a usable TGT, outside of very specialized scenarios where the service ticket endures after the TGT expires. I should add the substantial caveat that my experience is almost entirely with UNIX Kerberos. Windows uses its own way of managing ticket caches and it may well be mediated by some sort of process that, for instance, obtains service tickets and provides them without providing access to the TGT. I know nothing about how all that works except I know Microsoft did things to try to make it more secure.
But the report seemed to be primarily about UNIX Kerberos, and in that context generally the TGT and the service tickets are all in the same place (whether that be a file or keyring).
I don't know how KCM works. There's a daemon involved, so maybe it does something more sophisticated.
-- Russ Allbery (eagle () eyrie org) <https://www.eyrie.org/~eagle/>
On 2/19/26 14:29, Russ Allbery wrote: It's been some years since I've worked on Kerberos extensively, but I still maintain some Kerberos-related software and may be able to provide some context here. I have not been closely tracking developments in keyring formats and do not know how usable KEYRING caches are these days, so I may get some of these details wrong. Excellent, someone with more and/or more-recent knowledge on the topic! :-) Jacob Bachmeyer<jcb62281 () gmail com> writes: On Thu, Feb 05, 2026 at 10:24:03AM +0100, Raul Vega wrote: The core of this vulnerability is a semantic failure in object lifecycle management. While the Kerberos protocol is syntactically secure, current Linux implementations fail to semantically bound the identity token (bearer ticket) to the process lifetime. Which process lifetime are we talking about here? My understanding is that the context of this report is services running with Kerberos credentials. [...]
[...]
In other words, this is a valid concern, but it's kind of a minor one. Having ticket caches lying around that live beyond the lifetime of the service creates some additional security risk, but in most cases it's less than the necessary security risk of having a keytab on the system that can be used to create new ticket caches at any time. [...] Exactly. The risks here are already well-known; the report is bogus. [...] Arguable, but that is why you are supposed to invoke kdestroy in your logout script. A more typical design at institutions that use Kerberos heavily is to acquire Kerberos tickets on login via PAM (usually with sssd these days) and destroy them on logout via PAM as well so that users do not have to handle this in their shell files.
By weaponizing the "Crash and Trash" scenario, an attacker can transform a transient authentication secret into a persistent forensic artifact. This allows an unprivileged local attacker???or a remote attacker via an RCE/LFI chain???to bypass Kerberos protocol guarantees and achieve complete network-wide identity theft. Those are certainly all words. Some of them are even security-related. Exactly what LLMs are good at. :-) [...] Exploitation: An LFI (Local File Inclusion) vulnerability in a web application can be used to "pull the trash" from /tmp, granting the attacker a valid TGT (Ticket Granting Ticket) with a ~10-hour TTL. Only if DAC is not being used properly. If you are running a web application as root, you have bigger problems than stolen Kerberos tickets. I think the concern here is that the web application has its own tickets, which necessarily must be accessible to the web application. Therefore, if there is a vulnerability in the web application, that can be used to exfiltrate the Kerberos tickets for the web application.
Put that way, this is trivially and obviously correct. Maybe storing the tickets in a file in the file system makes it moderately easier to exfiltrate them given some sort of limited security flaw and keyring ticket caches might be less vulnerable, but this is highly speculative and depends on the exact nature of the vulnerability.
[...] 2. Memory Lifecycle Failure (Crash and Trash) When an application handling Kerberos authentication crashes, the system generates a core dump (if enabled).
The Semantic Gap: The credential remains in the heap or stack during the crash. Because many distributions do not restrict access to core dumps or leave them in unencrypted storage, these secrets become "trash" that is readily harvestable via standard string extraction. If, and only if, the application crashed during the authentication, or did not take proper steps to discard the credential after using it. Again, this is (probably) an application bug, although I am not familiar enough with the Kerberos libraries to say what extent of care is taken to extinguish no-longer-needed in-memory copies of tickets. Yeah, this is just every piece of software in existence that manages its own secure credentials. The same can be said of software using X.509 credentials as well. If you want to use a differnet security system that stores all keys in a TPM, that may be the right choice in some security models, but that just means Kerberos is not a good fit for you.
Note that service tickets usually have much shorter lifetimes than TGTs, since they only need to be valid long enough to "run" from the KDC to the service, presenting the ticket at the latter. This varies a lot, and in my experience a more typical setup is for both TGTs and service tickets to have the same lifetimes. Regardless, though, for tickets for services that are managed externally, one can use a tool like kstart to regularly refresh the ticket cache, in which case you can set a short lifetime on both.
Or am I misremembering this part of Kerberos? If I remember correctly, stealing anything other than a TGT is useless, since service tickets are encrypted under a key in the TGT and contain a session key for talking to that service. No, this is not correct: If you have possession of the service ticket, you can authenticate as the user to that specific service. You do not need the TGT. Otherwise, limited ticket forwarding would not work.
-- Jacob
On 2/18/26 19:14, Solar Designer wrote: Hi,
Raul Vega, CC'ed here, sent the below AI-generated message to linux-distros on Feb 5, without disclosing the use of AI, yet correctly set the public disclosure date to "2026-02-18 (14-day embargo per linux-distros policy)" (or maybe the AI assistant did). That would be the first warning sign. Unfortunately, there was no further correspondence (in particular, I got no reply to my reply, also included below), and Raul failed to bring this to oss-security on time on his own, so I am now doing it for him. And yes, I consider this borderline abuse of the list, which is why my tone. And this would be a second strike. My summary of Raul AI's message is that Kerberos defaultccachename FILE is relatively unsafe compared to certain other possible kinds of credentials cache supported via this setting, especially with respect to local file inclusion vulnerabilities in other software such as web apps running under the same user account. The message suggests to use KEYRING or KCM instead of FILE. My summary up front: this report is bogus. https://web.mit.edu/kerberos/krb5-1.22/doc/basic/ccachedef.html says FILE is the default. So it may be a case of unsafe default. Can the default reasonably be changed? "KCM caches work by contacting a daemon process", so will require this daemon to be running, and "KEYRING is Linux-specific, and uses the kernel keyring support". So maybe Linux packages can use KEYRING by default? I would not be so sure about FILE being unsafe at all. [...]
I'd appreciate follow-ups by those familiar with Kerberos (I'm not) and/or its packaging.
[...]
On Thu, Feb 05, 2026 at 10:24:03AM +0100, Raul Vega wrote: [vs] ADV-2026-005: Kerberos Credential Cache Lifecycle Failure and Bearer Token Theft Vulnerability Type: Semantic Design Flaw / Credential Dumping
Affected Components: MIT/Heimdal Kerberos, Linux Core Dump Handlers, /tmp Defaults
Researcher: Raul Vega del Valle
CVSS 3.1 Base: 7.8 (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H)
CVSS 3.1 Chain: 10.0 (Critical) (When chained with RCE/LFI)
Public Disclosure Date: 2026-02-18 (14-day embargo per linux-distros policy)
Executive Summary: The Semantic Gap The core of this vulnerability is a semantic failure in object lifecycle management. While the Kerberos protocol is syntactically secure, current Linux implementations fail to semantically bound the identity token (bearer ticket) to the process lifetime.
By weaponizing the "Crash and Trash" scenario, an attacker can transform a transient authentication secret into a persistent forensic artifact. This allows an unprivileged local attacker???or a remote attacker via an RCE/LFI chain???to bypass Kerberos protocol guarantees and achieve complete network-wide identity theft.
Technical Analysis 1. File-System Persistence Vector Most Linux distributions default to the FILE: ccache type, storing tickets in /tmp/krb5cc.
The Design Flaw: These tickets are bearer tokens. Possession of the file is equivalent to possession of the identity.
Exploitation: An LFI (Local File Inclusion) vulnerability in a web application can be used to "pull the trash" from /tmp, granting the attacker a valid TGT (Ticket Granting Ticket) with a ~10-hour TTL.
2. Memory Lifecycle Failure (Crash and Trash) When an application handling Kerberos authentication crashes, the system generates a core dump (if enabled).
The Semantic Gap: The credential remains in the heap or stack during the crash. Because many distributions do not restrict access to core dumps or leave them in unencrypted storage, these secrets become "trash" that is readily harvestable via standard string extraction.
Impact: This bridges the gap from a simple application crash (Availability) to a full authentication bypass (Confidentiality/Integrity).
The Grand Chain: The Case for CVSS 10.0 While the individual components may be rated "High," the Semantic Addressing of this flaw creates a critical chain:
Entry (RCE/LFI): Attacker gains limited execution or read access via a library flaw (e.g., Axios SSRF or Undici CRLF).
Pivot (ADV-2026-005): Attacker provokes a crash or reads /tmp to dump the Kerberos ccache.
Escalation: The stolen ticket is replayed from the attacker's machine to access internal high-value targets (LDAP, S3 via IMDSv2, etc.).
Result: Total identity takeover across the infrastructure without triggering traditional "credential theft" alerts.
Actionable Remediations for Distributions Distributions are requested to evaluate the following systemic changes to their default configurations:
Restrict corepattern: Ensure core dumps are directed to a secure, root-only directory by default.
Default to KEYRING:: Shift the default defaultccachename in /etc/krb5.conf from FILE to KEYRING or KCM (Kerberos Credential Manager) to keep tickets in unswappable, process-bound kernel memory.
Enforce fs.suiddumpable: Harden kernel parameters to prevent unprivileged dumping of sensitive processes.
Researcher: Raul Vega del Valle
PGP Fingerprint: [Your Fingerprint]
On Fri, Feb 06, 2026 at 10:06:18AM +0100, Solar Designer wrote: Hello Raul,
[...]
On Thu, Feb 05, 2026 at 10:24:03AM +0100, Raul Vega wrote: [...] Technical Analysis 1. File-System Persistence Vector Most Linux distributions default to the FILE: ccache type, storing tickets in /tmp/krb5cc. What are the owners and permissions of those files?
Exploitation: An LFI (Local File Inclusion) vulnerability in a web application can be used to "pull the trash" from /tmp, granting the attacker a valid TGT (Ticket Granting Ticket) with a ~10-hour TTL. Would a web application have permissions to read the /tmp/krb5cc files? If it does, you have bigger problems than stolen Kerberos tickets. Because many distributions do not restrict access to core dumps Which ones, for example? And what do you mean by "do not restrict"? I believe that this means the AI was hallucinating. Actionable Remediations for Distributions Distributions are requested to evaluate the following systemic changes to their default configurations:
Restrict corepattern: Ensure core dumps are directed to a secure, root-only directory by default. This is typical already. However, you can commonly access your own coredumps. Same with your own /tmp files.
So are you talking about potential restrictions within the same user account, so that sensitive information processed and available to the user previously does not remain available to the user for too long?
How exactly does fs.suiddumpable come into play, then? In other words, do your suggested attacks involve processes that are "dumpable" or/and those that are not? Which ones? Please be very specific.
I suggest that you clarify the above things in the public revision of your advisory. As it is, it reads like a mix of sensible content with everything else an LLM "thought" is relevant, plus the sensationalism. -- Jacob
Hi,
Raul Vega, CC'ed here, sent the below AI-generated message to linux-distros on Feb 5, without disclosing the use of AI, yet correctly set the public disclosure date to "2026-02-18 (14-day embargo per linux-distros policy)" (or maybe the AI assistant did). Unfortunately, there was no further correspondence (in particular, I got no reply to my reply, also included below), and Raul failed to bring this to oss-security on time on his own, so I am now doing it for him. And yes, I consider this borderline abuse of the list, which is why my tone.
My summary of Raul AI's message is that Kerberos defaultccachename FILE is relatively unsafe compared to certain other possible kinds of credentials cache supported via this setting, especially with respect to local file inclusion vulnerabilities in other software such as web apps running under the same user account. The message suggests to use KEYRING or KCM instead of FILE.
https://web.mit.edu/kerberos/krb5-1.22/doc/basic/ccachedef.html says FILE is the default. So it may be a case of unsafe default. Can the default reasonably be changed? "KCM caches work by contacting a daemon process", so will require this daemon to be running, and "KEYRING is Linux-specific, and uses the kernel keyring support". So maybe Linux packages can use KEYRING by default?
In Heimdal, this setting is called defaultccname, apparently with defaultccachename added as an alias for MIT compatibility a few years ago. I couldn't quickly find what the default for it is.
BTW, if this actually required pre-publication discussion, I'd have insisted on bringing it from linux-distros to the full distros list, since Kerberos is not Linux-specific (and predates Linux).
I'd appreciate follow-ups by those familiar with Kerberos (I'm not) and/or its packaging.
Alexander
On Thu, Feb 05, 2026 at 10:24:03AM +0100, Raul Vega wrote: [vs] ADV-2026-005: Kerberos Credential Cache Lifecycle Failure and Bearer Token Theft Vulnerability Type: Semantic Design Flaw / Credential Dumping
Affected Components: MIT/Heimdal Kerberos, Linux Core Dump Handlers, /tmp Defaults
Researcher: Raul Vega del Valle
CVSS 3.1 Base: 7.8 (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H)
CVSS 3.1 Chain: 10.0 (Critical) (When chained with RCE/LFI)
Public Disclosure Date: 2026-02-18 (14-day embargo per linux-distros policy)
Executive Summary: The Semantic Gap The core of this vulnerability is a semantic failure in object lifecycle management. While the Kerberos protocol is syntactically secure, current Linux implementations fail to semantically bound the identity token (bearer ticket) to the process lifetime.
By weaponizing the "Crash and Trash" scenario, an attacker can transform a transient authentication secret into a persistent forensic artifact. This allows an unprivileged local attacker???or a remote attacker via an RCE/LFI chain???to bypass Kerberos protocol guarantees and achieve complete network-wide identity theft.
Technical Analysis 1. File-System Persistence Vector Most Linux distributions default to the FILE: ccache type, storing tickets in /tmp/krb5cc.
The Design Flaw: These tickets are bearer tokens. Possession of the file is equivalent to possession of the identity.
Exploitation: An LFI (Local File Inclusion) vulnerability in a web application can be used to "pull the trash" from /tmp, granting the attacker a valid TGT (Ticket Granting Ticket) with a ~10-hour TTL.
2. Memory Lifecycle Failure (Crash and Trash) When an application handling Kerberos authentication crashes, the system generates a core dump (if enabled).
The Semantic Gap: The credential remains in the heap or stack during the crash. Because many distributions do not restrict access to core dumps or leave them in unencrypted storage, these secrets become "trash" that is readily harvestable via standard string extraction.
Impact: This bridges the gap from a simple application crash (Availability) to a full authentication bypass (Confidentiality/Integrity).
The Grand Chain: The Case for CVSS 10.0 While the individual components may be rated "High," the Semantic Addressing of this flaw creates a critical chain:
Entry (RCE/LFI): Attacker gains limited execution or read access via a library flaw (e.g., Axios SSRF or Undici CRLF).
Pivot (ADV-2026-005): Attacker provokes a crash or reads /tmp to dump the Kerberos ccache.
Escalation: The stolen ticket is replayed from the attacker's machine to access internal high-value targets (LDAP, S3 via IMDSv2, etc.).
Result: Total identity takeover across the infrastructure without triggering traditional "credential theft" alerts.
Actionable Remediations for Distributions Distributions are requested to evaluate the following systemic changes to their default configurations:
Restrict corepattern: Ensure core dumps are directed to a secure, root-only directory by default.
Default to KEYRING:: Shift the default defaultccachename in /etc/krb5.conf from FILE to KEYRING or KCM (Kerberos Credential Manager) to keep tickets in unswappable, process-bound kernel memory.
Enforce fs.suiddumpable: Harden kernel parameters to prevent unprivileged dumping of sensitive processes.
Researcher: Raul Vega del Valle
PGP Fingerprint: [Your Fingerprint] On Fri, Feb 06, 2026 at 10:06:18AM +0100, Solar Designer wrote: Hello Raul,
When you bring this to oss-security, please start by disclosing your use of AI to generate your message. Yes, there's a reason why I am so confident, and I find it borderline abuse when you send AI-generated messages without such disclosure. This is not the norm, at least not yet.
On Thu, Feb 05, 2026 at 10:24:03AM +0100, Raul Vega wrote: Public Disclosure Date: 2026-02-18 (14-day embargo per linux-distros policy) This is up to you, but personally and as linux-distros list admin I do not see the value in having this information under embargo. You could as well post this to oss-security right away. Just let us know of your decision on this.
What you describe reads like publicly known behavior of the software in question. The novelty, if any, may be in combining those pieces into an attack, yet this sounds like public discussion material to me. Technical Analysis 1. File-System Persistence Vector Most Linux distributions default to the FILE: ccache type, storing tickets in /tmp/krb5cc. What are the owners and permissions of those files? Exploitation: An LFI (Local File Inclusion) vulnerability in a web application can be used to "pull the trash" from /tmp, granting the attacker a valid TGT (Ticket Granting Ticket) with a ~10-hour TTL. Would a web application have permissions to read the /tmp/krb5cc files? Because many distributions do not restrict access to core dumps Which ones, for example? And what do you mean by "do not restrict"? Actionable Remediations for Distributions Distributions are requested to evaluate the following systemic changes to their default configurations:
Restrict corepattern: Ensure core dumps are directed to a secure, root-only directory by default. This is typical already. However, you can commonly access your own coredumps. Same with your own /tmp files.
So are you talking about potential restrictions within the same user account, so that sensitive information processed and available to the user previously does not remain available to the user for too long?
How exactly does fs.suiddumpable come into play, then? In other words, do your suggested attacks involve processes that are "dumpable" or/and those that are not? Which ones? Please be very specific.
I suggest that you clarify the above things in the public revision of your advisory. As it is, it reads like a mix of sensible content with everything else an LLM "thought" is relevant, plus the sensationalism.
Thanks,
Alexander
A vulnerability in the MIT Kerberos implementation allows GSSAPI-protected messages using RC4-HMAC-MD5 to be spoofed due to weaknesses in the MD5 checksum design. If RC4 is preferred over stronger encryption types, an attacker could exploit MD5 collisions to forge message integrity codes. This may lead to unauthorized message tampering.
Under specific configurations where RC4-HMAC-MD5 is negotiated for GSSAPI-secured communication, attackers can sniff messages and use MD5 collision techniques to craft altered messages that retain the same MIC (Message Integrity Code). The vulnerable checksum function from RFC4757 allows this due to its flawed use of MD5. The attack relies on RC4 being chosen over stronger encryption options and presumes attacker access to the network traffic.
In MIT krb5 release 1.7 and later with incremental propagation enabled, an authenticated attacker can cause kadmind to write beyond the end of the mapped region for the iprop log file, likely causing a process crash.
In MIT Kerberos 5 (aka krb5) before 1.22 (with incremental propagation), there is an integer overflow for a large update size to resize() in kdblog.c. An authenticated attacker can cause an out-of-bounds write and kadmind daemon crash.
https://mailman.mit.edu/pipermail/kerberos-announce/2024q2/000207.html and https://web.mit.edu/kerberos/www/krb5-1.21/ have announced the release on Wed. June 26 of Kerberos 1.21.3 with these changes: Fix vulnerabilities in GSS message token handling [CVE-2024-37370, CVE-2024-37371].
Fix a potential bad pointer free in krb5cccolhavecontents().
Fix a memory leak in the macOS ccache type. https://krbdev.mit.edu/rt/Ticket/Display.html?id=9128 and https://github.com/krb5/krb5/commit/b0a2f8a5365f2eec3e27d78907de9f9d2c80505a give this info for the issues assigned CVEs: In gsskrb5intunsealtokenv3() and gsskrb5intunsealv3iov(), verify the Extra Count field of CFX wrap tokens against the encrypted header. Reported by Jacob Champion.
In gsskrb5intunsealtokenv3(), check for a decrypted plaintext length too short to contain the encrypted header and extra count bytes. Reported by Jacob Champion.
In kgunsealiovtoken(), separately track the header IOV length and complete token length when parsing the token's ASN.1 wrapper. This fix contains modified versions of functions from k5-der.h and utiltoken.c; this duplication will be cleaned up in a future commit.
CVE-2024-37370:
In MIT krb5 release 1.3 and later, an attacker can modify the plaintext Extra Count field of a confidential GSS krb5 wrap token, causing the unwrapped token to appear truncated to the application.
CVE-2024-37371:
In MIT krb5 release 1.3 and later, an attacker can cause invalid memory reads by sending message tokens with invalid length fields. -- -Alan Coopersmith- alan.coopersmith () oracle com Oracle Solaris Engineering - https://blogs.oracle.com/solaris
In MIT Kerberos 5 (aka krb5) before 1.21.3, an attacker can modify the plaintext Extra Count field of a confidential GSS krb5 wrap token, causing the unwrapped token to appear truncated to the application.
Reference and upstream patch: https://github.com/krb5/krb5/commit/55fbf435edbe2e92dd8101669b1ce7144bc96fef