Skip to content

CVE-2026-22791 openCryptoki incorrectly calculates the buffer size in C_WrapKey with CKM_ECDH_AES_KEY_WRAP

MediumCVSS 6.1 EPSS 0.28%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
UbuntuDebianRed Hat

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.

Upgrade path

5 packages: 1 fixed, 2 with no fix yet.

PackageAffectedFixed inStatus
redhat/opencryptoki(Red Hat enterprise_linux 10) All versions No fix listed No fix yet
redhat/opencryptoki(Red Hat enterprise_linux 9) All versions No fix listed No fix yet
ubuntu/opencryptoki(Ubuntu 26.04) < 3.26.0+dfsg-0ubuntu1.1 3.26.0+dfsg-0ubuntu1.1 Fixed
opencryptoki = >= 3.25.0, <= 3.26.0 No fix listed Versions listed
opencryptoki project opencryptoki = 3.25.0; = 3.26.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
opencryptoki = >= 3.25.0, <= 3.26.0 No fix listed
redhat/opencryptoki(Red Hat:enterprise_linux:10) All versions No fix listed
redhat/opencryptoki(Red Hat:enterprise_linux:9) All versions No fix listed
ubuntu/opencryptoki(Ubuntu:26.04) < 3.26.0+dfsg-0ubuntu1.1 3.26.0+dfsg-0ubuntu1.1
opencryptoki project opencryptoki = 3.25.0 No fix listed
opencryptoki project opencryptoki = 3.26.0 No fix listed

References