Skip to main content
VulnerabilityPublished Updated

CVE-2025-24031: 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 5.1 Medium.

Data as of 24 Nov 2026, 21:15 UTC

CVSS 4.0 base score
5.1Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.1% chance of exploitation in 30 days – higher than 3% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:N/SI:N/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

Affected software

ProductAffectedFixed in
Ubuntu 26.10pam-pkcs11pkg:deb/ubuntu/pam-pkcs11?arch=source&distro=stonkingOther threatsAffected
  • =0.6.13-1build1
  • =0.6.13-2
  • =0.6.13-2ubuntu1
Fixed in–
Ubuntu 26.04 LTSpam-pkcs11pkg:deb/ubuntu/pam-pkcs11?arch=source&distro=resoluteOther threatsAffected
  • =0.6.13-1
  • =0.6.13-1build1
Fixed in–
Ubuntu 25.10pam-pkcs11pkg:deb/ubuntu/pam-pkcs11?arch=source&distro=questingOther threatsAffected
  • =0.6.13-1
Fixed in–
Ubuntu 24.04 LTSpam-pkcs11pkg:deb/ubuntu/pam-pkcs11?arch=source&distro=nobleOther threatsAffected
  • 0.6.12-1 – 0.6.12-2ubuntu0.24.04.1
5 affected builds
Fixed in–
Ubuntu 22.04 LTSpam-pkcs11pkg:deb/ubuntu/pam-pkcs11?arch=source&distro=jammyOther threatsAffected
  • =0.6.11-4build1
  • =0.6.11-4build2
  • =0.6.11-4ubuntu0.1
Fixed in–
Ubuntu 20.04 LTSpam-pkcs11pkg:deb/ubuntu/pam-pkcs11?arch=source&distro=focalOther threatsAffected
  • =0.6.11-2
  • =0.6.11-2ubuntu0.1
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. In versions 0.6.12 and prior, the pam_pkcs11 module segfaults when a user presses ctrl-c/ctrl-d when they are asked for a PIN. When a user enters no PIN at all, `pam_get_pwd` will never initialize the password buffer pointer and as such `cleanse` will try to dereference an uninitialized pointer. On my system this pointer happens to have the value 3 most of the time when running sudo and as such it will segfault. The most likely impact to a system affected by this issue is an availability impact due to a daemon that uses PAM crashing. As of time of publication, a patch for the issue is unavailable.

References

Community reviews

Loading reviews…