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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| OpenSC project | pam_pkcs11 | 0.6.12 – < 0.6.13 | 0.6.13 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | pam-pkcs11 | 0.6.13-1 | — |
| Debian 13 | pam-pkcs11 | 0.6.13-1 | — |
| Debian 12 | pam-pkcs11 | 0.6.12-1+deb12u1 | DSA-5864-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 24.04 LTS | pam-pkcs11 | 0.6.12-2ubuntu0.24.04.1 | USN-7363-1 |
| Ubuntu 22.04 LTS | pam-pkcs11 | 0.6.11-4ubuntu0.1 | USN-7363-1 |
| Ubuntu 20.04 LTS | pam-pkcs11 | 0.6.11-2ubuntu0.1 | USN-7363-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 18.04 LTS | pam-pkcs11 | 0.6.9-2ubuntu0.1~esm1 | USN-7363-1 |
| Ubuntu Pro 16.04 LTS | pam-pkcs11 | 0.6.8-4ubuntu0.1~esm1 | USN-7363-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLE Micro 6.1 | pam_pkcs11 | 0.6.12-slfo.1.1_3.1 | SUSE-SU-2025:20225-1 |
| SLE Micro 6.0 | pam_pkcs11 | 0.6.12-2.1 | SUSE-SU-2025:20130-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | pam_pkcs11 | 0.6.13-1.1 | openSUSE-SU-2025:14738-1 |
Advisories 6
- USN-7363-1 pam-pkcs11 vulnerabilities Ubuntu Security Notices (USN) · Jun 25, 2026
- SUSE-SU-2025:20130-1 Security update for pam_pkcs11 SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2025:20225-1 Security update for pam_pkcs11 SUSE / openSUSE Security Updates · Mar 23, 2026
- DSA-5864-1 pam-pkcs11 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2025:14738-1 pam_pkcs11-0.6.13-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2026-0141 OpenSC (pam_pkcs11): Schwachstelle ermöglicht Umgehen von Authentifizierung BSI CERT-Bund (WID) · Jan 18, 2026