Unchecked Return Value in Opencryptoki - #VU167214

 

Unchecked Return Value in Opencryptoki - #VU167214

Published: November 18, 2026


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

Vulnerability details

The vulnerability allows a remote attacker to weaken cryptographic protection and disclose residual process memory.

The vulnerability exists due to unchecked return values in Opencryptoki DES/3DES key generation, per-object encryption key generation, and PIN salt initialization when random number generation fails. A remote attacker can exhaust process file descriptors before affected operations to cause leftover heap or stack bytes to become cryptographic keys or salts, potentially exposing stack addresses through salts stored in NVTOK.DAT.


Affected software

Opencryptoki

Remediation

Install security update from vendor's website.

Opencryptoki - update to 3.28.0

External References

Related Security Bulletins