Vulnerability · Published Jan 13, 2026 · Assigned by GitHub_M

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

Medium 6.6

In plain English

A medium-severity security flaw in opencryptoki from opencryptoki. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 21% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.6Medium
Exploit odds (30 days)0.3%top 78.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Ubuntu:25.10opencryptokino fix listedUBUNTU-CVE-2026-22791
Ubuntu:26.04:LTSopencryptoki3.26.0+dfsg-0ubuntu1.1USN-8707-1
Ubuntu:26.04:LTSopencryptoki3.26.0+dfsg-0ubuntu1.1UBUNTU-CVE-2026-22791

Affected products (as reported)

VendorProductVersions
opencryptoki opencryptoki >= 3.25.0, <= 3.26.0

Weakness: CWE-131 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H

References