Heap-based buffer overflow in Opencryptoki - #VU167216

 

Heap-based buffer overflow in Opencryptoki - #VU167216

Published: November 18, 2026


Vulnerability identifier: #VU167216
CSH Severity: Medium
CVSS v4: 7 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-122
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to corrupt application heap memory and cause a denial of service.

The vulnerability exists due to a heap-based buffer overflow in the openCryptoki Soft token when OpenSSL clears an undersized output buffer after a failed KWP integrity check. A remote attacker can supply non-authenticating wrapped data, at least 16 bytes long and a multiple of eight bytes, to C_Decrypt or C_UnwrapKey through CKM_AES_KEY_WRAP_KWP or the RSA-AES and ECDH-AES unwrap mechanisms to overwrite eight bytes beyond the buffer and crash the application.


Affected software

Opencryptoki

Remediation

Install security update from vendor's website.

Opencryptoki - update to 3.28.0

External References

Related Security Bulletins