CVE catalog

CVE-2025-24031

pam-pkcs11: CVE-2025-24031

[CVE catalog]

Severity
Low · CVSS 3.3CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
Published
Source
[NVD] · [CVE record]
EPSS
0.14% · Oct 27, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianpam-pkcs11sid0.6.14-1vulnerable
Debianpam-pkcs11forky0.6.14-1vulnerable
Debianpam-pkcs11trixie0.6.13-1vulnerable
Debianpam-pkcs11bookworm0.6.12-1+deb12u1vulnerable
Debianpam-pkcs11bookworm-security0.6.12-1+deb12u1vulnerable
Susepam_pkcs11linux micro 6.00.6.12-3.1fixed
Susepam_pkcs11linux enterprise module for basesystem 15 sp60.6.10-150600.16.3.1fixed
Opensusepam_pkcs11leap 15.60.6.10-150600.16.3.1fixed
Susepam_pkcs11linux enterprise micro 5.30.6.10-150100.3.6.1fixed
Susepam_pkcs11linux enterprise micro 5.40.6.10-150100.3.6.1fixed
Susepam_pkcs11linux enterprise micro 5.50.6.10-150100.3.6.1fixed
Susepam_pkcs11linux enterprise micro 5.10.6.10-150100.3.6.1fixed
Susepam_pkcs11linux enterprise micro 5.20.6.10-150100.3.6.1fixed
Susepam_pkcs11linux enterprise server ltss extended security 12 sp50.6.8-7.8.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianpam-pkcs11sourcesid(unfixed)unimportantNot reportedNot reported
Debianpam-pkcs11sourceforky(unfixed)unimportantNot reportedNot reported
Debianpam-pkcs11sourcetrixie(unfixed)unimportantNot reportedNot reported
Debianpam-pkcs11sourcebookworm(unfixed)unimportantNot reportedNot reported
Susepam_pkcs11rpmlinux micro 6.00.6.12-3.1Not reportedSUSE-SU-2025:20199-1Not reported
Susepam_pkcs11rpmlinux enterprise module for basesystem 15 sp60.6.10-150600.16.3.1Not reportedSUSE-SU-2025:0689-1Not reported
Opensusepam_pkcs11rpmleap 15.60.6.10-150600.16.3.1Not reportedSUSE-SU-2025:0689-1Not reported
Susepam_pkcs11rpmlinux enterprise micro 5.30.6.10-150100.3.6.1Not reportedSUSE-SU-2025:0712-1Not reported
Susepam_pkcs11rpmlinux enterprise micro 5.40.6.10-150100.3.6.1Not reportedSUSE-SU-2025:0712-1Not reported
Susepam_pkcs11rpmlinux enterprise micro 5.50.6.10-150100.3.6.1Not reportedSUSE-SU-2025:0712-1Not reported
Susepam_pkcs11rpmlinux enterprise micro 5.10.6.10-150100.3.6.1Not reportedSUSE-SU-2025:0712-1Not reported
Susepam_pkcs11rpmlinux enterprise micro 5.20.6.10-150100.3.6.1Not reportedSUSE-SU-2025:0712-1Not reported
Susepam_pkcs11rpmlinux enterprise server ltss extended security 12 sp50.6.8-7.8.1Not reportedSUSE-SU-2025:0688-1Not reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [libpam-pkcs11]Affected

    Source package: [pam-pkcs11]

    Details (4)
    • 0.6.12-1+deb12u1 · amd64 · bookworm

      Affected

      dsa · pam-pkcs11 · debian · bookworm; dsa · pam-pkcs11 · debian · 12

    • 0.6.12-1+deb12u1 · arm64 · bookworm

      Affected

      dsa · pam-pkcs11 · debian · bookworm; dsa · pam-pkcs11 · debian · 12

    • 0.6.12-1+deb12u1 · amd64 · bookworm-security

      Affected

      dsa · pam-pkcs11 · debian · bookworm; dsa · pam-pkcs11 · debian · 12

    • 0.6.12-1+deb12u1 · arm64 · bookworm-security

      Affected

      dsa · pam-pkcs11 · debian · bookworm; dsa · pam-pkcs11 · debian · 12

[Debian 13 (Trixie)]

  • [libpam-pkcs11]Affected

    Source package: [pam-pkcs11]

    Details (2)
    • 0.6.13-1 · amd64 · trixie

      Affected

      dsa · pam-pkcs11 · debian · 13

    • 0.6.13-1 · arm64 · trixie

      Affected

      dsa · pam-pkcs11 · debian · 13

Observed:

References