Bug 2572658

Summary: CVE-2026-127101 sssd: sssd: NULL pointer dereference in PAM responder when protocol version negotiation is skipped [fedora-all]
Product: [Fedora] Fedora Reporter: Samuele Negrini <snegrini>
Component: sssdAssignee: sssd-maintainers <sssd-maintainers>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: abokovoy, atikhono, lslebodn, pbrezina, sbose, ssorce, sssd-maintainers
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["327f5d1c-44ce-41e9-a032-21c9630133ef"]}
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2572592    

Description Samuele Negrini 2026-11-12 16:41:36 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

A flaw was found in SSSD. In src/responder/pam/pamsrv_cmd.c, pam_forwarder_parse_data() dereferences prctx->cli_protocol_version->version without first checking whether the client negotiated a protocol version with SSS_GET_VERSION. The pointer is initialized to NULL at connection setup and is only populated during version negotiation. A local user able to connect to the PAM responder socket can send a PAM command before SSS_GET_VERSION, causing a NULL pointer dereference and terminating sssd_pam. Repeated requests can sustain denial of SSSD-backed authentication. The review describes a header-only 16-byte request reaching the vulnerable switch. The maintainer confirmed that recent versions do not initialize a non-NULL default and that rejecting requests when cli_protocol_version is NULL is a valid fix. A possible similar issue in sudosrv_cmd() was noted by the maintainer but is not established as part of this flaw. This is distinct from CVE-2026-90995 (missing service item in get_domain_request_type()) and CVE-2026-104042 (zero-length authentication token out-of-bounds read). Source: PSIRTSUPT-25890, finding H-09; security review dated 2026-10-21 and maintainer assessment.