CVE-2025-24531 json
In OpenSC pam_pkcs11 before 0.6.13, pam_sm_authenticate() wrongly returns PAM_IGNORE in many error situations (such as an error triggered b…
published 2026-01-16 9 mo ago modified 2026-06-17 4 mo ago also EUVD-2025-206298
- cvss
- 6.7
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 13%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- OpenSC project pam_pkcs11 0.6.13
- pam-pkcs11 Debian 12 0.6.12-1+deb12u1
- pam-pkcs11 Debian 14, Debian 13 0.6.13-1
debian advisories DEBIAN-CVE-2025-24531
- pam-pkcs11 Ubuntu 24.04 LTS 0.6.12-2ubuntu0.24.04.1
ubuntu advisories UBUNTU-CVE-2025-24531
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- pam_pkcs11 Linux Micro 6.1 0.6.12-slfo.1.1_3.1
- pam_pkcs11 Linux Micro 6.0 0.6.12-2.1
suse advisories SUSE-SU-2025:20225-1SUSE-SU-2025:20130-1
- pam_pkcs11 openSUSE Tumbleweed 0.6.13-1.1
opensuse advisories openSUSE-SU-2025:14738-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-24531 updated cvss 6.7
pam_pkcs11: authentication bypass in error situations
-
Red Hat Enterprise Linux 6 pam_pkcs11 Red Hat Enterprise Linux 7 pam_pkcs11not affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 9 mo ago
Exploit prediction
0.23% chance of exploitation in the next 30 days, higher than 13% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.7 | CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N |
Affected products
- OpenSC project pam_pkcs11
Classification
- Weakness
-
- CWE-393 Return of Wrong Status Code
References
Sources
- CVE List CVE-2025-24531
- NVD CVE-2025-24531
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.