
CVE catalog
CVE-2023-40660
OpenSC vulnerabilities
- Severity
- High · CVSS 7.3
CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 1.04% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | opensc | sid | 0.27.1-3 | fixed |
| Debian | opensc | forky | 0.27.1-3 | fixed |
| Debian | opensc | trixie | 0.26.1-2 | fixed |
| Debian | opensc | bookworm | 0.23.0-0.3+deb12u2 | fixed |
| Ubuntu | opensc | noble | 0.23.0-0.3+deb12u1 | fixed |
| Ubuntu | opensc | noble | 0.25.0~rc1-1ubuntu0.1~esm1 | fixed |
| Ubuntu | opensc-pkcs11 | noble | 0.25.0~rc1-1ubuntu0.1~esm1 | fixed |
| Ubuntu | opensc | pro | 0.21.0-1ubuntu1 | vulnerable |
| Ubuntu | opensc | pro | 0.22.0-1ubuntu2 | vulnerable |
| Ubuntu | opensc | pro | 0.22.0-1ubuntu2+esm1 | fixed |
| Opensuse | opensc | tumbleweed | 0.23.0-3.1 | fixed |
| Suse | opensc | linux enterprise micro 5.3 | 0.22.0-150400.3.6.1 | fixed |
| Suse | opensc | linux enterprise micro 5.4 | 0.22.0-150400.3.6.1 | fixed |
| Suse | opensc | linux enterprise micro 5.5 | 0.22.0-150400.3.6.1 | fixed |
| Suse | opensc | linux enterprise module for basesystem 15 sp4 | 0.22.0-150400.3.6.1 | fixed |
| Suse | opensc | linux enterprise module for basesystem 15 sp5 | 0.22.0-150400.3.6.1 | fixed |
| Suse | opensc | linux enterprise high performance computing 15 sp1-ltss | 0.19.0-150100.3.25.1 | fixed |
| Suse | opensc | linux enterprise high performance computing 15 sp2-ltss | 0.19.0-150100.3.25.1 | fixed |
| Suse | opensc | linux enterprise high performance computing 15 sp3-espos | 0.19.0-150100.3.25.1 | fixed |
| Suse | opensc | linux enterprise high performance computing 15 sp3-ltss | 0.19.0-150100.3.25.1 | fixed |
| Suse | opensc | linux enterprise server 15 sp1-ltss | 0.19.0-150100.3.25.1 | fixed |
| Suse | opensc | linux enterprise server 15 sp2-ltss | 0.19.0-150100.3.25.1 | fixed |
| Suse | opensc | linux enterprise server 15 sp3-ltss | 0.19.0-150100.3.25.1 | fixed |
| Suse | opensc | linux enterprise server for sap applications 15 sp1 | 0.19.0-150100.3.25.1 | fixed |
| Suse | opensc | linux enterprise server for sap applications 15 sp2 | 0.19.0-150100.3.25.1 | fixed |
| Suse | opensc | linux enterprise server for sap applications 15 sp3 | 0.19.0-150100.3.25.1 | fixed |
| Suse | opensc | manager proxy 4.2 | 0.19.0-150100.3.25.1 | fixed |
| Suse | opensc | manager server 4.2 | 0.19.0-150100.3.25.1 | fixed |
| Suse | opensc | linux enterprise micro 5.1 | 0.19.0-150100.3.25.1 | fixed |
| Suse | opensc | linux enterprise micro 5.2 | 0.19.0-150100.3.25.1 | fixed |
| Suse | opensc | enterprise storage 7.1 | 0.19.0-150100.3.25.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | opensc | source | sid | 0.23.0-2 | not yet assigned | Not reported | [1055521] |
| Debian | opensc | source | forky | 0.23.0-2 | not yet assigned | Not reported | [1055521] |
| Debian | opensc | source | trixie | 0.23.0-2 | not yet assigned | Not reported | [1055521] |
| Debian | opensc | source | bookworm | 0.23.0-0.3+deb12u1 | not yet assigned | Not reported | [1055521] |
| Ubuntu | opensc | deb | noble | 0.23.0-0.3+deb12u1 | Not reported | Not reported | Not reported |
| Ubuntu | opensc | deb | noble | 0.25.0~rc1-1ubuntu0.1~esm1 | Not reported | Not reported | Not reported |
| Ubuntu | opensc-pkcs11 | deb | noble | 0.25.0~rc1-1ubuntu0.1~esm1 | Not reported | Not reported | Not reported |
| Ubuntu | opensc | deb | pro | 0.22.0-1ubuntu2+esm1 | Not reported | UBUNTU-CVE-2023-40660 | Not reported |
| Opensuse | opensc | rpm | tumbleweed | 0.23.0-3.1 | Not reported | OPENSUSE-SU-2024:13314-1 | Not reported |
| Suse | opensc | rpm | linux enterprise micro 5.3 | 0.22.0-150400.3.6.1 | Not reported | SUSE-SU-2023:4089-1 | Not reported |
| Suse | opensc | rpm | linux enterprise micro 5.4 | 0.22.0-150400.3.6.1 | Not reported | SUSE-SU-2023:4089-1 | Not reported |
| Suse | opensc | rpm | linux enterprise micro 5.5 | 0.22.0-150400.3.6.1 | Not reported | SUSE-SU-2023:4089-1 | Not reported |
| Suse | opensc | rpm | linux enterprise module for basesystem 15 sp4 | 0.22.0-150400.3.6.1 | Not reported | SUSE-SU-2023:4089-1 | Not reported |
| Suse | opensc | rpm | linux enterprise module for basesystem 15 sp5 | 0.22.0-150400.3.6.1 | Not reported | SUSE-SU-2023:4089-1 | Not reported |
| Suse | opensc | rpm | linux enterprise high performance computing 15 sp1-ltss | 0.19.0-150100.3.25.1 | Not reported | SUSE-SU-2023:4104-1 | Not reported |
| Suse | opensc | rpm | linux enterprise high performance computing 15 sp2-ltss | 0.19.0-150100.3.25.1 | Not reported | SUSE-SU-2023:4104-1 | Not reported |
| Suse | opensc | rpm | linux enterprise high performance computing 15 sp3-espos | 0.19.0-150100.3.25.1 | Not reported | SUSE-SU-2023:4104-1 | Not reported |
| Suse | opensc | rpm | linux enterprise high performance computing 15 sp3-ltss | 0.19.0-150100.3.25.1 | Not reported | SUSE-SU-2023:4104-1 | Not reported |
| Suse | opensc | rpm | linux enterprise server 15 sp1-ltss | 0.19.0-150100.3.25.1 | Not reported | SUSE-SU-2023:4104-1 | Not reported |
| Suse | opensc | rpm | linux enterprise server 15 sp2-ltss | 0.19.0-150100.3.25.1 | Not reported | SUSE-SU-2023:4104-1 | Not reported |
| Suse | opensc | rpm | linux enterprise server 15 sp3-ltss | 0.19.0-150100.3.25.1 | Not reported | SUSE-SU-2023:4104-1 | Not reported |
| Suse | opensc | rpm | linux enterprise server for sap applications 15 sp1 | 0.19.0-150100.3.25.1 | Not reported | SUSE-SU-2023:4104-1 | Not reported |
| Suse | opensc | rpm | linux enterprise server for sap applications 15 sp2 | 0.19.0-150100.3.25.1 | Not reported | SUSE-SU-2023:4104-1 | Not reported |
| Suse | opensc | rpm | linux enterprise server for sap applications 15 sp3 | 0.19.0-150100.3.25.1 | Not reported | SUSE-SU-2023:4104-1 | Not reported |
| Suse | opensc | rpm | manager proxy 4.2 | 0.19.0-150100.3.25.1 | Not reported | SUSE-SU-2023:4104-1 | Not reported |
| Suse | opensc | rpm | manager server 4.2 | 0.19.0-150100.3.25.1 | Not reported | SUSE-SU-2023:4104-1 | Not reported |
| Suse | opensc | rpm | linux enterprise micro 5.1 | 0.19.0-150100.3.25.1 | Not reported | SUSE-SU-2023:4104-1 | Not reported |
| Suse | opensc | rpm | linux enterprise micro 5.2 | 0.19.0-150100.3.25.1 | Not reported | SUSE-SU-2023:4104-1 | Not reported |
| Suse | opensc | rpm | enterprise storage 7.1 | 0.19.0-150100.3.25.1 | Not reported | SUSE-SU-2023:4104-1 | Not reported |
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
References
- [https://access.redhat.com/errata/RHSA-2023:7879]
- [https://ftp.suse.com/pub/projects/security/csaf/rhsa-2023_7876.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2023-40660]
- [https://osv.dev/vulnerability/DLA-3668-1]
- [https://osv.dev/vulnerability/SUSE-SU-2023:4089-1]
- [https://osv.dev/vulnerability/SUSE-SU-2023:4104-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2023-40660]
- [https://osv.dev/vulnerability/openSUSE-SU-2024:13314-1]
- [https://security-tracker.debian.org/tracker/CVE-2023-40660]
- [https://ubuntu.com/security/notices/USN-7346-1]
- [https://wid.cert-bund.de/.well-known/csaf/white/2023/wid-sec-w-2023-2500.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX] · [Ubuntu Security Notices (USN)]