CVE-2023-40660

published 6 Nov 2023 · updated 6 Nov 2026

Opensc: potential pin bypass when card tracks its own login state

6.6MediumCVSS 6.6EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 0.24.0.

A flaw was found in OpenSC packages that allow a potential PIN bypass. When a token/card is authenticated by one process, it can perform cryptographic operations in other processes when an empty zero-length pin is passed. This issue poses a security risk, particularly for OS logon/screen unlock and for small, permanently connected tokens to computers. Additionally, the token can internally track login status. This flaw allows an attacker to gain unauthorized access, carry out malicious actions, or compromise the system without the user's awareness.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
OpenSC projectopensc<=0.23.0
Red HatEnterprise Linux
redhatenterprise_linux=9.0, =8.0
>=0.17.0 <0.24.00.24.0

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Red Hat, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2023-40660 severity on Zeptric[![CVE-2023-40660](https://zeptric.io/badge/cve/CVE-2023-40660.svg)](https://zeptric.io/cve/CVE-2023-40660)