CVE-2023-40660 MEDIUM

CVE-2023-40660: Opensc: potential pin bypass when card tracks its own login state

Vendor Red Hat
Product Red Hat Enterprise Linux 7
Weakness CWE-287 · Improper authentication
Published November 6, 2023
Last update November 6, 2025

CVSS base score

6.6/10
Attack vector Physical
Attack complexity Low
Privileges required None
User interaction Required
Confidentiality High
Integrity High

CVSS vector

CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

November 6, 2023 CVE published
November 6, 2025 Record updated