CVE-2026-68742: Sssd: sssd: nss responder out-of-bounds read via unchecked addrlen in gethostbyaddr

Published Jul 31, 2026
·
Updated

A flaw was found in SSSD. The sssnssprotocolparseaddr() function in the NSS responder (src/responder/nss/nssprotocol.c) extracts a 32-bit addrlen value from the client request but only validates that the body is at least 8 bytes, without checking that addrlen fits within the remaining packet body. This unvalidated length is passed through to tallocmemdup() in cachereqdatacreate(), which copies addrlen bytes from the small request buffer, causing a heap-buffer-overflow read. A local attacker can trigger this by connecting to the world-writable NSS responder socket (/var/lib/sss/pipes/nss) and sending a SSSNSSGETHOSTBYADDR (0x0053) request with a large addrlen value and a valid address family payload so that inetntop() succeeds. Successful exploitation crashes the sssdnss responder, causing a denial of service for NSS name resolution. Reported via PSIRTSUPT-20553 by BreachX Zero Day Labs.

Other sources

A flaw was found in SSSD. The sssnssprotocolparseaddr() function in the NSS responder does not validate the addrlen field against the remaining packet body size. A local attacker can exploit this via a crafted GETHOSTBYADDR request to the NSS responder socket, causing an out-of-bounds read and process crash, resulting in a denial of service.

MITRE

Affected Software

1 affected component
SSSD SSSD (sssd_nss responder)

Event History

Jul 31, 2026
Data Sourced
via Red Hat·12:31 PM
DescriptionSeverityAffected Software
Aug 3, 2026
CVE Published
via MITRE·09:53 AM
Data Sourced
via MITRE·09:53 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:16 AM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-68742?

The severity of CVE-2026-68742 is rated as medium with a score of 5.5.

2

How do I fix CVE-2026-68742?

To fix CVE-2026-68742, update SSSD to the latest version that contains the security patch addressing the out-of-bounds read.

3

What impact does CVE-2026-68742 have on my system?

CVE-2026-68742 can lead to an out-of-bounds read, which may result in application crashes or unexpected behavior in the NSS responder.

4

Which software is affected by CVE-2026-68742?

CVE-2026-68742 affects the SSSD, specifically the sssd_nss responder component.

5

How is the out-of-bounds read in CVE-2026-68742 triggered?

The out-of-bounds read in CVE-2026-68742 is triggered via an unchecked addrlen value extracted from a client request in the sss_nss_protocol_parse_addr() function.

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