CVE-2023-40660Opensc: potential pin bypass when card tracks its own login state
- 6.6MediumCVSS base score
- 1.0%Exploitation in 30 daysEPSS · top 35% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By redhat
- 3 months later
· 3 months later
Published
- 3 years later
· 3 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| redhatCNA (assigner) | 3.1 | Medium6.6 | CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVDNVD · Modified | 3.1 | Medium6.6 | CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 1.0% · top 35% of all CVEs (17 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.6.
Affected products
OpenSC
- affected 0.17.0 – < 0.24.0
Red Hat · Red Hat Enterprise Linux 8
- unaffected 0:0.20.0-7.el8_9 – < *
Red Hat · Red Hat Enterprise Linux 9
- unaffected 0:0.23.0-3.el9_3 – < *
Red Hat · Red Hat Enterprise Linux 7
All versions: unknown
References
References12
- RHSA-2023:7876 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2023:7879 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- https://access.redhat.com/security/cve/CVE-2023-40660 (opens in a new tab)vdb-entryx_refsource_REDHATx_transferred
- RHBZ#2240912 (opens in a new tab)issue-trackingx_refsource_REDHATx_transferred
- https://github.com/OpenSC/OpenSC/issues/2792#issuecomment-1674806651 (opens in a new tab)x_transferred
- https://github.com/OpenSC/OpenSC/releases/tag/0.24.0-rc1 (opens in a new tab)x_transferred
- https://github.com/OpenSC/OpenSC/wiki/OpenSC-security-advisories (opens in a new tab)x_transferred
- http://www.openwall.com/lists/oss-security/2023/12/13/2 (opens in a new tab)x_transferred
- https://lists.debian.org/debian-lts-announce/2023/11/msg00024.html (opens in a new tab)x_transferred
- https://lists.fedoraproject.org/archives/list/[email protected]/message/3CPQOMCDWFRBMEFR5VK4N5MMXXU42ODE/ (opens in a new tab)x_transferred
- https://lists.fedoraproject.org/archives/list/[email protected]/message/GLYEFIBBA37TK3UNMZN5NOJ7IWCIXLQP/ (opens in a new tab)x_transferred
- https://lists.debian.org/debian-lts-announce/2024/12/msg00026.html (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2023-45216 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2023-40660)Record last updated .