CVSS 3.1
6.1 mediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:HMedium (6.1) in opencryptoki project opencryptoki. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:HExplain CVE-2026-40253 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-40253?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-40253?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-40253 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| opencryptoki_project:opencryptoki | through 3.26.0 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12 | opencryptoki | no fix listed | DEBIAN-CVE-2026-40253 |
| Debian | 13 | opencryptoki | 3.23.0+dfsg-0.3+deb13u1 | DEBIAN-CVE-2026-40253 |
| Debian | 14 | opencryptoki | 3.27.0-1 | DEBIAN-CVE-2026-40253 |
| Ubuntu | 16.04:LTS, 18.04:LTS, 20.04:LTS and 1 more | opencryptoki | no fix listed | UBUNTU-CVE-2026-40253 |
| Ubuntu | 22.04:LTS | opencryptoki | 3.17.0+dfsg+20220202.b40982e-0ubuntu1.3 | UBUNTU-CVE-2026-40253 USN-8686-1 |
| Ubuntu | 24.04:LTS | opencryptoki | 3.23.0+dfsg-0ubuntu3.1 | UBUNTU-CVE-2026-40253 USN-8686-1 |
| Ubuntu | 26.04:LTS | opencryptoki | 3.26.0+dfsg-0ubuntu1.1 | UBUNTU-CVE-2026-40253 USN-8707-1 |
| Red Hat | enterprise_linux:8::baseos | opencryptoki, opencryptoki-libs, opencryptoki-swtok and 14 more | 0:3.22.0-3.el8_10.3 | RHSA-2026:26352 |
| Red Hat | enterprise_linux:8::crb | opencryptoki-devel, opencryptoki-debuginfo, opencryptoki-debugsource and 7 more | 0:3.22.0-3.el8_10.3 | RHSA-2026:26352 |
| Red Hat | enterprise_linux:9::baseos | opencryptoki, opencryptoki-libs, opencryptoki-swtok and 12 more | 0:3.26.0-2.el9_8.2 | RHSA-2026:28256 |
| Red Hat | enterprise_linux:9::crb | opencryptoki-devel, opencryptoki-debuginfo, opencryptoki-debugsource and 6 more | 0:3.26.0-2.el9_8.2 | RHSA-2026:28256 |
| Red Hat | enterprise_linux:10.2 | opencryptoki, opencryptoki-libs, opencryptoki-devel and 13 more | 0:3.26.0-3.el10_2.1 | RHSA-2026:28231 |
| Red Hat | enterprise_linux_eus:10.0 | opencryptoki, opencryptoki-libs, opencryptoki-devel and 13 more | 0:3.24.0-6.el10_0.2 | RHSA-2026:36697 |
| Red Hat | rhel_e4s:9.4::baseos | opencryptoki, opencryptoki-libs, opencryptoki-swtok and 12 more | 0:3.22.0-3.el9_4.3 | RHSA-2026:33519 |
| Red Hat | rhel_eus:9.6::baseos | opencryptoki, opencryptoki-libs, opencryptoki-swtok and 12 more | 0:3.24.0-5.el9_6.2 | RHSA-2026:36717 |
| Red Hat | rhel_eus:9.6::crb | opencryptoki-devel, opencryptoki-debuginfo, opencryptoki-debugsource and 6 more | 0:3.24.0-5.el9_6.2 | RHSA-2026:36717 |
| SUSE | Linux Enterprise Micro 5.4 | openCryptoki | 3.17.0-150400.4.16.1 | SUSE-SU-2026:2355-1 |
| SUSE | Linux Enterprise Module for Server Applications 15 SP7 | openCryptoki | 3.26.0-150700.5.17.1 | SUSE-SU-2026:2757-1 |
| SUSE | Linux Enterprise Server 12 SP5-LTSS | openCryptoki | 3.17.0-5.24.1 | SUSE-SU-2026:2685-2 |
| SUSE | Linux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0 | openCryptoki | 3.27.0-160000.1.1 | SUSE-SU-2026:22365-1 |
| SUSE | Linux Enterprise Server LTSS Extended Security 12 SP5 | openCryptoki | 3.17.0-5.24.1 | SUSE-SU-2026:2685-1 |
| SUSE | Linux Micro 6.2 | openCryptoki | 3.27.0-160000.1.1 | SUSE-SU-2026:22293-1 |
| openSUSE | Leap 16.0 | openCryptoki | 3.27.0-160000.1.1 | openSUSE-SU-2026:21059-1 |
| openSUSE | Tumbleweed | openCryptoki | 3.26.0-6.1 | openSUSE-SU-2026:10593-1 |
| AlmaLinux | 8 | opencryptoki, opencryptoki-libs, opencryptoki-devel and 6 more | 3.22.0-3.el8_10.3 | ALSA-2026:26352 |
| AlmaLinux | 9 | opencryptoki, opencryptoki-libs, opencryptoki-devel and 5 more | 3.26.0-2.el9_8.2 | ALSA-2026:28256 |
| AlmaLinux | 10 | opencryptoki, opencryptoki-libs, opencryptoki-devel and 5 more | 3.26.0-3.el10_2.1 | ALSA-2026:28231 |
| Rocky Linux | 8 | opencryptoki | 0:3.22.0-3.el8_10.3 | RLSA-2026:26352 |
| Rocky Linux | 9 | opencryptoki | 0:3.26.0-2.el9_8.2 | RLSA-2026:28256 |
| Rocky Linux | 10 | opencryptoki | 0:3.26.0-3.el10_2.1 | RLSA-2026:28231 |
| Azure Linux | 3 | opencryptoki | no fix listed | AZL-82982 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.
Red Hat rates this Moderate.
A moderate severity input validation flaw affects openCryptoki, the PKCS#11 (Cryptographic Token Interface Standard) implementation shipped in Red Hat Enterprise Linux. The BER/DER decoding functions in openCryptoki's shared common library (asn1.c) accept a raw pointer without a buffer length parameter and trust attacker-controlled BER length fields without validating them against the actual buffer boundaries. An attacker who can supply a malformed BER-encoded cryptographic object, for example through PKCS#11 operations such as C_CreateObject or C_UnwrapKey, through loading of a crafted token object from disk, or via remote backend communication, can trigger out-of-bounds reads and integer underflows, resulting in information disclosure and denial of service. Because the vulnerable code resides in the shared common library, all token backends (Soft, ICA, CCA, TPM, EP11, ICSF) are affected. The flaw is rated Moderate severity (CVSS 3.1 score 6.8, AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H), matching the upstream and CVEORG assessments; the NVD score (6.1) differs only marginally and does not change the severity classification. The openCryptoki package in Red Hat Enterprise Linux 6, 7, 8, 9, and 10 is affected: fixes are being pursued for maintained update streams, while the fix is deferred for several older update streams, where the residual risk remains the out-of-bounds read leading to information disclosure and denial of service. The related packages libica, openssl-ibmca, and openssl-ibmpkcs11, and Fedora's opencryptoki package, are not affected because the vulnerable code is not present.
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 10 | opencryptoki-0:3.26.0-3.el10_2.1 | Fixed 2026-06-23 | RHSA-2026:28231 |
| Red Hat Enterprise Linux 10.0 Extended Update Support | opencryptoki-0:3.24.0-6.el10_0.2 | Fixed 2026-07-08 | RHSA-2026:36697 |
| Red Hat Enterprise Linux 8 | opencryptoki-0:3.22.0-3.el8_10.3 | Fixed 2026-06-16 | RHSA-2026:26352 |
| Red Hat Enterprise Linux 9 | opencryptoki-0:3.26.0-2.el9_8.2 | Fixed 2026-06-23 | RHSA-2026:28256 |
| Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions | opencryptoki-0:3.22.0-3.el9_4.3 | Fixed 2026-06-30 | RHSA-2026:33519 |
| Red Hat Enterprise Linux 9.6 Extended Update Support | opencryptoki-0:3.24.0-5.el9_6.2 | Fixed 2026-07-08 | RHSA-2026:36717 |
| Red Hat Enterprise Linux 10 | libica | Not affected | |
| Red Hat Enterprise Linux 10 | openssl-ibmca | Not affected | |
| Red Hat Enterprise Linux 6 | libica | Not affected | |
| Red Hat Enterprise Linux 6 | opencryptoki | Out of support scope | |
| Red Hat Enterprise Linux 6 | openssl-ibmca | Not affected | |
| Red Hat Enterprise Linux 7 | libica | Not affected | |
| Red Hat Enterprise Linux 7 | opencryptoki | Fix deferred | |
| Red Hat Enterprise Linux 7 | openssl-ibmca | Not affected | |
| Red Hat Enterprise Linux 8 | libica | Not affected | |
| Red Hat Enterprise Linux 8 | openssl-ibmca | Not affected | |
| Red Hat Enterprise Linux 8 | openssl-ibmpkcs11 | Not affected | |
| Red Hat Enterprise Linux 9 | libica | Not affected | |
| Red Hat Enterprise Linux 9 | openssl-ibmca | Not affected |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-40253.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.