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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | OpenSC | 0.17.0 – < 0.24.0 | 0.24.0 |
| Red Hat | Red Hat Enterprise Linux 8 | — | — |
| Red Hat | Red Hat Enterprise Linux 9 | — | — |
| Red Hat | Red Hat Enterprise Linux 7 | — | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | opensc | 0.23.0-2 | — |
| Debian 13 | opensc | 0.23.0-2 | — |
| Debian 12 | opensc | 0.23.0-0.3+deb12u1 | — |
| Debian 11 | opensc | 0.21.0-1+deb11u1 | DLA-4004-1 |
| Debian 10 | opensc | 0.19.0-1+deb10u3 | DLA-3668-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 24.04 LTS | opensc | 0.25.0~rc1-1ubuntu0.1~esm1 | USN-7346-1 |
| Ubuntu Pro 22.04 LTS | opensc | 0.22.0-1ubuntu2+esm1 | USN-7346-1 |
| Ubuntu Pro 20.04 LTS | opensc | 0.20.0-3ubuntu0.1~esm4 | USN-7346-3, USN-7346-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 18.04 LTS | opensc | 0.17.0-3ubuntu0.1~esm2 | USN-7346-1 |
| Ubuntu Pro 16.04 LTS | opensc | 0.15.0-1ubuntu1+esm2 | USN-7346-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 9 | opensc | 0.23.0-3.el9_3 | RHSA-2023:7879 |
| RHEL 8 | opensc | 0.20.0-7.el8_9 | RHSA-2023:7876 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 9 | opensc | 0.23.0-3.el9_3 | ALSA-2023:7879 |
| AlmaLinux 8 | opensc | 0.20.0-7.el8_9 | ALSA-2023:7876 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP5 | opensc | 0.22.0-150400.3.6.1 | SUSE-SU-2023:4089-1 |
| SLES 15 SP4 | opensc | 0.22.0-150400.3.6.1 | SUSE-SU-2023:4089-1 |
| SLES 15 SP3 | opensc | 0.19.0-150100.3.25.1 | SUSE-SU-2023:4104-1 |
| SLES 15 SP2 | opensc | 0.19.0-150100.3.25.1 | SUSE-SU-2023:4104-1 |
| SLES 15 SP1 | opensc | 0.19.0-150100.3.25.1 | SUSE-SU-2023:4104-1 |
Show 14 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 15 SP3 | opensc | 0.19.0-150100.3.25.1 | SUSE-SU-2023:4104-1 |
| SLES for SAP 15 SP2 | opensc | 0.19.0-150100.3.25.1 | SUSE-SU-2023:4104-1 |
| SLES for SAP 15 SP1 | opensc | 0.19.0-150100.3.25.1 | SUSE-SU-2023:4104-1 |
| SLE Micro 5.5 | opensc | 0.22.0-150400.3.6.1 | SUSE-SU-2023:4089-1 |
| SLE Micro 5.4 | opensc | 0.22.0-150400.3.6.1 | SUSE-SU-2023:4089-1 |
| SLE Micro 5.3 | opensc | 0.22.0-150400.3.6.1 | SUSE-SU-2023:4089-1 |
| SLE Micro 5.2 | opensc | 0.19.0-150100.3.25.1 | SUSE-SU-2023:4104-1 |
| SLE Micro 5.1 | opensc | 0.19.0-150100.3.25.1 | SUSE-SU-2023:4104-1 |
| SLE HPC 15 SP3 | opensc | 0.19.0-150100.3.25.1 | SUSE-SU-2023:4104-1 |
| SLE HPC 15 SP2 | opensc | 0.19.0-150100.3.25.1 | SUSE-SU-2023:4104-1 |
| SLE HPC 15 SP1 | opensc | 0.19.0-150100.3.25.1 | SUSE-SU-2023:4104-1 |
| SUSE Manager Server 4.2 | opensc | 0.19.0-150100.3.25.1 | SUSE-SU-2023:4104-1 |
| SUSE Manager Proxy 4.2 | opensc | 0.19.0-150100.3.25.1 | SUSE-SU-2023:4104-1 |
| SUSE Enterprise Storage 7.1 | opensc | 0.19.0-150100.3.25.1 | SUSE-SU-2023:4104-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | opensc | 0.23.0-3.1 | openSUSE-SU-2024:13314-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | opensc | 0.24.0-r0 | — |
| Alpine v3.23 | opensc | 0.24.0-r0 | — |
| Alpine v3.22 | opensc | 0.24.0-r0 | — |
| Alpine v3.21 | opensc | 0.24.0-r0 | — |
| Alpine v3.20 | opensc | 0.24.0-r0 | — |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | opensc | 0.24.0-r0 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | opensc | 0.23.0-3.amzn2023.0.2 | ALAS2023-2023-417 |
| Amazon Linux 2 | opensc | 0.19.0-5.amzn2.0.2 | ALAS2-2023-2323 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | opensc | 0.25.1-3 | — |
| Azure Linux 2 (CBL-Mariner) | opensc | 0.23.0-4 | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 9 | opensc | 0.23.0-3.el9_3 | ELSA-2023-7879 |
| Oracle Linux 8 | opensc | 0.20.0-7.el8_9 | ELSA-2023-7876 |
Advisories 16
- ALSA-2023:7879 Moderate: opensc security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2023:7876 Moderate: opensc security update AlmaLinux Security Advisories · Oct 29, 2026
- USN-7346-1 opensc vulnerabilities Ubuntu Security Notices (USN) · Jun 25, 2026
- USN-7346-3 opensc vulnerabilities Ubuntu Security Notices (USN) · Apr 27, 2026
- RHSA-2023:7876 Red Hat Security Advisory: opensc security update Red Hat Security Advisories (RHSA) · Mar 18, 2026
- RHSA-2023:7879 Red Hat Security Advisory: opensc security update Red Hat Security Advisories (RHSA) · Mar 18, 2026
- DLA-3668-1 opensc - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-4004-1 opensc - security update Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2024:13314-1 opensc-0.23.0-3.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:4089-1 Security update for opensc SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:4104-1 Security update for opensc SUSE / openSUSE Security Updates · May 2, 2025
- WID-SEC-2023-2500 OpenSC: Mehrere Schwachstellen BSI CERT-Bund (WID) · Apr 9, 2025
- ELSA-2023-7879 Moderate: opensc security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · Dec 19, 2023
- ELSA-2023-7876 Moderate: opensc security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Dec 18, 2023
- ALAS2023-2023-417 Moderate: opensc security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Nov 3, 2023
- ALAS2-2023-2323 Moderate: opensc security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Nov 1, 2023
References
- RHSA-2023:7876 vendor-advisory
- RHSA-2023:7879 vendor-advisory
- https://access.redhat.com/security/cve/CVE-2023-40660 vdb-entry
- RHBZ#2240912 issue-tracking
- 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