Skip to main content
Vulnerability Database/CVE-2026-107708

CVE-2026-107708: MIT Kerberos KDC DOS Vulnerability

CVE-2026-107708 is a denial of service flaw in MIT Kerberos KDC that allows malicious cross-realm KDCs to crash krb5kdc through malformed S4U2Proxy requests. This post explains its impact, affected versions, and mitigation steps.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-107708 Overview

CVE-2026-107708 is a NULL pointer dereference vulnerability [CWE-476] in MIT Kerberos 5 (krb5) through version 1.22.2. The flaw resides in the Key Distribution Center (KDC) function get_pac_princ_with_realm(), which returns success while leaving the client principal pointer NULL when it encounters malformed principal names. A malicious or compromised cross-realm trusted KDC can send a Service-for-User-to-Proxy (S4U2Proxy) request carrying a Privilege Attribute Certificate (PAC) with a malformed client name. This crashes krb5kdc and denies authentication to all realm clients.

Critical Impact

An attacker controlling a cross-realm trusted KDC can crash the target krb5kdc process, causing a denial-of-service condition that blocks Kerberos authentication across the affected realm.

Affected Products

  • MIT krb5 (Kerberos 5) versions through 1.22.2
  • krb5kdc daemon processing S4U2Proxy requests
  • Deployments with cross-realm trust relationships

Discovery Timeline

  • 2026-10-08 - CVE-2026-107708 published to NVD
  • 2026-10-14 - Last updated in NVD database

Technical Details for CVE-2026-107708

Vulnerability Analysis

The vulnerability affects the KDC's handling of PAC-carried client principal names during S4U2Proxy constrained delegation. The function get_pac_princ_with_realm() in src/kdc/kdc_util.c calls krb5_parse_name_flags() to parse the client name string extracted from the PAC. When parsing fails on a malformed name, the function incorrectly returns success (return 0) rather than propagating the error. The caller then dereferences the uninitialized output principal pointer, triggering a NULL pointer dereference and process crash.

Because krb5kdc is a single-process authentication service, the crash terminates all in-flight Kerberos operations. Clients across the realm lose the ability to obtain tickets until the daemon is restarted.

Root Cause

The root cause is improper error handling in get_pac_princ_with_realm(). The function allocates and tracks client_str, then invokes krb5_parse_name_flags(). On parse failure, control exited the function without routing through the cleanup label, and the return value was hardcoded to 0 (success). The caller treated the NULL *princ_out as valid and dereferenced it.

Attack Vector

Exploitation requires an attacker to control or compromise a KDC that holds a cross-realm trust relationship with the target realm. The attacker crafts an S4U2Proxy request embedding a PAC with a malformed client principal name. The request is routed to the victim krb5kdc, which parses the PAC, hits the error path, and crashes. The attack is network-based and does not require user interaction, but privileges on a trusted cross-realm KDC are a prerequisite.

c
// Patch from src/kdc/kdc_util.c (CVE-2026-107708 fix)
    ret = krb5_parse_name_flags(context, client_str, flags, princ_out);
    if (ret)
-        return ret;
+        goto cleanup;

    (*princ_out)->type = KRB5_NT_MS_PRINCIPAL;

 cleanup:
    free(client_str);
-    return 0;
+    return ret;
}

Source: GitHub Commit a88a18ca and GitHub Commit f6e2c397. The patch routes parse failures through the cleanup label and returns the actual error code instead of silently returning success.

Detection Methods for CVE-2026-107708

Indicators of Compromise

  • Unexpected krb5kdc process termination or segmentation fault entries in system logs.
  • Sudden drop in successful ticket-granting ticket (TGT) and service ticket issuance rates.
  • S4U2Proxy requests originating from cross-realm KDCs with anomalous or malformed PAC content.
  • Core dumps generated by krb5kdc referencing get_pac_princ_with_realm in the stack trace.

Detection Strategies

  • Monitor krb5kdc process health via systemd, supervisord, or equivalent service managers and alert on repeated restarts.
  • Enable KDC verbose logging and inspect for parsing errors immediately preceding daemon exit.
  • Inspect cross-realm referrals and S4U2Proxy flows to identify PACs with non-conformant principal name fields.

Monitoring Recommendations

  • Centralize krb5kdc logs and crash telemetry into a SIEM for correlation with authentication outage events.
  • Track baseline Kerberos authentication volumes and alert on statistically significant drops.
  • Audit cross-realm trust configurations and limit trust relationships to vetted partner realms.

How to Mitigate CVE-2026-107708

Immediate Actions Required

  • Apply upstream patches a88a18ca and f6e2c397 from the MIT krb5 repository.
  • Review all cross-realm trust relationships and revoke trusts with untrusted or unmaintained KDCs.
  • Deploy process supervision to automatically restart krb5kdc if it crashes, limiting outage duration.

Patch Information

The fix is tracked in GitHub Pull Request #1510 and merged via commits a88a18ca and f6e2c397. The vulnerable code is visible in the kdc_util.c snippet. Additional context is available in the VulnCheck Advisory for MIT krb5. Rebuild krb5kdc from a patched source tree or upgrade to a distribution package incorporating the fix.

Workarounds

  • Disable or restrict S4U2Proxy constrained delegation if the feature is not required in your environment.
  • Remove or temporarily suspend cross-realm trusts with KDCs you do not fully control.
  • Deploy a watchdog that restarts krb5kdc on crash to minimize authentication downtime until patches are applied.
bash
# Example: restrict cross-realm trust in /etc/krb5.conf
[capaths]
    EXAMPLE.COM = {
        PARTNER.REALM = .
    }

# Example: systemd watchdog for krb5kdc
# /etc/systemd/system/krb5kdc.service.d/override.conf
[Service]
Restart=on-failure
RestartSec=2s

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.