CVE-2026-54411: Medium severity Linux-PAM Linux-PAM vulnerability
Linux-PAM through 1.7.2 contains an observable timing discrepancy (CWE-208) in the pamuserdb module's plaintext-password comparison path in modules/pamuserdb/pamuserdb.c that allows a local or network-adjacent attacker able to repeatedly drive authentication through a calling service to recover the plaintext password of a target account by measuring response-timing differences. The comparison uses strncmp() (or strncasecmp() when PAMICASEARG is set) preceded by a length-equality check, so the time to reject a candidate depends on the index of the first differing byte and on whether the candidate's length matches the stored password, leaking the password length and individual prefix bytes. The vulnerable path is reached when the administrator configures pamuserdb with crypt=none, with an unrecognized crypt method, or without a crypt= argument, causing the module to store and compare credentials in plaintext.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Linux-PAMto a version that resolves this vulnerability.Fixed in 1.7.2 - Configuration
Avoid plaintext handling in pam_userdb: ensure pam_userdb is configured with a recognized crypt= method (do not configure crypt=none, do not leave crypt unspecified, and do not rely on an unrecognized crypt method), so the module does not store and compare credentials in plaintext.
pam_userdb (modules/pam_userdb/pam_userdb.c) crypt = not none (use a recognized crypt method / provide a crypt= argument)
Event History
Frequently Asked Questions
What is the severity of CVE-2026-54411?
CVE-2026-54411 has a medium severity rating of 5.9.
How does CVE-2026-54411 affect Linux-PAM?
CVE-2026-54411 introduces a timing discrepancy in the pam_userdb module's plaintext-password comparison, which can be exploited by attackers.
What is the risk associated with CVE-2026-54411?
The risk associated with CVE-2026-54411 is rated at 35, suggesting a moderate level of concern for systems using the affected software.
How do I mitigate CVE-2026-54411?
To mitigate CVE-2026-54411, update to a patched version of Linux-PAM that resolves the observed timing discrepancy.
Who is affected by CVE-2026-54411?
Users and administrators of Linux-PAM versions prior to 1.7.2 are potentially affected by CVE-2026-54411.