Improper authentication in pam_pkcs11 - CVE-2025-24531

 

Improper authentication in pam_pkcs11 - CVE-2025-24531

Published: March 25, 2025


Vulnerability identifier: #VU106020
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2025-24531
CWE-ID: CWE-287
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to bypass authentication process.

The vulnerability exists due to an incorrect error handling during authentication requests. A remote attacker can bypass authentication process and gain unauthorized access to the application.


Affected software

pam_pkcs11
Debian Linux
Ubuntu
libpam-pkcs11 (Ubuntu package)
pam-pkcs11 (Debian package)

How to mitigate CVE-2025-24531

Install updates from vendor's website.

pam_pkcs11 - update to 0.6.13
libpam-pkcs11 (Ubuntu package) - addressed in versions Ubuntu Pro, 0.6.11-2ubuntu0.1, 0.6.11-4ubuntu0.1, 0.6.12-2ubuntu0.24.04.1, 0.6.12-2ubuntu0.24.10.1
pam-pkcs11 (Debian package) - update to 0.6.12-1+deb12u1

External References

Related Security Bulletins