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-104036 Overview
CVE-2026-104036 is an out-of-bounds write vulnerability in the System Security Services Daemon (SSSD) NFS idmap plugin. The plugin checks whether a cached user or group name exceeds the destination buffer size but does not abort before copying the data. A local attacker can trigger the flaw by requesting identity lookups that resolve to oversized cached entries. The resulting out-of-bounds write primarily causes a Denial of Service (DoS) by crashing the identity mapping service and may corrupt adjacent process memory. The weakness is classified under [CWE-787: Out-of-bounds Write].
Critical Impact
Local attackers can crash the SSSD identity mapping service and potentially corrupt adjacent process memory through oversized cached identity entries.
Affected Products
- SSSD (System Security Services Daemon) NFS idmap plugin
- Red Hat Enterprise Linux distributions shipping affected SSSD builds
- Downstream Linux distributions bundling the vulnerable sss_nfs_idmap plugin
Discovery Timeline
- 2026-10-06 - CVE-2026-104036 published to NVD
- 2026-10-06 - Last updated in NVD database
Technical Details for CVE-2026-104036
Vulnerability Analysis
The SSSD NFS idmap plugin translates numeric user and group identifiers to names and back, supporting NFSv4 identity mapping. When the plugin retrieves cached entries, it compares the entry length against the caller-supplied destination buffer. The logic detects when an entry exceeds the buffer size but continues execution and copies the data anyway. This writes past the end of the allocated buffer in the calling process.
An attacker with local access and the ability to issue identity lookups can force the plugin to return oversized cached names. The resulting memory corruption terminates the mapping service and disrupts NFSv4 identity resolution for all consumers on the host.
Root Cause
The root cause is a missing abort path after a boundary check. The plugin correctly detects the length mismatch but omits the early return that should prevent the subsequent copy operation. This pattern maps directly to [CWE-787], where a validated condition fails to gate the dangerous operation it was meant to guard.
Attack Vector
Exploitation requires local access with low privileges and no user interaction. The attacker populates or references cached identity entries larger than the buffers passed by consumers of the idmap API, then triggers lookups that return those entries. High attack complexity reflects the need to prime the cache with suitable entries and win the lookup path to the vulnerable copy. Successful exploitation crashes the identity service and may corrupt neighboring memory in the hosting process.
No public proof-of-concept exploit is available at publication time, and the issue is not listed in the CISA Known Exploited Vulnerabilities catalog.
Detection Methods for CVE-2026-104036
Indicators of Compromise
- Unexpected crashes or restarts of sssd and sssd_nss processes in system logs.
- Core dumps implicating the sss_nfs_idmap plugin or libnfsidmap callers such as rpc.idmapd.
- NFSv4 identity resolution failures correlating with local user activity performing bulk identity lookups.
Detection Strategies
- Monitor journalctl -u sssd and /var/log/sssd/ for repeated service restarts tied to idmap operations.
- Enable and review systemd-coredump output for stack traces inside the NFS idmap plugin.
- Audit local processes invoking nfs4_uid_to_name, nfs4_name_to_uid, and related libnfsidmap functions at anomalous rates.
Monitoring Recommendations
- Alert on SSSD service failures and automatic restarts exceeding normal baselines.
- Track process memory anomalies and segfaults on hosts running NFSv4 clients or servers.
- Correlate local login sessions with spikes in identity mapping errors to identify abusive callers.
How to Mitigate CVE-2026-104036
Immediate Actions Required
- Apply vendor-supplied SSSD updates as soon as they are published for your distribution.
- Restrict local shell access on systems exposing the NFS idmap plugin to trusted users only.
- Restart sssd after patching to clear any poisoned cached entries from memory.
Patch Information
Red Hat is tracking the issue under the Red Hat CVE-2026-104036 Advisory and Red Hat Bug Report #2479057. Review these references for distribution-specific fixed package versions and apply the updated SSSD packages through your standard package manager once available.
Workarounds
- Limit interactive and local access on hosts running SSSD with NFSv4 identity mapping enabled.
- Disable the NFS idmap plugin where NFSv4 name-based identity mapping is not required.
- Enforce strict resource and session controls (for example, via PAM limits) to constrain local lookup abuse until patches are deployed.
# Example: check SSSD version and restart the service after patching
rpm -q sssd
sudo systemctl restart sssd
sudo journalctl -u sssd --since "10 minutes ago"
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

