CVE-2025-24531 pam_pkcs11: authentication bypass in error situations
MediumCVSS 6.7
EPSS 0.23%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- UbuntuDebianRed Hat
Description
In OpenSC pam_pkcs11 before 0.6.13, pam_sm_authenticate() wrongly returns PAM_IGNORE in many error situations (such as an error triggered by a smartcard before login), allowing authentication bypass.
Upgrade path
5 packages: 5 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/pam-pkcs11(Debian 12) | < 0.6.12-1+deb12u1; = 0.6.12-1 | 0.6.12-1+deb12u1 | Fixed |
| debian/pam-pkcs11(Debian 13) | < 0.6.13-1 | 0.6.13-1 | Fixed |
| debian/pam-pkcs11(Debian 14) | < 0.6.13-1 | 0.6.13-1 | Fixed |
| opensc project pam_pkcs11 | >= 0.6.12, < 0.6.13 | 0.6.13 | Fixed |
| ubuntu/pam-pkcs11(Ubuntu 24.04) | < 0.6.12-2ubuntu0.24.04.1 | 0.6.12-2ubuntu0.24.04.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/pam-pkcs11(Debian:12) | < 0.6.12-1+deb12u1 | 0.6.12-1+deb12u1 |
| debian/pam-pkcs11(Debian:12) | = 0.6.12-1 | No fix listed |
| debian/pam-pkcs11(Debian:13) | < 0.6.13-1 | 0.6.13-1 |
| debian/pam-pkcs11(Debian:14) | < 0.6.13-1 | 0.6.13-1 |
| opensc project pam_pkcs11 | >= 0.6.12, < 0.6.13 | 0.6.13 |
| ubuntu/pam-pkcs11(Ubuntu:24.04) | < 0.6.12-2ubuntu0.24.04.1 | 0.6.12-2ubuntu0.24.04.1 |
References
- Debian Security Tracker CVE-2025-24531 vendor-advisory
- github.com
- github.com
- www.openwall.com
- www.openwall.com
- www.openwall.com
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2430414 issue-tracking
- www.cve.org
- nvd.nist.gov
- Ubuntu CVE tracker vendor-advisory
- USN-7363-1 vendor-advisory
- bugs.debian.org issue-tracking