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.
CVE-2023-40660
Score 6.6 from GitHub Security Advisory published 2023-11-06. NVD baseline CVSS 6.6; sources differ by 0.0.
- Lower severity and no public exploit yet
A fix is available — apply it.
- CVSS v3
- 6.6
- EG Score
- 6.6(medium)
- EG Risk
- 30(Track)EG Risk 30/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity66% × 45%Exploitation1% × 40%Automatability0% × 15%Action: Routine — remediate on your standard cadence. - EPSS
- 56.7%
- KEV
- Not listed
Published
November 6, 2023
Last Modified
November 3, 2025
References (19)
- secalert@redhathttps://access.redhat.com/errata/RHSA-2023:7876
- secalert@redhathttps://access.redhat.com/errata/RHSA-2023:7879
- secalert@redhathttps://access.redhat.com/security/cve/CVE-2023-40660
- secalert@redhathttps://bugzilla.redhat.com/show_bug.cgi?id=2240912
- secalert@redhathttps://github.com/OpenSC/OpenSC/issues/2792#issuecomment-1674806651
- secalert@redhathttps://github.com/OpenSC/OpenSC/releases/tag/0.24.0-rc1
- secalert@redhathttps://github.com/OpenSC/OpenSC/wiki/OpenSC-security-advisories
- af854a3a-2127-422b-91ae-364da2661108http://www.openwall.com/lists/oss-security/2023/12/13/2
- af854a3a-2127-422b-91ae-364da2661108https://access.redhat.com/errata/RHSA-2023:7876
- af854a3a-2127-422b-91ae-364da2661108https://access.redhat.com/errata/RHSA-2023:7879
- af854a3a-2127-422b-91ae-364da2661108https://access.redhat.com/security/cve/CVE-2023-40660
- af854a3a-2127-422b-91ae-364da2661108https://bugzilla.redhat.com/show_bug.cgi?id=2240912
- af854a3a-2127-422b-91ae-364da2661108https://github.com/OpenSC/OpenSC/issues/2792#issuecomment-1674806651
- af854a3a-2127-422b-91ae-364da2661108https://github.com/OpenSC/OpenSC/releases/tag/0.24.0-rc1
- af854a3a-2127-422b-91ae-364da2661108https://github.com/OpenSC/OpenSC/wiki/OpenSC-security-advisories
Patch Availability(4)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| ubuntu | opensc-pkcs11 (0.25.0~rc1-1ubuntu0.1~esm1) @ noble | 2026-05-24 | ubuntu |
| ubuntu | opensc-pkcs11 (0.20.0-3ubuntu0.1~esm4) @ focal | 2026-05-24 | ubuntu |
| redhat | opensc-0:0.20.0-7.el8_9 | 2023-12-19 | redhat |
| redhat | opensc-0:0.23.0-3.el9_3 | 2023-12-19 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Weakness Classification(2)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
All Vendor Advisories
(5)
Every vendor that published an advisory referencing this CVE — pulled from our cve_vendor_advisories aggregation. Click any row for the vendor's original advisory page.
- Microsoft MSRCCVE-2023-406602024-06-30
Opensc: potential pin bypass when card tracks its own login state
- Red HatRHSA-2023:7876MODERATE2023-09-25
RHSA-2023:7876 — Moderate
- Red HatRHSA-2023:7879MODERATE2023-09-25
RHSA-2023:7879 — Moderate
- UbuntuUSN-7346-1MEDIUM
OpenSC vulnerabilities
- UbuntuUSN-7346-3MEDIUM
OpenSC vulnerabilities
Data Freshness Timeline
(refreshed 12× in last 7d / 49× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 110 total refreshes for this CVE.
- 2026-07-23 02:25 UTCEG score recompute
- 2026-07-22 23:12 UTCEG score recompute
- 2026-07-22 14:06 UTCEPSS rescore
- 2026-07-21 15:23 UTCEPSS rescore
- 2026-07-21 15:23 UTCEPSS rescore
- 2026-07-20 17:06 UTCEPSS rescore
- 2026-07-19 14:29 UTCEPSS rescore
- 2026-07-19 02:27 UTCEPSS rescore
- 2026-07-18 10:03 UTCEPSS rescore
- 2026-07-18 10:03 UTCEPSS rescore
- 2026-07-16 17:01 UTCEPSS rescore
- 2026-07-16 17:01 UTCEPSS rescore
- 2026-07-15 16:56 UTCEPSS rescore
- 2026-07-15 16:56 UTCEPSS rescore
- 2026-07-15 05:19 UTCOSV refresh
- 2026-07-15 01:58 UTCEPSS rescore
- 2026-07-13 22:28 UTCEPSS rescore
- 2026-07-13 22:28 UTCEPSS rescore
- 2026-07-13 06:11 UTCEPSS rescore
- 2026-07-13 06:11 UTCEPSS rescore
- 2026-07-12 05:45 UTCEPSS rescore
- 2026-07-12 05:45 UTCEPSS rescore
- 2026-07-11 08:26 UTCEPSS rescore
- 2026-07-11 08:26 UTCEPSS rescore
- 2026-07-09 19:08 UTCEPSS rescore
Show 75 moreShow fewer
- 2026-07-08 15:13 UTCEPSS rescore
- 2026-07-07 13:44 UTCEPSS rescore
- 2026-07-06 16:26 UTCEPSS rescore
- 2026-07-06 16:26 UTCEPSS rescore
- 2026-07-06 02:22 UTCEPSS rescore
- 2026-07-05 02:29 UTCEPSS rescore
- 2026-07-04 06:29 UTCEPSS rescore
- 2026-07-01 15:05 UTCEPSS rescore
- 2026-06-30 23:21 UTCEPSS rescore
- 2026-06-30 23:21 UTCEPSS rescore
- 2026-06-29 14:05 UTCEPSS rescore
- 2026-06-28 14:06 UTCEPSS rescore
- 2026-06-28 14:06 UTCEPSS rescore
- 2026-06-28 04:55 UTCEPSS rescore
- 2026-06-28 04:55 UTCEPSS rescore
- 2026-06-27 05:34 UTCOSV refresh
- 2026-06-27 03:07 UTCEPSS rescore
- 2026-06-27 03:07 UTCEPSS rescore
- 2026-06-25 13:48 UTCEPSS rescore
- 2026-06-25 13:48 UTCEPSS rescore
- 2026-06-24 14:04 UTCEPSS rescore
- 2026-06-24 14:04 UTCEPSS rescore
- 2026-06-23 21:31 UTCEPSS rescore
- 2026-06-23 21:31 UTCEPSS rescore
- 2026-06-22 14:24 UTCEPSS rescore
- 2026-06-22 14:24 UTCEPSS rescore
- 2026-06-21 14:55 UTCEPSS rescore
- 2026-06-21 14:55 UTCEPSS rescore
- 2026-06-21 01:58 UTCEPSS rescore
- 2026-06-21 01:58 UTCEPSS rescore
- 2026-06-19 19:24 UTCEPSS rescore
- 2026-06-19 19:24 UTCEPSS rescore
- 2026-06-18 17:51 UTCEPSS rescore
- 2026-06-17 17:51 UTCEPSS rescore
- 2026-06-17 17:51 UTCEPSS rescore
- 2026-06-16 17:51 UTCEPSS rescore
- 2026-06-16 17:51 UTCEPSS rescore
- 2026-06-15 17:47 UTCEPSS rescore
- 2026-06-15 17:47 UTCEPSS rescore
- 2026-06-14 23:16 UTCEPSS rescore
- 2026-06-13 22:59 UTCEPSS rescore
- 2026-06-13 22:59 UTCEPSS rescore
- 2026-06-12 23:10 UTCEPSS rescore
- 2026-06-12 23:10 UTCEPSS rescore
- 2026-06-11 13:59 UTCEPSS rescore
- 2026-06-11 13:59 UTCEPSS rescore
- 2026-06-10 22:17 UTCEPSS rescore
- 2026-06-10 13:21 UTCEPSS rescore
- 2026-06-10 13:21 UTCEPSS rescore
- 2026-06-09 16:17 UTCOSV refresh
- 2026-06-08 14:16 UTCEPSS rescore
- 2026-06-08 14:16 UTCEPSS rescore
- 2026-06-07 15:23 UTCEPSS rescore
- 2026-06-07 15:23 UTCEPSS rescore
- 2026-06-06 13:46 UTCEPSS rescore
- 2026-06-06 13:46 UTCEPSS rescore
- 2026-06-05 22:46 UTCEPSS rescore
- 2026-06-05 22:46 UTCEPSS rescore
- 2026-06-05 06:09 UTCEPSS rescore
- 2026-06-05 06:09 UTCEPSS rescore
- 2026-06-05 06:09 UTCEPSS rescore
- 2026-06-04 13:11 UTCEPSS rescore
- 2026-06-04 13:11 UTCEPSS rescore
- 2026-06-02 20:12 UTCEPSS rescore
- 2026-06-02 20:12 UTCEPSS rescore
- 2026-06-01 13:51 UTCEPSS rescore
- 2026-06-01 13:51 UTCEPSS rescore
- 2026-05-31 22:30 UTCEPSS rescore
- 2026-05-31 22:29 UTCEPSS rescore
- 2026-05-31 00:15 UTCEPSS rescore
- 2026-05-31 00:15 UTCEPSS rescore
- 2026-05-29 13:43 UTCEPSS rescore
- 2026-05-29 13:43 UTCEPSS rescore
- 2026-05-28 13:44 UTCEPSS rescore
- 2026-05-28 13:43 UTCEPSS rescore
Frequently asked(5)
What is CVE-2023-40660?
When was CVE-2023-40660 disclosed?
Is CVE-2023-40660 actively exploited?
What is the CVSS score of CVE-2023-40660?
How do I remediate CVE-2023-40660?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2023-40660
Is Your Infrastructure Affected by CVE-2023-40660?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.