CVE-2026-54411

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.
Configurations

No configuration.

History

10 Aug 2026, 12:17

Type Values Removed Values Added
Summary (en) 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. (en) 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.

23 Jul 2026, 11:10

Type Values Removed Values Added
Summary
  • (es) Linux-PAM hasta 1.7.2 contiene una discrepancia de tiempo observable (CWE-208) en la ruta de comparación de contraseñas en texto plano del módulo pam_userdb en modules/pam_userdb/pam_userdb.c que permite a un atacante local o adyacente a la red, capaz de impulsar repetidamente la autenticación a través de un servicio llamante, recuperar la contraseña en texto plano de una cuenta objetivo midiendo las diferencias de tiempo de respuesta. La comparación utiliza strncmp() (o strncasecmp() cuando PAM_ICASE_ARG está configurado) precedida por una verificación de igualdad de longitud, por lo que el tiempo para rechazar un candidato depende del índice del primer byte diferente y de si la longitud del candidato coincide con la contraseña almacenada, filtrando la longitud de la contraseña y los bytes de prefijo individuales. La ruta vulnerable se alcanza cuando el administrador configura pam_userdb con crypt=none, con un método crypt no reconocido, o sin un argumento crypt=, lo que hace que el módulo almacene y compare credenciales en texto plano.

14 Jun 2026, 18:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-06-14 18:17

Updated : 2026-08-10 12:17


NVD link : CVE-2026-54411

Mitre link : CVE-2026-54411

CVE.ORG link : CVE-2026-54411


JSON object : View

Products Affected

No product.

CWE
CWE-208

Observable Timing Discrepancy