CVE-2026-90995: Sssd: sssd: local denial of service due to null pointer dereference in pam responder

Published May 18, 2026
·
Updated

A flaw was found in SSSD (System Security Services Daemon). A local attacker with privileges to connect to the PAM (Pluggable Authentication Modules) responder socket can send a specially crafted protocol request. If the pamappservices configuration is enabled and the service item is omitted from the request, a NULL pointer dereference can occur. This vulnerability leads to a denial of service, causing the PAM responder to crash and disrupt authentication services.

Other sources

AIONLYREPORT package: sssd-2.12.0-1.el10 ------ Summary: Local DoS in PAM responder: NULL dereference in getdomainrequesttype() when SSSPAMITEMSERVICE is omitted: a crafted local PAM protocol v2/v3 request that omits the service item can leave pd->service as NULL and trigger a NULL dereference in the PAM responder when [pam] pamappservices is configured, causing denial of service. Requirements to exploit: Local access sufficient to connect to the PAM responder socket and send a crafted PAM protocol v2/v3 request that omits SSSPAMITEMSERVICE; the target must use a non-empty [pam] pamappservices configuration. Component affected: sssd-2.12.0-1.el10, PAM responder code in src/responder/pam/pamsrvcmd.c, specifically pamparseindatav2(), pamparseindatav3(), pamforwarder(), and getdomainrequesttype(). Version affected: sssd-2.12.0-1.el10; reachability depends on a non-empty [pam] pamappservices configuration. Patch available: no released package fix established; proposed patch included below Version fixed: unknown Upstream coordination: Not notified. CVSS: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H - 5.5 (MEDIUM) AV:L - The issue is reachable only from the local system through the PAM responder's UNIX socket. AC:L - A valid request can be crafted without unusual conditions once the protocol framing and required fields are understood. PR:L - The attacker needs local access equivalent to an unprivileged user that can submit requests to the PAM responder interface. UI:N - No user interaction is required. S:U - The crash affects the same security scope as the vulnerable responder. C:N - No confidentiality impact was established. I:N - No integrity impact was established. A:H - A successful trigger can terminate the PAM responder and block authentication requests handled through it until the service recovers. Impact: Moderate. This is an availability-only issue in a security-relevant local service, but exploitation is local and depends on a non-default yet supported pamappservices deployment. That places it below Important under Red Hat guidance, while remaining above Low because the NULL dereference condition is concrete and can be triggered with a crafted request rather than being purely theoretical. Embargo: no Reason: Current evidence supports a local, configuration-dependent denial of service with straightforward mitigation and no demonstrated confidentiality, integrity, or privilege-escalation impact. Acknowledgement: Aisle Research Vulnerability Details: In PAM protocol v2/v3 request parsing, SSSPAMITEMSERVICE is optional, so the service pointer may remain unset: c case SSSPAMITEMSERVICE: ret = extractstring(&pd->service, size, body, blen, &c); if (ret != EOK) return ret; break; The parsed request is then forwarded unconditionally into domain selection: c preq->reqdomtype = getdomainrequesttype(preq, pctx); getdomainrequesttype() compares configured application services against preq->pd->service without checking for NULL: c for (int i = 0; pctx->appservices[i]; i++) { if (strcmp(pctx->appservices[i], preq->pd->service) == 0) { reqdomtype = CACHEREQAPPLICATIONDOM; break; } } When [pam] pamappservices is non-empty and the request omits SSSPAMITEMSERVICE, the responder can reach strcmp(nonnull, NULL) and terminate with a NULL pointer dereference. The established impact from the available evidence is denial of service in the PAM responder. Relevant CWE: CWE-476 (NULL Pointer Dereference). Steps to reproduce: 1. Configure SSSD with a non-empty [pam] pamappservices value, for example pamappservices = appsvc, and restart the service. 2. Connect locally to the PAM responder socket. In standard builds this is the SSSPAMSOCKETNAME path, commonly /var/lib/sss/pipes/pam. 3. Send a valid PAM protocol v3 request with correct SSSSTARTOFPAMREQUEST / SSSENDOFPAMREQUEST framing, a supported command such as SSSPAMAUTHENTICATE, and the fields needed for parser success, including SSSPAMITEMCLIPID and a user or logon value. 4. Omit SSSPAMITEMSERVICE from the request. 5. Observe the request reach getdomainrequesttype() and dereference preq->pd->service == NULL via strcmp(), causing the PAM responder process to crash. Mitigation: Until a fix is applied, avoid configuring pamappservices where it is not operationally required. If that setting must remain enabled, limit local ability to submit raw PAM responder requests as far as deployment policy allows and monitor for PAM responder crashes. Proposed Fix: Add a NULL check before comparing preq->pd->service against entries in pctx->appservices[]. This preserves the existing application-domain selection behavior for valid service names while avoiding the NULL dereference on requests that omit SSSPAMITEMSERVICE. diff diff --git a/src/responder/pam/pamsrvcmd.c b/src/responder/pam/pamsrvcmd.c index <old>..<new> 100644 — a/src/responder/pam/pamsrvcmd.c +++ b/src/responder/pam/pamsrvcmd.c @@ -1857,8 +1857,10 @@ getdomainrequesttype(struct pamauthreq preq, / By default, only POSIX domains are to be contacted / reqdomtype = CACHEREQPOSIXDOM; for (int i = 0; pctx->appservices[i]; i++) {

