Cryptographic issues in OpenSC - CVE-2023-5992
Published: March 1, 2024 / Updated: April 2, 2026
Vulnerability identifier: #VU86937
CSH Severity: Low
CVSS v4: 6.3 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2023-5992
CWE-ID: CWE-310
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a remote attacker to gain access to sensitive information.
The vulnerability exists due to the PKCS#1 encryption padding removal is not implemented as side-channel resistant. A remote attacker can gain access to sensitive data.
Affected software
OpenSC
Amazon Linux AMI
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise High Performance Computing 12
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise Micro
SUSE Linux Enterprise Micro for Rancher
openSUSE Leap Micro
Anolis OS
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for x86_64
Basesystem Module
openSUSE Leap
Ubuntu
Fedora
opensc-pkcs11 (Ubuntu package)
opensc (Ubuntu package)
opensc-debugsource
opensc-debuginfo
opensc
opensc-doc
opensc (Red Hat package)
opensc-64bit-debuginfo
opensc-32bit-debuginfo
opensc-64bit
opensc-32bit
Amazon Linux AMI
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise High Performance Computing 12
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise Micro
SUSE Linux Enterprise Micro for Rancher
openSUSE Leap Micro
Anolis OS
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for x86_64
Basesystem Module
openSUSE Leap
Ubuntu
Fedora
opensc-pkcs11 (Ubuntu package)
opensc (Ubuntu package)
opensc-debugsource
opensc-debuginfo
opensc
opensc-doc
opensc (Red Hat package)
opensc-64bit-debuginfo
opensc-32bit-debuginfo
opensc-64bit
opensc-32bit
How to mitigate CVE-2023-5992
Install updates from vendor's website.
OpenSC - update to 0.25.0 rc1
opensc-pkcs11 (Ubuntu package) - addressed in versions Ubuntu Pro, 0.25.1-2ubuntu1.1
opensc (Ubuntu package) - addressed in versions Ubuntu Pro, 0.25.1-2ubuntu1.1
opensc-debugsource - addressed in versions 0.13.0-3.28.1, 0.19.0-150100.3.28.1, 0.22.0-150400.3.9.1, 0.22.0-150600.11.6.1
opensc-debuginfo - addressed in versions 0.13.0-3.28.1, 0.19.0-150100.3.28.1, 0.22.0-150400.3.9.1, 0.22.0-150600.11.6.1
opensc - addressed in versions 0.13.0-3.28.1, 0.19.0-150100.3.28.1, 0.22.0-150400.3.9.1, 0.22.0-150600.11.6.1
opensc-doc - addressed in versions 0.20.0-7.0.1, 0.25.0-1
opensc - addressed in versions 0.20.0-7.0.1, 0.25.0-1
opensc (Red Hat package) - addressed in versions 0.20.0-8.el8_9, 0.23.0-4.el9_3
opensc-64bit-debuginfo - addressed in versions 0.22.0-150400.3.9.1, 0.22.0-150600.11.6.1
opensc-32bit-debuginfo - addressed in versions 0.22.0-150400.3.9.1, 0.22.0-150600.11.6.1
opensc-64bit - addressed in versions 0.22.0-150400.3.9.1, 0.22.0-150600.11.6.1
opensc-32bit - addressed in versions 0.22.0-150400.3.9.1, 0.22.0-150600.11.6.1
opensc - update to 0.24.0-1
opensc - addressed in versions 0.25.0-1.fc38, 0.25.0-1.fc39, 0.25.0-1.fc40
opensc-pkcs11 (Ubuntu package) - addressed in versions Ubuntu Pro, 0.25.1-2ubuntu1.1
opensc (Ubuntu package) - addressed in versions Ubuntu Pro, 0.25.1-2ubuntu1.1
opensc-debugsource - addressed in versions 0.13.0-3.28.1, 0.19.0-150100.3.28.1, 0.22.0-150400.3.9.1, 0.22.0-150600.11.6.1
opensc-debuginfo - addressed in versions 0.13.0-3.28.1, 0.19.0-150100.3.28.1, 0.22.0-150400.3.9.1, 0.22.0-150600.11.6.1
opensc - addressed in versions 0.13.0-3.28.1, 0.19.0-150100.3.28.1, 0.22.0-150400.3.9.1, 0.22.0-150600.11.6.1
opensc-doc - addressed in versions 0.20.0-7.0.1, 0.25.0-1
opensc - addressed in versions 0.20.0-7.0.1, 0.25.0-1
opensc (Red Hat package) - addressed in versions 0.20.0-8.el8_9, 0.23.0-4.el9_3
opensc-64bit-debuginfo - addressed in versions 0.22.0-150400.3.9.1, 0.22.0-150600.11.6.1
opensc-32bit-debuginfo - addressed in versions 0.22.0-150400.3.9.1, 0.22.0-150600.11.6.1
opensc-64bit - addressed in versions 0.22.0-150400.3.9.1, 0.22.0-150600.11.6.1
opensc-32bit - addressed in versions 0.22.0-150400.3.9.1, 0.22.0-150600.11.6.1
opensc - update to 0.24.0-1
opensc - addressed in versions 0.25.0-1.fc38, 0.25.0-1.fc39, 0.25.0-1.fc40
External References
- https://access.redhat.com/security/cve/CVE-2023-5992
- https://bugzilla.redhat.com/show_bug.cgi?id=2248685
- https://github.com/OpenSC/OpenSC/wiki/CVE-2023-5992
- https://access.redhat.com/errata/RHSA-2024:0966
- https://access.redhat.com/errata/RHSA-2024:0967
- https://github.com/OpenSC/OpenSC/security/advisories/GHSA-h6ww-xfc2-jw4h
Related Security Bulletins
- Multiple vulnerabilities in OpenSC
- Red Hat Enterprise Linux 9 update for opensc
- Red Hat Enterprise Linux 8 update for opensc
- Fedora 38 update for opensc
- Fedora 39 update for opensc
- Fedora 40 update for opensc
- SUSE update for opensc
- SUSE update for opensc
- SUSE update for opensc
- Amazon Linux AMI update for opensc
- Ubuntu update for opensc
- Ubuntu update for opensc
- Anolis OS update for opensc
- Ubuntu update for opensc
- Anolis OS update for opensc
- SUSE update for opensc