Skip to content

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.

Original advisory / post

Unrated Pre-CVE record

pam-mysql: inverted PAM_DISALLOW_NULL_AUTHTOK gives a pre-auth authentication bypass

CVE-2026-124749 First seen on SecPulse

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.

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

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details