Story

In the news · 1 source · first seen 4d ago · oss-security
CVE-2026-124749: pam-mysql: inverted PAM_DISALLOW_NULL_AUTHTOK gives a pre-auth authentication bypass

Posted by Andrey Vasilevsky on Nov 19 Hello, 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 ne

Briefing

Written from the coverage below · deepseek-v4.1-flash

pam-mysql inverts PAM_DISALLOW_NULL_AUTHTOK at both pam_sm_authenticate call sites, so applications requesting that PAM refuse passwordless accounts instead get permissive behavior. On a stock sshd, an unauthenticated client can log in as any account whose stored password column is SQL NULL using any password.

Why it mattersAny service using pam-mysql for authentication, especially SSH, may allow unauthenticated login to accounts with NULL password columns.

ActionQuery MySQL-backed accounts for NULL password values, remediate them, and apply the pam-mysql fix when released.

Coverage

1 article