openCryptoki incorrectly calculates the buffer size in C_WrapKey with CKM_ECDH_AES_KEY_WRAP
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- Low · Low · High
- Fix status
- Deferred Red Hat: fix deferred
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat.
Summary
openCryptoki is a PKCS#11 library and tools for Linux and AIX. In 3.25.0 and 3.26.0, there is a heap buffer overflow vulnerability in the CKM_ECDH_AES_KEY_WRAP implementation allows an attacker with local access to cause out-of-bounds writes in the host process by supplying a compressed EC public key and invoking C_WrapKey. This can lead to heap corruption, or denial-of-service.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| opencryptoki | opencryptoki | 3.25.0 – 3.26.0 | — | No fix listed | CNA |
- opencryptoki Vendoropencryptoki Affected 3.25.0 – 3.26.0 Fixed in — No fix listed CNA
CPE configurations NVD · 2
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:opencryptoki_project:opencryptoki:3.25.0:*:*:*:*:*:*:* | 3.25.0 | Vulnerable | opencryptoki |
| cpe:2.3:a:opencryptoki_project:opencryptoki:3.26.0:*:*:*:*:*:*:* | 3.26.0 | Vulnerable | opencryptoki |
- cpe:2.3:a:opencryptoki_project:opencryptoki:3.25.0:*:*:*:*:*:*:* Versions 3.25.0 Vulnerable ·opencryptoki
- cpe:2.3:a:opencryptoki_project:opencryptoki:3.26.0:*:*:*:*:*:*:* Versions 3.26.0 Vulnerable ·opencryptoki
Remediation
No fixed version listed by the sources yet.
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 10 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 9 | Affected | No fix yet: Fix deferred |
Not affected: 3 products
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
Timeline
- 2026-10-02 Threatist record created from CVE-2026-22791
References
More Opencryptoki vulnerabilities
- TI-2026-29047 openCryptoki: Memory safety vulnerabilities in BER/DER decoders in asn1.c CVSS 3.1MEDIUM 6.8
- TI-2026-19251 openCryptoki has improper link resolution before file access (link following) CVSS 3.1MEDIUM 6.8
- TI-2024-00843 Opencryptoki: timing side-channel in handling of rsa pkcs#1 v1.5 padded ciphertexts (marvin) CVSS 3.1MEDIUM 5.9
- TI-2012-03797 openCryptoki 2.4.1 allows local users to create or set world-writable permissions on… CVSS 2.0MEDIUM 6.2
- TI-2021-02729 Information disclosure in opencryptoki CVSS 3.1MEDIUM 5.5
- TI-2012-03796 openCryptoki before 2.4.1, when using spinlocks, allows local users to create or set… CVSS 2.0LOW 2.9
Sources
- CVE-2026-22791 · CVE Program
- CVE-2026-22791 · NVD
- FIRST EPSS
- CVE-2026-22791 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences