9.2

CVE-2025-24032: opensc pam_pkcs11 Improper Authentication

CVSS: 9.2v4.0CriticalDeferred
AliasesUBUNTU-CVE-2025-24032DEBIAN-CVE-2025-24032DLA-4058-1
Published 10-02-2025Last modified 21-05-2025

Vulnerability summary

CVE-2025-24032 is a critical (CVSS 9.2) Improper Authentication vulnerability in opensc pam_pkcs11. EPSS estimates a 0.71% chance of exploitation in the next 30 days, higher than 52.7% of scored vulnerabilities.

Overall risk
70/100
0100
High · default modelHow is this calculated?
CVSS score
9.2/10
010
Critical · v4.0 (CVE.org)
EPSS score
0.71%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 7 · Related 6

Timeline

  1. 10-02-2025
    PublishedVulnerability first disclosed.
  2. 21-05-2025
    Last modifiedVulnerability information updated.

Description

PAM-PKCS#11 is a Linux-PAM login module that allows a X.509 certificate based user login. Prior to version 0.6.13, if cert_policy is set to none (the default value), then pam_pkcs11 will only check if the user is capable of logging into the token. An attacker may create a different token with the user's public data (e.g. the user's certificate) and a PIN known to the attacker. If no signature with the private key is required, then the attacker may now login as user with that created token. The default to *not* check the private key's signature has been changed with commit commi6638576892b59a99389043c90a1e7dd4d783b921, so that all versions starting with pam_pkcs11-0.6.0 should be affected. As a workaround, in `pam_pkcs11.conf`, set at least `cert_policy = signature;`.

CVSS metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

0.71%

Chance of exploitation in the next 30 days

Percentile

53%

Versus all other CVEs

30-day change

0.00 pp

From 0.71% on 19-09-2026

19-09-202619-10-2026
EPSS score
0.71%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Debian1 product
  • pam-pkcs11< 0.6.12-1+deb12u1 | < 0.6.13-1 | < 0.6.11-4+deb11u1
Opensc1 product
Ubuntu1 product
  • pam-pkcs11< 0.6.8-4ubuntu0.1~esm1 | < 0.6.9-2ubuntu0.1~esm1 | < 0.6.11-2ubuntu0.1 | < 0.6.11-4ubuntu0.1 | < 0.6.12-2ubuntu0.24.04.1

3 vendors · 3 products

References

12 links
Show all 12 references