Back to overview

CVE-2026-54411

MEDIUM
5.9
CVSS 3.1
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.

Metadata

CVE ID
CVE-2026-54411
State
PUBLISHED
Assigner
TuranSec
Reserved
2026-06-13 16:39 UTC
Published
2026-06-14 17:21 UTC
Last updated
2026-06-14 17:21 UTC
Primary CWE
CWE-208
CWE-208 Observable Timing Discrepancy
Vendor / Product
Linux-PAM / Linux-PAM
Sources
cve.org  ·  NVD

Severity & Metrics

5.9 MEDIUM CVSS 3.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Affected products (1)
VendorProductPlatformVersions
Linux-PAM Linux-PAM 0 ≤ 1.7.2
Weakness (CWE)
CWESourceDescription
CWE-208 cna CWE-208 Observable Timing Discrepancy
CVSS scores (2)
ScoreSeverityVersionSourceVector
6.9 MEDIUM 4.0 cna 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
5.9 MEDIUM 3.1 cna CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
References (4)
Back to overview