Home / OpenSC / pam_pkcs11 / CVE-2025-24032
CVE-2025-24032: is it exploited, and which versions of OpenSC pam_pkcs11 are affected and fixed?
CVE-2025-24032 is an authentication bypass (improper authentication) vulnerability in OpenSC pam_pkcs11. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 14:08 UTC). Affected: pam_pkcs11 < 0.6.13 (CVE record by GitHub_M). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Critical (9.2, CVSS 4.0, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 14:08 UTC, CVE record November 19, 2026, 07:10 UTC and NVD November 19, 2026, 07:23 UTC.
What is CVE-2025-24032?
PAM-PKCS#11 vulnerable to authentication bypass with default value for `cert_policy` (`none`)
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;`.
From the CVE record by GitHub_M, last updated May 21, 2025, 15:48 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| OpenSC | pam_pkcs11 | < 0.6.13 |
As the CVE record by GitHub_M states it, last updated May 21, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2025-24032?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.2 | CVSS 4.0 | 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 | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-24032 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: total (CISA ADP, February 10, 2025)
- EPSS
- 0.71% probability of exploitation activity in the next 30 days, percentile 54.7 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-287 Improper Authentication
Where are the vendor advisories and references?
- https://github.com/OpenSC/pam_pkcs11/security/advisories/GHSA-8r8p-7mgp-vf56 x_refsource_CONFIRM
- https://github.com/OpenSC/pam_pkcs11/commit/470263258d1ac59c5eade439c4d9caba0097e6e6 x_refsource_MISC
- https://github.com/OpenSC/pam_pkcs11/commit/b665b287ff955bbbd9539252ff9f9e2754c3fb48 x_refsource_MISC
- https://github.com/OpenSC/pam_pkcs11/commit/d9530167966a77115db6e885d459382a2e52ee9e x_refsource_MISC
- https://github.com/OpenSC/pam_pkcs11/releases/tag/pam_pkcs11-0.6.13 x_refsource_MISC
- https://lists.debian.org/debian-lts-announce/2025/02/msg00021.html
- https://www.vicarius.io/vsociety/posts/cve-2025-24032-detect-vulnerability-in-linux-pam-module
- https://www.vicarius.io/vsociety/posts/cve-2025-24032-mitigate-linux-pam-module-vulnerability
When was it published, and where is the official record?
- Reserved
- January 16, 2025
- Published
- February 10, 2025, 15:43 UTC
- CVE record updated
- May 21, 2025, 15:48 UTC by GitHub_M
- NVD
- Deferred, last modified June 17, 2026, 08:57 UTC
- Last checked
- CVE list November 19, 2026, 07:10 UTC; NVD November 19, 2026, 07:23 UTC; KEV December 3, 2026, 14:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect pam_pkcs11?
- Feb 10, 2025CVE-2025-24031 OpenSC pam_pkcs11: NULL pointer dereference (crash)
Questions about CVE-2025-24032
Is CVE-2025-24032 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 14:08 UTC. FIRST's EPSS gives it a 0.71% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of OpenSC pam_pkcs11 are affected by CVE-2025-24032?
pam_pkcs11 < 0.6.13, per the CVE record by GitHub_M. The tables above give every range the sources list.
Which version fixes CVE-2025-24032?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2025-24032?
Critical (9.2, CVSS 4.0, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2025-24032?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.