Approved changes feed: RSS · Atom

cpe:2.3:a:opencryptoki_project:opencryptoki:*:*:*:*:*:*:*:*

part: a version: * update: *

VendorOpencryptoki Project (7cc4a4ba-4134-5fb0-a30d-52d7b45acc72)
ProductOpencryptoki (13eccae4-1514-5a6e-ab16-badbd7b5bf74)
Edition*
Language*
Software edition*
Target software*
Target hardware*
Other*

Notes

Imported from purl2cpe mapping

PURL mappings

PURLSourceLast updated
pkg:deb/debian/opencryptoki purl2cpe 2026-06-01 10:13:17.396283
pkg:deb/ubuntu/opencryptoki purl2cpe 2026-06-01 10:13:17.396286
pkg:github/opencryptoki/opencryptoki purl2cpe 2026-06-01 10:13:17.396289
pkg:rpm/centos/opencryptoki purl2cpe 2026-06-01 10:13:17.396292
pkg:rpm/fedora/opencryptoki purl2cpe 2026-06-01 10:13:17.396294
pkg:rpm/opensuse/opencryptoki purl2cpe 2026-06-01 10:13:17.396297
pkg:sourceforge/opencryptoki purl2cpe 2026-06-01 10:13:17.396300

Vulnerability references

IdentifiercpeApplicabilitySubmitteddb.gcve.eu detailsRationale
CVE:CVE-2026-40253 vulnerable 2026-06-08 08:01:20.083903 openCryptoki: Memory safety vulnerabilities in BER/DER decoders in asn1.c
MEDIUM (6.8)
openCryptoki is a PKCS#11 library and provides tooling for Linux and AIX. In versions 3.26.0 and below, the BER/DER decoding functions in the shared common library (asn1.c) accept a raw pointer but no buffer length parameter, and trust attacker-controlled BER length fields without validating them against actual buffer boundaries. All primitive decoders are affected: ber_decode_INTEGER, ber_decode_SEQUENCE, ber_decode_OCTET_STRING, ber_decode_BIT_STRING, and ber_decode_CHOICE. Additionally, ber_decode_INTEGER can produce integer underflows when the encoded length is zero. An attacker supplying a malformed BER-encoded cryptographic object through PKCS#11 operations such as C_CreateObject or C_UnwrapKey, token loading from disk, or remote backend communication can trigger out-of-bounds reads. This affects all token backends (Soft, ICA, CCA, TPM, EP11, ICSF) since the vulnerable code is in the shared common library. A patch is available thorugh commit ed378f463ef73364c89feb0fc923f4dc867332a3.
Published: 2026-04-16T22:04:44.005Z
Updated: 2026-04-17T12:27:41.682Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-23893 vulnerable 2026-06-08 07:51:16.401313 openCryptoki has improper link resolution before file access (link following)
MEDIUM (6.8)
openCryptoki is a PKCS#11 library and provides tooling for Linux and AIX. Versions 2.3.2 and above are vulnerable to symlink-following when running in privileged contexts. A token-group user can redirect file operations to arbitrary filesystem targets by planting symlinks in group-writable token directories, resulting in privilege escalation or data exposure. Token and lock directories are 0770 (group-writable for token users), so any token-group member can plant files and symlinks inside them. When run as root, the base code handling token directory file access, as well as several openCryptoki tools used for administrative purposes, may reset ownership or permissions on existing files inside the token directories. An attacker with token-group membership can exploit the system when an administrator runs a PKCS#11 application or administrative tool that performs chown on files inside the token directory during normal maintenance. This issue is fixed in commit 5e6e4b4, but has not been included in a released version at the time of publication.
Published: 2026-01-22T00:01:43.521Z
Updated: 2026-01-22T21:52:09.433Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2024-0914 vulnerable 2026-06-08 06:22:03.126001 Opencryptoki: timing side-channel in handling of rsa pkcs#1 v1.5 padded ciphertexts (marvin)
MEDIUM (5.9)
A timing side-channel vulnerability has been discovered in the opencryptoki package while processing RSA PKCS#1 v1.5 padded ciphertexts. This flaw could potentially enable unauthorized RSA ciphertext decryption or signing, even without access to the corresponding private key.
Published: 2024-01-31T04:53:28.508Z
Updated: 2026-11-05T11:39:54.980Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2021-3798 vulnerable 2026-06-08 05:33:54.112690 Details available
A flaw was found in openCryptoki. The openCryptoki Soft token does not check if an EC key is valid when an EC key is created via C_CreateObject, nor when C_DeriveKey is used with ECDH public data. This may allow a malicious user to extract the private key by performing an invalid curve attack.
Published: 2022-08-23T15:48:58.000Z
Updated: 2024-08-03T17:09:09.595Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2012-4454 vulnerable 2026-06-08 05:02:17.672926 Details available
openCryptoki before 2.4.1, when using spinlocks, allows local users to create or set world-writable permissions on arbitrary files via a symlink attack on the (1) .pkapi_xpk or (2) .pkcs11spinloc file in /tmp.
Published: 2012-10-10T18:00:00.000Z
Updated: 2024-08-06T20:35:09.682Z
Reference links
Imported from gcve-enriched-dumps CVE data

Contribute

You can submit an edit proposal for this CPE entry or suggest a related product/vendor addition using the action button above.

Inspect record JSON

Open JSON directly

Open this panel to browse, search, copy or download the JSON record.