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

CVE-2026-104039: SSSD GSSAPI Authentication DOS Vulnerability

CVE-2026-104039 is a denial of service flaw in SSSD that allows local users to disrupt authentication services through GSSAPI exploitation. This article covers technical details, impact assessment, and mitigation.

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-104039 Overview

CVE-2026-104039 is a flaw in the System Security Services Daemon (SSSD) that allows a local user to trigger a denial of service against system authentication services. The defect resides in the Pluggable Authentication Module (PAM) responder's handling of Generic Security Services Application Programming Interface (GSSAPI) authentication. Cached connection state is freed after request completion, but the reference pointer is not cleared. A subsequent request over the same connection dereferences the stale pointer, causing SSSD to access invalid memory and terminate. The weakness is tracked under CWE-825: Expired Pointer Dereference.

Critical Impact

A local, authenticated user can crash the SSSD service and disrupt authentication for all users on the host by sending a crafted follow-up request over an existing GSSAPI connection.

Affected Products

  • System Security Services Daemon (SSSD)
  • Red Hat Enterprise Linux distributions shipping affected SSSD builds
  • Linux systems using SSSD PAM responder with GSSAPI authentication

Discovery Timeline

  • 2026-10-06 - CVE-2026-104039 published to the National Vulnerability Database
  • 2026-10-06 - Last updated in NVD database

Technical Details for CVE-2026-104039

Vulnerability Analysis

SSSD provides access to remote identity and authentication providers for Linux hosts. The PAM responder component handles authentication requests delivered through PAM modules, including those using GSSAPI for Kerberos-backed single sign-on. During GSSAPI authentication, SSSD maintains cached state tied to the client connection so that multi-step negotiations can proceed efficiently.

When the GSSAPI exchange completes, the responder releases the cached connection state. The release path frees the underlying memory but leaves the pointer that referenced the cached state intact. The connection object therefore retains a dangling reference to freed memory. This condition matches the Expired Pointer Dereference class of memory-safety defects.

An authenticated local user can trigger the fault by issuing an additional PAM request over the same connection after a GSSAPI exchange finishes. The responder follows the stale pointer, reads or writes freed memory, and crashes. Because SSSD is a single system-wide daemon, its termination blocks subsequent authentication, authorization, and identity lookups until the service restarts. The impact profile emphasizes availability, with no direct effect on confidentiality or integrity.

Root Cause

The root cause is incomplete cleanup logic in the PAM responder. The code frees the cached GSSAPI connection state but does not reset the owning reference pointer to a sentinel value such as NULL. Any later code path that checks or dereferences the pointer treats freed memory as a live object.

Attack Vector

Exploitation requires local access with valid credentials and the ability to initiate a GSSAPI PAM authentication exchange. The attacker completes a GSSAPI authentication over a connection to the SSSD PAM responder, then sends an additional request over the same connection. The responder dereferences the expired pointer and terminates. No user interaction is required, and the attack complexity is high because it depends on precise sequencing of requests against the responder's connection cache.

For technical details, refer to the Red Hat CVE-2026-104039 Advisory and the associated Red Hat Bug Report #2478956.

Detection Methods for CVE-2026-104039

Indicators of Compromise

  • Unexpected termination of the sssd process or its sssd_pam child, often recorded as a segmentation fault in /var/log/messages or journalctl -u sssd.
  • Repeated PAM authentication failures across the host following an SSSD crash, with errors referencing unavailable identity providers.
  • systemd service restart entries for sssd.service with no corresponding administrative change window.

Detection Strategies

  • Alert on SIGSEGV or abnormal exit codes for sssd, sssd_pam, or related child processes using host-based telemetry.
  • Correlate SSSD service restarts with recent local user sessions that invoked GSSAPI or Kerberos-backed authentication.
  • Monitor PAM responder socket activity under /var/lib/sss/pipes/pam for abnormal connection reuse patterns from non-privileged users.

Monitoring Recommendations

  • Enable coredumpctl capture for SSSD so that crash artifacts can be analyzed for signs of expired pointer dereference.
  • Forward journald logs for sssd.service to a centralized logging or SIEM platform and alert on repeated restarts within short time windows.
  • Baseline normal GSSAPI authentication volume per host so anomalous spikes immediately preceding crashes can be investigated.

How to Mitigate CVE-2026-104039

Immediate Actions Required

  • Apply the vendor-supplied SSSD update as soon as it is available for your distribution.
  • Inventory hosts running SSSD with the PAM responder enabled and prioritize multi-user systems, bastion hosts, and shared workstations.
  • Restrict local shell access on affected hosts to trusted users until the patched package is deployed.

Patch Information

Consult the Red Hat CVE-2026-104039 Advisory for current errata and package versions. Distributions that repackage SSSD typically publish backported fixes referencing the same CVE identifier. Install the patched sssd package and restart the service with systemctl restart sssd after the update.

Workarounds

  • Disable GSSAPI authentication through the PAM responder by removing pam_sss GSSAPI configuration entries where single sign-on is not required.
  • Configure systemd to automatically restart SSSD on failure using Restart=on-failure and a short RestartSec value to minimize authentication downtime while patches are staged.
  • Limit interactive local logins on affected hosts to administrators until the fixed package is installed.
bash
# Configuration example: ensure SSSD restarts quickly after a crash
# /etc/systemd/system/sssd.service.d/override.conf
[Service]
Restart=on-failure
RestartSec=2s

# Apply the override and verify
sudo systemctl daemon-reload
sudo systemctl restart sssd
systemctl show sssd -p Restart -p RestartSec

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.