Missing initialization of resource in OpenSC - CVE-2024-45615
Published: October 14, 2024 / Updated: April 2, 2026
Vulnerability details
The vulnerability allows an attacker to escalate privileges on the system.
The vulnerability exists due to missing initialization in OpenSC, OpenSC tools, PKCS#11 module, minidriver, and CTK. An attacker with physical access to the system can use a crafted USB Device or Smart Card, which would present the system with a specially crafted response to APDUs. When buffers are partially filled with data, initialized parts of the buffer can be incorrectly accessed.
Affected software
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise High Performance Computing 12
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise Micro
SUSE Linux Enterprise Micro for Rancher
openSUSE Leap Micro
Basesystem Module
openSUSE Leap
Ubuntu
openEuler
Anolis OS
opensc-pkcs11 (Ubuntu package)
opensc (Ubuntu package)
opensc
opensc-debuginfo
opensc-debugsource
opensc-help
opensc-32bit
opensc-64bit-debuginfo
opensc-64bit
opensc-32bit-debuginfo
opensc-libs
opensc-doc
How to mitigate CVE-2024-45615
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 - addressed in versions 0.13.0-3.31.1, 0.19.0-150100.3.31.1, 0.22.0-150400.3.12.1, 0.22.0-150600.11.3.1
opensc-debuginfo - addressed in versions 0.13.0-3.31.1, 0.19.0-150100.3.31.1, 0.22.0-150400.3.12.1, 0.22.0-150600.11.3.1
opensc-debugsource - addressed in versions 0.13.0-3.31.1, 0.19.0-150100.3.31.1, 0.22.0-150400.3.12.1, 0.22.0-150600.11.3.1
opensc-help - update to 0.21.0-11
opensc-debugsource - update to 0.21.0-11
opensc-debuginfo - update to 0.21.0-11
opensc - update to 0.21.0-11
opensc-32bit - addressed in versions 0.22.0-150400.3.12.1, 0.22.0-150600.11.3.1
opensc-64bit-debuginfo - addressed in versions 0.22.0-150400.3.12.1, 0.22.0-150600.11.3.1
opensc-64bit - addressed in versions 0.22.0-150400.3.12.1, 0.22.0-150600.11.3.1
opensc-32bit-debuginfo - addressed in versions 0.22.0-150400.3.12.1, 0.22.0-150600.11.3.1
opensc - update to 0.26.1-1
opensc-libs - update to 0.26.1-1
opensc-doc - update to 0.26.1-1