Return of Wrong Status Code Affecting OpenSC/pam_pkcs11 package, versions [,0.6.13)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.25% (16th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-OPENSCPAMPKCS11-15034765
  • published18 Jan 2026
  • disclosed16 Jan 2026
  • creditMatthias Gerstner

Introduced: 16 Jan 2026

CVE-2025-24531  (opens in a new tab)
CWE-393  (opens in a new tab)

How to fix?

Upgrade OpenSC/pam_pkcs11 to version 0.6.13 or higher.

Overview

Affected versions of this package are vulnerable to Return of Wrong Status Code via the pam_sm_authenticate function. An attacker can gain unauthorized access by triggering an error condition with a smartcard prior to login, causing the function to return an incorrect status.

CVSS Base Scores

version 4.0
version 3.1