# CVE-2025-24531: libpam-pkcs11: In OpenSC pam_pkcs11 before 0.6.13, pam_sm_authenticate() wrongly returnsPAM_IGNORE in many error situations (such as...

CVE-2025-24531 is fixed in 2 products on 1 platform, first by libpam-pkcs11 0.6.12-2ubuntu0.24.10.1, released February 7, 2025. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2025-24531
- Priority: Routine
- CVSS: 6.7 (High)
- EPSS: 0.0023
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Feb 6, 2025

## Description

In OpenSC pam_pkcs11 before 0.6.13, pam_sm_authenticate() wrongly returnsPAM_IGNORE in many error situations (such as an error triggered by asmartcard before login), allowing authentication bypass.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | libpam-pkcs11 Ubuntu 24.04.5 LTS (noble) | 0.6.12-2ubuntu0.24.04.1 | [libpam-pkcs11 0.6.12-2ubuntu0.24.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-libpam-pkcs11-0.6.12-2ubuntu0.24.04.1.md) | Feb 10, 2025 |
| Linux | libpam-pkcs11 Ubuntu 24.10 (oracular) | 0.6.12-2ubuntu0.24.10.1 | [libpam-pkcs11 0.6.12-2ubuntu0.24.10.1](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-libpam-pkcs11-0.6.12-2ubuntu0.24.10.1.md) | Feb 7, 2025 |
| Linux | pam-pkcs11 Debian 12.15 (bookworm) | 0.6.12-1+deb12u1 | [DEBIAN-CVE-2025-24531](https://patchblox.com/security/data/fix/linux/debian-cve-2025-24531.md) | Jan 16, 2026 |
| Linux | pam-pkcs11 Debian 13.5 (trixie) | 0.6.13-1 | [DEBIAN-CVE-2025-24531](https://patchblox.com/security/data/fix/linux/debian-cve-2025-24531.md) | Jan 16, 2026 |
| Linux | pam-pkcs11 Debian 14 | 0.6.13-1 | [DEBIAN-CVE-2025-24531](https://patchblox.com/security/data/fix/linux/debian-cve-2025-24531.md) | Jan 16, 2026 |

---

Data as of 2026-11-09T01:18:40Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
