CVSS 3.1
6.7 mediumCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:NMedium (6.7) in opensc project pam pkcs11. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:NExplain CVE-2025-24531 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-24531?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-24531?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-24531 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| OpenSC project pam_pkcs11 | from 0.6.12 before 0.6.13 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12 | pam-pkcs11 | 0.6.12-1+deb12u1 | DEBIAN-CVE-2025-24531 DSA-5864-1 |
| Debian | 13, 14 | pam-pkcs11 | 0.6.13-1 | DEBIAN-CVE-2025-24531 |
| Ubuntu | 20.04:LTS | pam-pkcs11 | 0.6.11-2ubuntu0.1 | USN-7363-1 |
| Ubuntu | 22.04:LTS | pam-pkcs11 | 0.6.11-4ubuntu0.1 | USN-7363-1 |
| Ubuntu | 24.04:LTS | pam-pkcs11 | 0.6.12-2ubuntu0.24.04.1 | UBUNTU-CVE-2025-24531 USN-7363-1 |
| Ubuntu | Pro:16.04:LTS | pam-pkcs11 | 0.6.8-4ubuntu0.1~esm1 | USN-7363-1 |
| Ubuntu | Pro:18.04:LTS | pam-pkcs11 | 0.6.9-2ubuntu0.1~esm1 | USN-7363-1 |
| SUSE | Linux Micro 6.0 | pam_pkcs11 | 0.6.12-2.1 | SUSE-SU-2025:20130-1 |
| SUSE | Linux Micro 6.1 | pam_pkcs11 | 0.6.12-slfo.1.1_3.1 | SUSE-SU-2025:20225-1 |
| openSUSE | Tumbleweed | pam_pkcs11 | 0.6.13-1.1 | openSUSE-SU-2025:14738-1 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.
Red Hat rates this Moderate.
To exploit this flaw, an attacker needs to cause a communication failure between the system software and the smartcard hardware. Additionally, this issue is only exploitable if PAM is configured to allow smartcard login without a secondary password requirement. Due to these reasons, this vulnerability has been rated with a moderate severity.
To mitigate this issue, review PAM configurations that include pam_pkcs11. Ensure that the pam_pkcs11.so module is not configured with sufficient or optional in a manner that allows authentication to succeed when pam_pkcs11 returns PAM_IGNORE due to smartcard communication errors. If pam_pkcs11 is not actively used for authentication, consider removing its entry from the relevant PAM configuration files (e.g., /etc/pam.d/system-auth, /etc/pam.d/login). Incorrect modifications to PAM configuration files can lead to system lockout; always back up configuration files before making changes and test thoroughly.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 6 | pam_pkcs11 | Not affected | |
| Red Hat Enterprise Linux 7 | pam_pkcs11 | Not affected |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-24531.