if (strcmp(pctx->appservices[i], preq->pd->service) == 0) { + for (int i = 0; pctx->appservices[i]; i++) { + if (preq->pd->service != NULL + && strcmp(pctx->appservices[i], + preq->pd->service) == 0) { reqdomtype = CACHEREQAPPLICATIONDOM; break; }

------ This report was generated using AI technology. Always review AI-generated content prior to use

— Red Hat

Affected Software

1 affected component
SSSD SSSD=sssd-2.12.0-1.el10

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    Until a fix is applied, avoid configuring `pam_app_services` (leave it unset/empty) to prevent a NULL pointer dereference in the PAM responder when `SSS_PAM_ITEM_SERVICE` is omitted.

    SSSD (PAM responder) [pam] pam_app_services = (empty / do not configure)
  2. Configuration

    If `pam_app_services` is enabled, ensure the service item `SSS_PAM_ITEM_SERVICE` is included in requests; omitting it can leave `preq->pd->service` as NULL and trigger the crash.

    SSSD (PAM protocol requests to PAM responder) SSS_PAM_ITEM_SERVICE (request field inclusion) = omit
  3. Compensating control

    Limit local ability to submit raw PAM protocol v2/v3 requests to the SSSD PAM responder UNIX socket (commonly `/var/lib/sss/pipes/pam`) to reduce exposure to the local DoS trigger.

Event History

May 18, 2026
Data Sourced
via Red Hat·04:06 AM
DescriptionSeverityAffected Software
Sep 14, 2026
CVE Published
via MITRE·03:55 PM
Data Sourced
via MITRE·03:55 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which systems are exposed to this denial of service?

Exposure requires SSSD's PAM responder to be reachable by a local user or process that can connect to its socket, and a non-empty [pam] pam_app_services configuration. Systems without pam_app_services enabled are not described as affected by this condition.

2

What must an attacker send to trigger the crash?

The attacker needs to submit a crafted PAM protocol version 2 or 3 request that omits the SSS_PAM_ITEM_SERVICE item. This leaves the service field NULL and can cause the PAM responder to dereference it.

3

What is the operational impact if exploitation succeeds?

The PAM responder crashes, causing a denial of service and disrupting authentication services. The provided information describes availability impact only; it does not describe confidentiality or integrity impact.

4

What mitigation is available if an update cannot be applied immediately?

Disable or avoid a non-empty [pam] pam_app_services configuration where operationally feasible. Also restrict access to the PAM responder socket to limit which local users or processes can submit protocol requests.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203