#VU106020 Improper authentication in pam_pkcs11 - CVE-2025-24531


Vulnerability identifier: #VU106020

Vulnerability risk: High

CVSSv4.0: 8.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber]

CVE-ID: CVE-2025-24531

CWE-ID: CWE-287

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
pam_pkcs11
Other software / Other software solutions

Vendor: OpenSC

Description

The vulnerability allows a remote attacker to bypass authentication process.

The vulnerability exists due to an incorrect error handling during authentication requests. A remote attacker can bypass authentication process and gain unauthorized access to the application.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

pam_pkcs11: 0.6.12


External links
https://github.com/OpenSC/pam_pkcs11/security/advisories/GHSA-7mf6-rg36-qgch


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability