Skip to content
OpenAdvisories
Medium openSUSE-SU-2026:21059-1 3 CVEs

Security update for openCryptoki

Published Jun 25, 2026 · Updated Jun 30, 2026

Summary

This update for openCryptoki fixes the following issues

Upgrade openCryptoki to version 3.27 (jsc#PED-14609):

* Add base support for PKCS#11 v3.2.
* Add support for PKCS#11 v3.2 C_VerifySignature[Init|Update|Final].
* Add support for PKCS#11 v3.2 C_EncapsulateKey/C_DecapsulateKey.
* Soft/ICA/CCA/EP11: Add support for PKCS#11 v3.2 en-/decapsulate with RSA-PKCS and RSA-OAEP mechanisms.
* Soft/ICA/CCA/EP11: Add support for PKCS#11 v3.2 en-/decapsulate with the ECDH mechanism.
* Soft/EP11: Add support for PKCS#11 v3.2 en-/decapsulate with the DH-PKCS mechanism.
* Soft: Add support for PKCS#11 v3.2 ML-DSA and ML-KEM key types and mechanisms (requires OpenSSL 3.5 or later, or
the OQS-provider must be configured).
* CCA: Add support for PKCS#11 v3.2 ML-DSA key type and mechanisms (requires CCA v8.4 or later)
* EP11: Add support for PKCS#11 v3.2 ML-DSA and ML-KEM key types and mechanisms (requires an EP11 host library v4.2 or later,
and a CEX8P crypto card with firmware v9.6 or later on IBM z17, and v8.39 or later on IBM z16).
* p11sak: Add support for PKCS#11 v3.2 ML-DSA and ML-KEM key types.
* Soft/ICA: Add support for PKCS#11 v3.2 mechanisms CKM_ECDH_X_AES_KEY_WRAP and CKM_ECDH_COF_AES_KEY_WRAP.
* p11sak: Add support for key wrapping with PKCS#11 v3.2 mechanisms CKM_ECDH_X_AES_KEY_WRAP and CKM_ECDH_COF_AES_KEY_WRAP.
* Soft/ICA/CCA/EP11: Add support for PKCS#11 v3.2 mechanism CKM_PUB_KEY_FROM_PRIV_KEY.
* Soft/ICA/CCA/EP11: Add support for PKCS#11 v3.0 Edwards and Montgomery key types and mechanisms.
* Soft/ICA: Support CKM_ECDH_AES_KEY_WRAP also for Montgomery keys.
* p11sak: Add support for PKCS#11 v3.0 Edwards and Montgomery key types.
* Soft: Add support for CKM_ECDH1_COFACTOR_DERIVE.
* CCA: Add support for additional RSA public exponent values 5, 17, or 257.
* p11sak: Add option to list-key command to show EP11 session IDs.
* Make the maximum number of token objects supported configurable.
* Fixes for CVE-2026-40253, CVE-2026-23893, and CVE-2026-22791.
* Bug fixes.

Fixed packages 1

ReleasePackageFixed in
openSUSE · Leap 16.0 openCryptoki 3.27.0-160000.1.1

Vulnerabilities 3

  • Medium 6.8

    openCryptoki has improper link resolution before file access (link following)

    openCryptoki is a PKCS#11 library and provides tooling for Linux and AIX. Versions 2.3.2 and above are vulnerable to symlink-following when running in privileged contexts. A token-group user can redirect file operations to arbitrary filesystem targets by plan…

  • Medium 6.8

    openCryptoki: Memory safety vulnerabilities in BER/DER decoders in asn1.c

    openCryptoki is a PKCS#11 library and provides tooling for Linux and AIX. In versions 3.26.0 and below, the BER/DER decoding functions in the shared common library (asn1.c) accept a raw pointer but no buffer length parameter, and trust attacker-controlled BER…

  • Medium 6.6

    openCryptoki incorrectly calculates the buffer size in C_WrapKey with CKM_ECDH_AES_KEY_WRAP

    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 proce…

References

  • report
    https://bugzilla.suse.com/1268745
  • web
    https://www.suse.com/security/cve/CVE-2026-22791
  • web
    https://www.suse.com/security/cve/CVE-2026-23893
  • web
    https://www.suse.com/security/cve/CVE-2026-40253