Heap-based buffer overflow in Opencryptoki - #VU167216
Published: November 18, 2026
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.