CVE-2026-124749

Overview

AI description

Automated description summarized from trusted sources.

CVE-2026-124749 is an authentication bypass vulnerability in `pam-mysql` (libpam-mysql), a Pluggable Authentication Module used to authenticate users against MySQL databases. Discovered by security researcher Andrey Vasilevsky, the flaw stems from a logical inversion of the `PAM_DISALLOW_NULL_AUTHTOK` flag at both `pam_sm_authenticate` call sites. This flag is designed to prevent passwordless logins, but due to the coding error, the module behaves permissively when an application explicitly requests that empty passwords be disallowed. As a result of this logic flip, on systems running a default OpenSSH daemon (`sshd`) configured to reject empty passwords, an unauthenticated network client can log in to any account whose database password field is set to SQL NULL (or an empty string in certain versions) by entering any arbitrary password. In these instances, the module bypasses the password comparison process entirely and grants access. To address the issue, maintainers have released updates that introduce a configurable `nullok` option, allowing the module to correctly respect the `PAM_DISALLOW_NULL_AUTHTOK` flag and enforce proper authentication boundaries.

Description
-

Social media

Hype score is a measure of social media activity compared against trending CVEs from the past 12 months. Max score 100.

Hype score

5

References

Sources include official advisories and independent security research.