Skip to content
OpenAdvisories
Medium · 6.7 CVE-2025-24531 EUVD-2025-206298

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 Jan 16, 2026 · Updated Jan 16, 2026 · 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.

Affected products

VendorProductAffectedFixed
OpenSC project pam_pkcs11 0.6.12 – < 0.6.13 0.6.13

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 pam-pkcs11 0.6.13-1 —
Debian 13 pam-pkcs11 0.6.13-1 —
Debian 12 pam-pkcs11 0.6.12-1+deb12u1 DSA-5864-1
ReleasePackageFixed inAdvisory
Ubuntu 24.04 LTS pam-pkcs11 0.6.12-2ubuntu0.24.04.1 USN-7363-1
Ubuntu 22.04 LTS pam-pkcs11 0.6.11-4ubuntu0.1 USN-7363-1
Ubuntu 20.04 LTS pam-pkcs11 0.6.11-2ubuntu0.1 USN-7363-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS pam-pkcs11 0.6.9-2ubuntu0.1~esm1 USN-7363-1
Ubuntu Pro 16.04 LTS pam-pkcs11 0.6.8-4ubuntu0.1~esm1 USN-7363-1
ReleasePackageFixed inAdvisory
SLE Micro 6.1 pam_pkcs11 0.6.12-slfo.1.1_3.1 SUSE-SU-2025:20225-1
SLE Micro 6.0 pam_pkcs11 0.6.12-2.1 SUSE-SU-2025:20130-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed pam_pkcs11 0.6.13-1.1 openSUSE-SU-2025:14738-1

Advisories 6

References