CVEfocus › CVE database › CVE-2025-24531

CVE-2025-24531

CVSS 6.7 MediumEPSS 0.2% (higher than 8% of CVEs)Published 2026-01-16Updated 2026-01-16Assigner: mitre

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.

CWE-393

What to do

Fixed builds are available from Debian, Ubuntu: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

4Fixed
4Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04pam-pkcs11Fixed0.6.12-2ubuntu0.24.04.1UBUNTU-CVE-2025-24531
Ubuntu 22.04pam-pkcs11Not affected
vulnerable_code_not_present
Ubuntu 20.04pam-pkcs11Not affected
vulnerable_code_not_present
Debian 14pam-pkcs11Fixed0.6.13-1DEBIAN-CVE-2025-24531
Debian 13pam-pkcs11Fixed0.6.13-1DEBIAN-CVE-2025-24531
Debian 12pam-pkcs11Fixed0.6.12-1+deb12u1DEBIAN-CVE-2025-24531
Red Hat Enterprise Linux 7pam_pkcs11Not affected
Red Hat Enterprise Linux 6pam_pkcs11Not affected

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.