Skip to main content
VulnerabilityPublished Updated

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

0
Compare

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

CVSS 4.0 base score
9.2Critical
How severe the flaw is on the 0–10 CVSS scale.
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:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 10 Feb 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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.

Affected software

ProductAffectedFixed in
Ubuntu 24.04 LTSpam-pkcs11pkg:deb/ubuntu/pam-pkcs11?arch=source&distro=nobleOther threatsAffected
  • <0.6.12-2ubuntu0.24.04.1
Fixed in
  • 0.6.12-2ubuntu0.24.04.1
Ubuntu 22.04 LTSpam-pkcs11pkg:deb/ubuntu/pam-pkcs11?arch=source&distro=jammyOther threatsAffected
  • <0.6.11-4ubuntu0.1
Fixed in
  • 0.6.11-4ubuntu0.1
Ubuntu 20.04 LTSpam-pkcs11pkg:deb/ubuntu/pam-pkcs11?arch=source&distro=focalOther threatsAffected
  • <0.6.11-2ubuntu0.1
Fixed in
  • 0.6.11-2ubuntu0.1
Ubuntu Pro 18.04 LTSpam-pkcs11pkg:deb/ubuntu/pam-pkcs11?arch=source&distro=esm-apps/bionicOther threatsAffected
  • <0.6.9-2ubuntu0.1~esm1
Fixed in
  • 0.6.9-2ubuntu0.1~esm1
Ubuntu Pro 16.04 LTSpam-pkcs11pkg:deb/ubuntu/pam-pkcs11?arch=source&distro=esm-apps/xenialOther threatsAffected
  • <0.6.8-4ubuntu0.1~esm1
Fixed in
  • 0.6.8-4ubuntu0.1~esm1

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;`.

References

Community reviews

Loading reviews…