Vulnerability · Published Jan 16, 2026 · Assigned by mitre

CVE-2025-24531

Medium 6.7

In plain English

A medium-severity security flaw in pam_pkcs11 from OpenSC project. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 14% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.7Medium
Exploit odds (30 days)0.2%top 86.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12pam-pkcs110.6.12-1+deb12u1DEBIAN-CVE-2025-24531
Debian:12pam-pkcs110.6.12-1+deb12u1DSA-5864-1
Debian:13pam-pkcs110.6.13-1DEBIAN-CVE-2025-24531
Debian:14pam-pkcs110.6.13-1DEBIAN-CVE-2025-24531
Ubuntu:22.04:LTSpam-pkcs110.6.11-4ubuntu0.1USN-7363-1
Ubuntu:24.04:LTSpam-pkcs110.6.12-2ubuntu0.24.04.1USN-7363-1
Ubuntu:24.04:LTSpam-pkcs110.6.12-2ubuntu0.24.04.1UBUNTU-CVE-2025-24531

Affected products (as reported)

VendorProductVersions
OpenSC project pam_pkcs11 0.6.12 – before 0.6.13

Weakness: CWE-393 · Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

References