CVE-2025-24032: Pam pkcs11 · PAM-PKCS#11 is a Linux-PAM login module that allows a X.509 certificate based user login
Affects pam-pkcs11Source GCVE Database
Not known to be exploited · CVSS 9.2 Critical · fixed in 0.6.8-4ubuntu0.1~esm1 : patch pam-pkcs11 as a priority.
Data as of 24 Nov 2026, 21:15 UTC
- EPSS
- 0.7% chance of exploitation in 30 days – higher than 54% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 0.6.8-4ubuntu0.1~esm1, 0.6.9-2ubuntu0.1~esm1, 0.6.11-2ubuntu0.1 +2
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:L/SC:L/SI:L/SA:LExploitation evidence
Disclosed: evidence found.
CVE published 10 Feb 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 24.04 LTSpam-pkcs11pkg:deb/ubuntu/pam-pkcs11?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 22.04 LTSpam-pkcs11pkg:deb/ubuntu/pam-pkcs11?arch=source&distro=jammyOther threats | Affected
| Fixed in
|
Ubuntu 20.04 LTSpam-pkcs11pkg:deb/ubuntu/pam-pkcs11?arch=source&distro=focalOther threats | Affected
| Fixed in
|
Ubuntu Pro 18.04 LTSpam-pkcs11pkg:deb/ubuntu/pam-pkcs11?arch=source&distro=esm-apps/bionicOther threats | Affected
| Fixed in
|
Ubuntu Pro 16.04 LTSpam-pkcs11pkg:deb/ubuntu/pam-pkcs11?arch=source&distro=esm-apps/xenialOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
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;`.