Description
Linux-PAM through 1.7.2 contains an observable timing discrepancy (CWE-208) in the pam_userdb module's plaintext-password comparison path in modules/pam_userdb/pam_userdb.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.
Published: 2026-06-14
Score: 6.9 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Linux‑PAM versions through 1.7.2 contain a timing side‑channel in the pam_userdb module’s plaintext password comparison routine. An attacker who can repeatedly trigger authentication via a calling service can measure the time it takes for the comparison to complete and use statistical analysis to reconstruct the full cleartext password. The flaw is identified as CWE‑208 and provides a direct path to password disclosure without requiring privilege escalation.

Affected Systems

Any Linux system running Linux‑PAM 1.7.2 or earlier and that incorporates the pam_userdb module in its PAM stack is affected. Services that rely on pam_userdb for user authentication, such as sshd, sudo, or other PAM‑enabled programs, will expose the plaintext credential to an attacker with access to the authentication interface.

Risk and Exploitability

The CVSS base score of 6.9 indicates moderate severity. The EPSS score is less than 1%, showing very low current exploitation probability, and the vulnerability is not listed in the CISA KEV catalog. Nonetheless, an attacker who can repeatedly initiate authentication—for example, a local user or someone with network‑adjacent access—can exploit the timing discrepancy to reconstruct the target user’s password. No privileged escalation is required, but the resulting password disclosure can lead to further compromise of the account or systems.

Generated by OpenCVE AI on August 10, 2026 at 23:44 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Linux‑PAM to a version newer than 1.7.2 where the pam_userdb timing issue has been fixed.
  • If an upgrade cannot be performed immediately, restrict the attack surface by limiting access to services that use pam_userdb to trusted hosts or by applying network segmentation and firewall rules to reduce the ability of an adversary to repeatedly trigger authentication.
  • Implement rate‑limiting or brute‑force protection on authentication endpoints to make timing measurements harder to perform.

Generated by OpenCVE AI on August 10, 2026 at 23:44 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Ubuntu USN Ubuntu USN USN-8601-1 PAM vulnerability
History

Mon, 10 Aug 2026 12:00:00 +0000

Type Values Removed Values Added
Description Linux-PAM through 1.7.2 contains an observable timing discrepancy (CWE-208) in the pam_userdb module's plaintext-password comparison path in modules/pam_userdb/pam_userdb.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 PAM_ICASE_ARG 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 pam_userdb with crypt=none, with an unrecognized crypt method, or without a crypt= argument, causing the module to store and compare credentials in plaintext. Linux-PAM through 1.7.2 contains an observable timing discrepancy (CWE-208) in the pam_userdb module's plaintext-password comparison path in modules/pam_userdb/pam_userdb.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.
Title Linux-PAM pam_userdb - Observable Timing Discrepancy in Plaintext Password Comparison Linux-PAM pam_userdb Observable Timing Discrepancy in Plaintext Password Comparison

Mon, 10 Aug 2026 11:45:00 +0000

Type Values Removed Values Added
Title Linux-PAM pam_userdb Observable Timing Discrepancy in Plaintext Password Comparison Linux-PAM pam_userdb - Observable Timing Discrepancy in Plaintext Password Comparison

Wed, 05 Aug 2026 13:45:00 +0000

Type Values Removed Values Added
Title linux-pam: From CVEorg collector Linux-PAM pam_userdb Observable Timing Discrepancy in Plaintext Password Comparison

Wed, 17 Jun 2026 05:15:00 +0000

Type Values Removed Values Added
Title Timing Attack Enables Password Reconstruction in Linux-PAM pam_userdb linux-pam: From CVEorg collector
References
Metrics threat_severity

None

threat_severity

Moderate


Mon, 15 Jun 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Sun, 14 Jun 2026 19:15:00 +0000

Type Values Removed Values Added
Title Timing Attack Enables Password Reconstruction in Linux-PAM pam_userdb

Sun, 14 Jun 2026 18:45:00 +0000

Type Values Removed Values Added
First Time appeared Linux-pam
Linux-pam linux-pam
Vendors & Products Linux-pam
Linux-pam linux-pam

Sun, 14 Jun 2026 17:30:00 +0000

Type Values Removed Values Added
Description Linux-PAM through 1.7.2 contains an observable timing discrepancy (CWE-208) in the pam_userdb module's plaintext-password comparison path in modules/pam_userdb/pam_userdb.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 PAM_ICASE_ARG 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 pam_userdb with crypt=none, with an unrecognized crypt method, or without a crypt= argument, causing the module to store and compare credentials in plaintext.
Weaknesses CWE-208
References
Metrics cvssV3_1

{'score': 5.9, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N'}

cvssV4_0

{'score': 6.9, 'vector': 'CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:P/AU:N/V:D'}


Subscriptions

Linux-pam Linux-pam
cve-icon MITRE

Status: PUBLISHED

Assigner: TuranSec

Published:

Updated: 2026-08-10T11:43:56.355Z

Reserved: 2026-06-13T16:39:46.122Z

Link: CVE-2026-54411

cve-icon Vulnrichment

Updated: 2026-06-15T16:59:29.063Z

cve-icon NVD

Status : Deferred

Published: 2026-06-14T18:17:20.587

Modified: 2026-08-10T12:17:17.103

Link: CVE-2026-54411

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-06-14T17:21:43Z

Links: CVE-2026-54411 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-10T23:45:04Z

Weaknesses
  • CWE-208

    Observable Timing Discrepancy