Out-of-bounds read in Opencryptoki - CVE-2026-40253
Published: April 14, 2026
Vulnerability details
The vulnerability allows a remote attacker to disclose sensitive information and cause a denial of service.
The vulnerability exists due to out-of-bounds read in BER/DER decoding functions in usr/lib/common/asn1.c when parsing malformed BER-encoded cryptographic objects with attacker-controlled length fields. A remote attacker can supply a specially crafted key or certificate to disclose sensitive information and cause a denial of service.
The issue affects the shared common library and impacts all token backends, including Soft, ICA, CCA, TPM, EP11, and ICSF.
Affected software
SUSE Linux Enterprise Server 12 SP5 LTSS Extended
SUSE Linux Enterprise Server for SAP Applications 12
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 Micro
SUSE Linux Enterprise Micro for Rancher
Red Hat CodeReady Linux Builder for IBM z Systems
Anolis OS
Red Hat CodeReady Linux Builder for ARM 64
Red Hat CodeReady Linux Builder for Power, little endian
Red Hat CodeReady Linux Builder for x86_64
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux Server - AUS
Red Hat CodeReady Linux Builder for ARM 64 - Extended Update Support
Red Hat CodeReady Linux Builder for IBM z Systems - Extended Update Support
Red Hat CodeReady Linux Builder for Power, little endian - Extended Update Support
Red Hat CodeReady Linux Builder for x86_64 - Extended Update Support
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Server Applications Module
openSUSE Leap
openEuler
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
openCryptoki-debuginfo
openCryptoki-devel
openCryptoki-64bit
openCryptoki
openCryptoki-debugsource
openCryptoki-64bit-debuginfo
openCryptoki-32bit
openCryptoki-32bit-debuginfo
opencryptoki-tpmtok
opencryptoki-swtok
opencryptoki-libs
opencryptoki-icsftok
opencryptoki-devel
opencryptoki
opencryptoki (Red Hat package)
openCryptoki-devel-debuginfo
opencryptoki-help
opencryptoki-debuginfo
opencryptoki-debugsource
How to mitigate CVE-2026-40253
openCryptoki-devel - addressed in versions 3.17.0-5.24.1, 3.17.0-150400.4.16.1, 3.23.0-150500.3.15.1, 3.23.0-150500.3.18.1, 3.26.0-150700.5.17.1
openCryptoki-64bit - addressed in versions 3.17.0-5.24.1, 3.17.0-150400.4.16.1, 3.23.0-150500.3.15.1, 3.23.0-150500.3.18.1, 3.26.0-150700.5.17.1
openCryptoki - addressed in versions 3.17.0-5.24.1, 3.17.0-150400.4.16.1, 3.23.0-150500.3.15.1, 3.23.0-150500.3.18.1, 3.26.0-150700.5.17.1
openCryptoki-debugsource - addressed in versions 3.17.0-5.24.1, 3.17.0-150400.4.16.1, 3.23.0-150500.3.15.1, 3.23.0-150500.3.18.1, 3.26.0-150700.5.17.1
openCryptoki-64bit-debuginfo - addressed in versions 3.17.0-150400.4.16.1, 3.23.0-150500.3.15.1, 3.23.0-150500.3.18.1, 3.26.0-150700.5.17.1
openCryptoki-32bit - addressed in versions 3.17.0-150400.4.16.1, 3.23.0-150500.3.15.1, 3.23.0-150500.3.18.1
openCryptoki-32bit-debuginfo - addressed in versions 3.17.0-150400.4.16.1, 3.23.0-150500.3.15.1, 3.23.0-150500.3.18.1
opencryptoki-tpmtok - update to 3.22.0-3
opencryptoki-swtok - update to 3.22.0-3
opencryptoki-libs - update to 3.22.0-3
opencryptoki-icsftok - update to 3.22.0-3
opencryptoki-devel - update to 3.22.0-3
opencryptoki - update to 3.22.0-3
opencryptoki (Red Hat package) - addressed in versions 3.22.0-3.el8_10.3, 3.22.0-3.el9_4.3, 3.24.0-6.el10_0.2
openCryptoki-devel-debuginfo - addressed in versions 3.23.0-150500.3.15.1, 3.23.0-150500.3.18.1
opencryptoki - update to 3.26.0-2
opencryptoki-help - update to 3.26.0-2
opencryptoki-debuginfo - update to 3.26.0-2
opencryptoki-debugsource - update to 3.26.0-2
opencryptoki-devel - update to 3.26.0-2
External References
Related Security Bulletins
- Denial of service in Opencryptoki
- SUSE update for openCryptoki
- openEuler 24.03 LTS SP1 update for opencryptoki
- openEuler 24.03 LTS update for opencryptoki
- openEuler 22.03 LTS SP4 update for opencryptoki
- openEuler 24.03 LTS SP3 update for opencryptoki
- SUSE update for openCryptoki
- SUSE update for openCryptoki
- Red Hat Enterprise Linux 8 update for opencryptoki
- Anolis OS update for opencryptoki
- SUSE update for openCryptoki
- Red Hat Enterprise Linux 9 update for opencryptoki
- SUSE update for openCryptoki
- Red Hat Enterprise Linux 10 update for opencryptoki