CVE-2025-24032
published critical CVSS 4.0 · 9.2PAM-PKCS#11 vulnerable to authentication bypass with default value for `cert_policy` (`none`)
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| OpenSC | — | pam_pkcs11< 0.6.13 | Affected | Not stated | GitHub_M |
| Amazon Linux | AL2 | Release evaluation | No Fix Planned | Not stated | Amazon Linux assessment |
| SUSE / openSUSE | SLE-12-SP5 | pam_pkcs11x86_64 | Advisory build | 0.6.8-7.8.1 | SUSE-SU-2025:0688-1 |
| Debian | bookworm | pam-pkcs11 | Advisory build | 0.6.12-1+deb12u1 | DSA-5864-1 |
| Ubuntu | bionic | libpam-pkcs11 | Advisory build | 0.6.9-2ubuntu0.1~esm1 | USN-7363-1 |
| SUSE / openSUSE | SLE-15-SP6 | pam_pkcs11aarch64 | Advisory build | 0.6.10-150600.16.3.1 | SUSE-SU-2025:0689-1 |
| SUSE / openSUSE | SLE-15-SP6 | pam_pkcs11ppc64le | Advisory build | 0.6.10-150600.16.3.1 | SUSE-SU-2025:0689-1 |
| SUSE / openSUSE | SLE-15-SP6 | pam_pkcs11s390x | Advisory build | 0.6.10-150600.16.3.1 | SUSE-SU-2025:0689-1 |
Show 31 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-15-SP6 | pam_pkcs11x86_64 | Advisory build | 0.6.10-150600.16.3.1 | SUSE-SU-2025:0689-1 |
| SUSE / openSUSE | SLE-5 | pam_pkcs11aarch64 | Advisory build | 0.6.10-150100.3.6.1 | SUSE-SU-2025:0712-1 |
| SUSE / openSUSE | SLE-5 | pam_pkcs11ppc64le | Advisory build | 0.6.10-150100.3.6.1 | SUSE-SU-2025:0712-1 |
| SUSE / openSUSE | SLE-5 | pam_pkcs11s390x | Advisory build | 0.6.10-150100.3.6.1 | SUSE-SU-2025:0712-1 |
| SUSE / openSUSE | SLE-5 | pam_pkcs11x86_64 | Advisory build | 0.6.10-150100.3.6.1 | SUSE-SU-2025:0712-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | pam_pkcs11aarch64 | Advisory build | 0.6.10-150600.16.3.1 | SUSE-SU-2025:0689-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | pam_pkcs11ppc64le | Advisory build | 0.6.10-150600.16.3.1 | SUSE-SU-2025:0689-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | pam_pkcs11s390x | Advisory build | 0.6.10-150600.16.3.1 | SUSE-SU-2025:0689-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | pam_pkcs11x86_64 | Advisory build | 0.6.10-150600.16.3.1 | SUSE-SU-2025:0689-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | pam_pkcs11aarch64 | Advisory build | 0.6.13-1.1 | OPENSUSE-SU-2025:14738-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | pam_pkcs11ppc64le | Advisory build | 0.6.13-1.1 | OPENSUSE-SU-2025:14738-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | pam_pkcs11s390x | Advisory build | 0.6.13-1.1 | OPENSUSE-SU-2025:14738-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | pam_pkcs11x86_64 | Advisory build | 0.6.13-1.1 | OPENSUSE-SU-2025:14738-1 |
| Debian | bullseye | pam-pkcs11 | Advisory build | 0.6.11-4+deb11u1 | DLA-4058-1 |
| SUSE / openSUSE | SLE-12-SP5 | pam_pkcs11-32bitx86_64 | Advisory build | 0.6.8-7.8.1 | SUSE-SU-2025:0688-1 |
| SUSE / openSUSE | SLE-15-SP6 | pam_pkcs11-32bitx86_64 | Advisory build | 0.6.10-150600.16.3.1 | SUSE-SU-2025:0689-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | pam_pkcs11-32bitx86_64 | Advisory build | 0.6.10-150600.16.3.1 | SUSE-SU-2025:0689-1 |
| SUSE / openSUSE | openSUSE-Leap-15.6 | pam_pkcs11-devel-docnoarch | Advisory build | 0.6.10-150600.16.3.1 | SUSE-SU-2025:0689-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | pam_pkcs11-devel-docaarch64 | Advisory build | 0.6.13-1.1 | OPENSUSE-SU-2025:14738-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | pam_pkcs11-devel-docppc64le | Advisory build | 0.6.13-1.1 | OPENSUSE-SU-2025:14738-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | pam_pkcs11-devel-docs390x | Advisory build | 0.6.13-1.1 | OPENSUSE-SU-2025:14738-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | pam_pkcs11-devel-docx86_64 | Advisory build | 0.6.13-1.1 | OPENSUSE-SU-2025:14738-1 |
| Ubuntu | bionic | pam-pkcs11 | Advisory build | 0.6.9-2ubuntu0.1~esm1 | USN-7363-1 |
| Ubuntu | focal | libpam-pkcs11 | Advisory build | 0.6.11-2ubuntu0.1 | USN-7363-1 |
| Ubuntu | focal | pam-pkcs11 | Advisory build | 0.6.11-2ubuntu0.1 | USN-7363-1 |
| Ubuntu | jammy | libpam-pkcs11 | Advisory build | 0.6.11-4ubuntu0.1 | USN-7363-1 |
| Ubuntu | jammy | pam-pkcs11 | Advisory build | 0.6.11-4ubuntu0.1 | USN-7363-1 |
| Ubuntu | noble | libpam-pkcs11 | Advisory build | 0.6.12-2ubuntu0.24.04.1 | USN-7363-1 |
| Ubuntu | noble | pam-pkcs11 | Advisory build | 0.6.12-2ubuntu0.24.04.1 | USN-7363-1 |
| Ubuntu | xenial | libpam-pkcs11 | Advisory build | 0.6.8-4ubuntu0.1~esm1 | USN-7363-1 |
| Ubuntu | xenial | pam-pkcs11 | Advisory build | 0.6.8-4ubuntu0.1~esm1 | USN-7363-1 |
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;`.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 9.2 / 10
- Severity
- critical
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| OpenSC | pam_pkcs11 | < 0.6.13 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-287 CWE-287: Improper Authentication
References
8- https://github.com/OpenSC/pam_pkcs11/commit/470263258d1ac59c5eade439c4d9caba0097e6e6
- https://github.com/OpenSC/pam_pkcs11/commit/b665b287ff955bbbd9539252ff9f9e2754c3fb48
- https://github.com/OpenSC/pam_pkcs11/commit/d9530167966a77115db6e885d459382a2e52ee9e
- https://github.com/OpenSC/pam_pkcs11/releases/tag/pam_pkcs11-0.6.13
- https://github.com/OpenSC/pam_pkcs11/security/advisories/GHSA-8r8p-7mgp-vf56
- 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
Provider assertions
3GitHub_M · cna
PAM-PKCS#11 vulnerable to authentication bypass with default value for `cert_policy` (`none`)
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- a4be74f49b480380d08e9c71b4e183705cef9dddf1e57eb49d409d5e6fc4bc52
- Ingested
- 23 Sep 2026, 08:41:01 UTC
- Source record
- Official CVE record