6.6

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

Modified
AliasesUBUNTU-CVE-2023-40660DEBIAN-CVE-2023-40660ALPINE-CVE-2023-40660
Published 06-11-2023Last modified 06-11-2026

Vulnerability summary

CVE-2023-40660 is a medium (CVSS 6.6) Improper Authentication vulnerability in opensc_project opensc. EPSS estimates a 1.04% chance of exploitation in the next 30 days, higher than 65% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 6.6, physical access); no exploitation reported by the 5 checked sources

CIRCL last checked 05-12-2026

Source freshness unavailable

How is this decided?
CVSS score
6.6/10
010
Medium · v3.1 (CVE.org)
EPSS score
1.04%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 9 · Related 5

Timeline

  1. 06-11-2023
    PublishedVulnerability first disclosed.
  2. 06-11-2026
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

5 scores · 5 sources · 1 version

EPSS trend

Probability

1.04%

Chance of exploitation in the next 30 days

Percentile

65%

Versus all other CVEs

30-day change

No change 0.00 pp

From 1.04% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: physical access, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Alpine1 product
  • opensc< 0.24.0-r0
Debian1 product
  • opensc< 0.23.0-0.3+deb12u1 | < 0.23.0-2
Opensc_project1 product
Redhat1 product
Ubuntu1 product
  • opensc< 0.20.0-3ubuntu0.1~esm4 | < 0.22.0-1ubuntu2+esm1

5 vendors · 5 products

References

19 links
Show all 19 references