Skip to content
OpenAdvisories
Medium · 6.6 CVE-2026-22791 EUVD-2026-2415

openCryptoki incorrectly calculates the buffer size in C_WrapKey with CKM_ECDH_AES_KEY_WRAP

Published Jan 13, 2026 · Updated Jan 13, 2026 · Assigned by GitHub_M

Description

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.

Affected products

VendorProductAffectedFixed
opencryptoki opencryptoki >= 3.25.0, <= 3.26.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 26.04 LTS opencryptoki 3.26.0+dfsg-0ubuntu1.1 USN-8707-1
Ubuntu 25.10 opencryptoki No fix yet —
ReleasePackageFixed inAdvisory
SLES 15 SP7 openCryptoki 3.26.0-150700.5.9.1 SUSE-SU-2026:0291-1
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 16.0 openCryptoki 3.26.0-160000.1.1 SUSE-SU-2026:22365-1, SUSE-SU-2026:20434-1
SLES 16.0 openCryptoki 3.26.0-160000.1.1 SUSE-SU-2026:22365-1, SUSE-SU-2026:20434-1
SLE Micro 6.2 openCryptoki 3.26.0-160000.1.1 SUSE-SU-2026:22293-1, SUSE-SU-2026:20345-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed openCryptoki 3.26.0-3.1 openSUSE-SU-2026:10048-1
openSUSE Leap 16.0 openCryptoki 3.26.0-160000.1.1 openSUSE-SU-2026:21059-1, openSUSE-SU-2026:20233-1

Advisories 9

References