CVE-2025-24032: opensc pam_pkcs11 Improper Authentication
Vulnerability summary
CVE-2025-24032 is a critical (CVSS 9.2) Improper Authentication vulnerability in opensc pam_pkcs11. EPSS estimates a 0.71% chance of exploitation in the next 30 days, higher than 52.7% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 7 · Related 6Timeline
- 10-02-2025PublishedVulnerability first disclosed.
- 21-05-2025Last modifiedVulnerability information updated.
Description
PAM-PKCS#11 is a Linux-PAM login module that allows a X.509 certificate based user login. Prior to version 0.6.13, if cert_policy is set to none (the default value), then pam_pkcs11 will only check if the user is capable of logging into the token. An attacker may create a different token with the user's public data (e.g. the user's certificate) and a PIN known to the attacker. If no signature with the private key is required, then the attacker may now login as user with that created token. The default to *not* check the private key's signature has been changed with commit commi6638576892b59a99389043c90a1e7dd4d783b921, so that all versions starting with pam_pkcs11-0.6.0 should be affected. As a workaround, in `pam_pkcs11.conf`, set at least `cert_policy = signature;`.
CVSS metrics
4 scores · 4 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated9.2CriticalCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:L/SC:L/SI:L/SA:L
- OSV · DebianEcosystem advisory · calculated9.2CriticalCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:L/SC:L/SI:L/SA:L/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- NVDNIST9.2CriticalCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:L/SC:L/SI:L/SA:L/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS trend
Probability
0.71%
Chance of exploitation in the next 30 days
Percentile
53%
Versus all other CVEs
30-day change
0.00 pp
From 0.71% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Debian1 product
- pam-pkcs11< 0.6.12-1+deb12u1 | < 0.6.13-1 | < 0.6.11-4+deb11u1
Opensc1 product
- pam_pkcs11< 0.6.13
Ubuntu1 product
- pam-pkcs11< 0.6.8-4ubuntu0.1~esm1 | < 0.6.9-2ubuntu0.1~esm1 | < 0.6.11-2ubuntu0.1 | < 0.6.11-4ubuntu0.1 | < 0.6.12-2ubuntu0.24.04.1
3 vendors · 3 products
References
12 links- github.com/OpenSC/pam_pkcs11/security/advisories/GHSA-8r8p-7mgp-vf56X Refsource CONFIRM
- github.com/OpenSC/pam_pkcs11/releases/tag/pam_pkcs11-0.6.13X Refsource MISC