# CVE-2025-24531: In OpenSC pampkcs11 before 0.6.13, pamsmauthenticate() wrongly returns PAMIGNORE in many error situations (such as an error triggered by a…

- Severity: Medium 6.7 (CVSS:3.1, scored by mitre) `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 14% of CVEs (2026-12-01)
- Published: 2026-01-16T00:00:00.000Z
- Modified: 2026-06-17T08:59:10.870Z
- Weaknesses: CWE-393
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- OpenSC project pam_pkcs11: from 0.6.12 before 0.6.13

## References

- <https://github.com/OpenSC/pam_pkcs11/security/advisories/GHSA-7mf6-rg36-qgch>
- <https://github.com/OpenSC/pam_pkcs11/releases>
- <https://www.openwall.com/lists/oss-security/2025/02/06/3>
- <http://www.openwall.com/lists/oss-security/2025/02/06/3>
- <http://www.openwall.com/lists/oss-security/2025/02/06/7>

## Sources

- CVE List: [CVE-2025-24531](https://www.cve.org/CVERecord?id=CVE-2025-24531), CVE Terms of Use, modified 2026-01-16
- NVD: [CVE-2025-24531](https://nvd.nist.gov/vuln/detail/CVE-2025-24531), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-24531 · Whole record: https://cve.day/CVE-2025-24531.json · Rebuilt by cve.day 2026-11-25T22:59:10.679Z
