CVE-2025-24531

Medium

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.

SeverityMedium
CVSS6.7
Exploit probability—
ProductOpensc Project Pam
PublishedJan 16, 2026
First seenJan 16, 2026
Weakness typeCWE-393CWE-393

How to fix

Update
  • OpenSC project pam_pkcs110.6.13 or later

Affected products

ProductAffected versionsFixed in
OpenSC project pam_pkcs110.6.12 ≤ v < 0.6.130.6.13

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.