The official CVE record is not published yet
Listed from a security news or mailing-list post. Details may change. It will be replaced with the CVE.org / NVD record once published.
pam-mysql: inverted PAM_DISALLOW_NULL_AUTHTOK gives a pre-auth authentication bypass
Summary
Posted by Andrey Vasilevsky on Nov 19Hello, pam-MySQL (libpam-mysql, src:pam-mysql) inverts PAM_DISALLOW_NULL_AUTHTOK at both pam_sm_authenticate call sites, so an application that asks PAM to refuse passwordless accounts gets the permissive behaviour instead. On a stock sshd, an unauthenticated net...
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-124749 pam-mysql Fix available
- Ubuntu UBUNTU-CVE-2026-124749 pam-mysql No fixed version in this record
Original description The description as published by the source.
Posted by Andrey Vasilevsky on Nov 19Hello, pam-MySQL (libpam-mysql, src:pam-mysql) inverts PAM_DISALLOW_NULL_AUTHTOK at both pam_sm_authenticate call sites, so an application that asks PAM to refuse passwordless accounts gets the permissive behaviour instead. On a stock sshd, an unauthenticated network client authenticates as any account whose stored password column is SQL NULL, using any password. The supplied password is never compared on that branch. CVE-2026-124749, assigned...
(oss-security (Openwall): CVE-2026-124749: pam-mysql: inverted PAM_DISALLOW_NULL_AUTHTOK gives a pre-auth authentication bypass)
Source: oss-security (Openwall) NVD