Vulnerability · Published Jan 16, 2026 · Assigned by mitre
CVE-2025-24531
Medium 6.7
In plain English
A medium-severity security flaw in pam_pkcs11 from OpenSC project. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 14% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)6.7Medium
Exploit odds (30 days)0.2%top 86.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | pam-pkcs11 | 0.6.12-1+deb12u1 | DEBIAN-CVE-2025-24531 |
| Debian:12 | pam-pkcs11 | 0.6.12-1+deb12u1 | DSA-5864-1 |
| Debian:13 | pam-pkcs11 | 0.6.13-1 | DEBIAN-CVE-2025-24531 |
| Debian:14 | pam-pkcs11 | 0.6.13-1 | DEBIAN-CVE-2025-24531 |
| Ubuntu:22.04:LTS | pam-pkcs11 | 0.6.11-4ubuntu0.1 | USN-7363-1 |
| Ubuntu:24.04:LTS | pam-pkcs11 | 0.6.12-2ubuntu0.24.04.1 | USN-7363-1 |
| Ubuntu:24.04:LTS | pam-pkcs11 | 0.6.12-2ubuntu0.24.04.1 | UBUNTU-CVE-2025-24531 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| OpenSC project | pam_pkcs11 | 0.6.12 – before 0.6.13 |
Weakness: CWE-393 · Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N