CVE-2025-24531: pam_pkcs11: Possible Authentication Bypass in Error Situations (CVE-2025-24531)
In OpenSC pampkcs11 before 0.6.13, pamsmauthenticate() wrongly returns PAMIGNORE in many error situations (such as an error triggered by a smartcard before login), allowing authentication bypass.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/pam-pkcs11to a version that resolves this vulnerability.Fixed in 0.6.12-1+deb12u1 - Upgrade
Upgrade
debian/pam-pkcs11to a version that resolves this vulnerability.Fixed in 0.6.13-1 - Upgrade
Upgrade
debian/pam-pkcs11to a version that resolves this vulnerability.Fixed in 0.6.12-1+deb12u1Fixed in 0.6.13-1
Event History
Frequently Asked Questions
What is the severity of CVE-2025-24531?
CVE-2025-24531 is classified as a high severity vulnerability due to its potential for authentication bypass.
How do I fix CVE-2025-24531?
To fix CVE-2025-24531, upgrade to at least version 0.6.11-4 or later of the pam-pkcs11 package.
What software is affected by CVE-2025-24531?
CVE-2025-24531 affects the pam_pkcs11 package, specifically versions prior to 0.6.11-4.
What type of vulnerability is CVE-2025-24531?
CVE-2025-24531 is an authentication bypass vulnerability that can occur during error handling.
When was CVE-2025-24531 disclosed?
CVE-2025-24531 was disclosed on March 20, 2025.