Home / Red Hat / Red Hat Enterprise Linux 8 / CVE-2023-40660
CVE-2023-40660: is it exploited, and which versions of Red Hat Enterprise Linux 8 are affected and fixed?
CVE-2023-40660 is an authentication bypass (improper authentication) vulnerability in Red Hat Enterprise Linux 8. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 16:09 UTC). Affected: OpenSC from 0.17.0 before 0.24.0 (CVE record by redhat). Fixed in 0.24.0, 0:0.20.0-7.el8_9 and 0:0.23.0-3.el9_3 (CVE record by redhat). Severity: Medium (6.6, CVSS 3.1, from redhat).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:09 UTC, CVE record November 19, 2026, 07:12 UTC and NVD November 19, 2026, 07:34 UTC.
What is CVE-2023-40660?
Opensc: potential pin bypass when card tracks its own login state
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.
From the CVE record by redhat, last updated November 6, 2026, 20:26 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| OpenSC | from 0.17.0 before 0.24.0 | 0.24.0 | |
| Red Hat | Red Hat Enterprise Linux 8 opensc | all versions (default) | 0:0.20.0-7.el8_9 |
| Red Hat | Red Hat Enterprise Linux 9 opensc | all versions (default) | 0:0.23.0-3.el9_3 |
| Red Hat | Red Hat Enterprise Linux 7 opensc | not stated |
As the CVE record by redhat states it, last updated November 6, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| opensc project | opensc | through 0.23.0 | application |
| redhat | enterprise linux | 8.0 | operating system |
| redhat | enterprise linux | 9.0 | operating system |
NVD analysis (status Modified), last modified November 6, 2026, 21:17 UTC.
How severe is CVE-2023-40660?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.6 | CVSS 3.1 | CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | redhat |
| Medium 6.6 | CVSS 3.1 | CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2023-40660 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: total (CISA ADP, December 19, 2023)
- EPSS
- 1.04% probability of exploitation activity in the next 30 days, percentile 65.0 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-287 Improper Authentication
Where are the vendor advisories and references?
- RHSA-2023:7876 vendor-advisory, x_refsource_REDHAT
- RHSA-2023:7879 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2023-40660 vdb-entry, x_refsource_REDHAT
- RHBZ#2240912 issue-tracking, x_refsource_REDHAT
- https://github.com/OpenSC/OpenSC/issues/2792#issuecomment-1674806651
- https://github.com/OpenSC/OpenSC/releases/tag/0.24.0-rc1
- https://github.com/OpenSC/OpenSC/wiki/OpenSC-security-advisories
- http://www.openwall.com/lists/oss-security/2023/12/13/2 x_transferred
- https://lists.debian.org/debian-lts-announce/2023/11/msg00024.html x_transferred
- https://lists.fedoraproject.org/archives/list/[email protected]/message/3CPQOMCDWFRBMEFR5VK4N5MMXXU42ODE/ x_transferred
- https://lists.fedoraproject.org/archives/list/[email protected]/message/GLYEFIBBA37TK3UNMZN5NOJ7IWCIXLQP/ x_transferred
- https://lists.debian.org/debian-lts-announce/2024/12/msg00026.html
Who found and reported it?
- Upstream acknowledges Deepanjan Pal (Oracle Corporation) as the original reporter. (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- August 18, 2023
- Published
- November 6, 2023, 16:58 UTC
- CVE record updated
- November 6, 2026, 20:26 UTC by redhat
- NVD
- Modified, last modified November 6, 2026, 21:17 UTC
- Last checked
- CVE list November 19, 2026, 07:12 UTC; NVD November 19, 2026, 07:34 UTC; KEV December 3, 2026, 16:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Red Hat Enterprise Linux 8?
- Oct 3, 2023CVE-2023-4911 Red Hat Enterprise Linux 8: heap buffer overflow exploited
- Dec 3, 2026CVE-2026-119584 Red Hat Directory Server 11: memory leak
- Dec 3, 2026CVE-2026-118472 Red Hat Directory Server 11: NULL pointer dereference (crash)
- Dec 3, 2026CVE-2026-137818 Red Hat Enterprise Linux 10: denial of service (uncontrolled resource consumption)
- Dec 3, 2026CVE-2026-118469 Red Hat Directory Server 11: integer underflow
- Dec 2, 2026CVE-2026-142107 Red Hat Enterprise Linux 10: out-of-bounds write (memory corruption)
- Dec 2, 2026CVE-2026-142105 Red Hat Enterprise Linux 10: denial of service (resources allocated without limits)
- Dec 1, 2026CVE-2026-15268 Red Hat Enterprise Linux 10: missing authorization
Every CVE in Red Hat Enterprise Linux 8
Questions about CVE-2023-40660
Is CVE-2023-40660 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:09 UTC. FIRST's EPSS gives it a 1.04% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Red Hat Enterprise Linux 8 are affected by CVE-2023-40660?
OpenSC from 0.17.0 before 0.24.0, per the CVE record by redhat. The tables above give every range the sources list.
Which version fixes CVE-2023-40660?
0.24.0, 0:0.20.0-7.el8_9 and 0:0.23.0-3.el9_3, per the CVE record by redhat. Check the vendor's advisory before you rely on it.
How severe is CVE-2023-40660?
Medium (6.6, CVSS 3.1, from redhat). The severity table above shows each score with its source.
Where is the official record of CVE-2023-40660?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.