CVE-2025-24531
published medium CVSS 3.1 · 6.7pam_pkcs11: authentication bypass in error situations
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| OpenSC project | — | pam_pkcs110.6.12 to < 0.6.13 · Other versions: unaffected | Affected | Not stated | mitre |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| SUSE / openSUSE | openSUSE-Tumbleweed | pam_pkcs11aarch64 | Advisory build | 0.6.13-1.1 | OPENSUSE-SU-2025:14738-1 |
| Debian | bookworm | pam-pkcs11 | Advisory build | 0.6.12-1+deb12u1 | DSA-5864-1 |
| Ubuntu | noble | libpam-pkcs11 | Advisory build | 0.6.12-2ubuntu0.24.04.1 | USN-7363-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 |
Show 5 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| 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 | noble | pam-pkcs11 | Advisory build | 0.6.12-2ubuntu0.24.04.1 | USN-7363-1 |
Description
In OpenSC pam_pkcs11 before 0.6.13, pam_sm_authenticate() wrongly returns PAM_IGNORE in many error situations (such as an error triggered by a smartcard before login), allowing authentication bypass.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.7 / 10
- Severity
- medium
- Provider
- mitre · cna
- Vector string
- CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| OpenSC project | pam_pkcs11 | 0.6.12 to < 0.6.13 (affected · semver)Default: unaffected | mitre · cna |
Weaknesses
1- CWE-393 CWE-393 Return of Wrong Status Code
References
5Provider assertions
3mitre · cna
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- f26eb6b68f13442c81755889cf98139fc27046122649db0a28dc16cf7ff0bfb6
- Ingested
- 23 Sep 2026, 08:41:20 UTC
- Source record
- Official CVE record