Skip to content
Fencer Vulns
critical 9.2

CVE-2025-24032 json

PAM-PKCS#11 vulnerable to authentication bypass with default value for `cert_policy` (`none`)

published 2025-02-10 20 mo ago modified 2026-06-17 4 mo ago also EUVD-2025-3602

cvss
9.2
version 4.0, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.7%
EPSS 0.7% chance of exploitation in 30 days, percentile 53%
public exploits
0
none known

Summary

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

Patch / fix

  • pam-pkcs11 Debian 12 0.6.12-1+deb12u1
  • pam-pkcs11 Debian 14, Debian 13 0.6.13-1

debian advisories DEBIAN-CVE-2025-24032

  • pam-pkcs11 Ubuntu 20.04 LTS 0.6.11-2ubuntu0.1
  • pam-pkcs11 Ubuntu 22.04 LTS 0.6.11-4ubuntu0.1
  • pam-pkcs11 Ubuntu 24.04 LTS 0.6.12-2ubuntu0.24.04.1
  • pam-pkcs11 Ubuntu Pro 16.04 LTS 0.6.8-4ubuntu0.1~esm1
  • pam-pkcs11 Ubuntu Pro 18.04 LTS 0.6.9-2ubuntu0.1~esm1

ubuntu advisories UBUNTU-CVE-2025-24032

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • pam_pkcs11 Linux Micro 6.0 0.6.12-3.1
  • pam_pkcs11 SLE Micro 5.5, SLE Micro 5.4, SLE Micro 5.3 +2 more 0.6.10-150100.3.6.1
  • pam_pkcs11 SLE Module for Basesystem 15 SP6, openSUSE Leap 15.6 0.6.10-150600.16.3.1
  • pam_pkcs11 SLES LTSS Extended Security 12 SP5 0.6.8-7.8.1

suse advisories SUSE-SU-2025:20199-1SUSE-SU-2025:0712-1SUSE-SU-2025:0689-1SUSE-SU-2025:0688-1

  • pam_pkcs11 openSUSE Tumbleweed 0.6.13-1.1

opensuse advisories openSUSE-SU-2025:14738-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2025-24032 updated cvss 8.0

pam_pkcs11: PAM-PKCS#11 vulnerable to authentication bypass with default value for `cert_policy` (`none`)

  • Red Hat Enterprise Linux 6 pam_pkcs11 Red Hat Enterprise Linux 7 pam_pkcs11
    affected: workaround, no fix planned “Restrict the cert_policy value to `signature` in the pam_pkcs11.conf configuration file (`cert_policy = signature`).”

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
yes
Technical impact
total
Assessed
20 mo ago

Exploit prediction

0.71% chance of exploitation in the next 30 days, higher than 53% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 4.0 9.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
CNA 4.0 9.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/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

Affected products

  • OpenSC pam_pkcs11

Classification

Weakness

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.