p PatchFirst

PatchFirst · Latest vulnerabilities

opencryptoki vulnerabilities

Vulnerabilities published for opencryptoki in the last 30 days: 0. Listed in the KEV catalogue: 0.

Filter vulnerabilities
Clear filters

Vulnerabilities: 5

  1. USN-8686-1

    UpdateNot ratedFix available

    opencryptoki vulnerabilities

    It was discovered that primitive decoders in openCryptoki produced integer underflows when the encoded length was zero. An attacker could possibly use this issue to trigger out-of-bounds reads. (CVE-2026-40253) It was discovered that openCryptoki incorrectly handled symlinks. An attacker in the token-group could possibly use this issue to achieve privilege escalation or access sensitive information. (CVE-2026-23893)

    • Update to 3.17.0+dfsg+20220202.b40982e-0ubuntu1.3
    Published Updated
  2. CVE-2026-40253

    Medium · CVSS 6.8EPSS 0.17%Fix available

    openCryptoki: Memory safety vulnerabilities in BER/DER decoders in asn1.c

    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 throu

    • Update to 3.17.0+dfsg+20220202.b40982e-0ubuntu1.3
    Published Updated
  3. CVE-2026-23893

    Medium · CVSS 6.8EPSS 0.18%Fix available

    openCryptoki has improper link resolution before file access (link following)

    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 rese

    • Update to 3.17.0+dfsg+20220202.b40982e-0ubuntu1.3
    Published Updated
  4. CVE-2024-0914

    Medium · CVSS 5.9EPSS 0.87%No fix published

    Opencryptoki: timing side-channel in handling of rsa pkcs#1 v1.5 padded ciphertexts (marvin)

    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 Updated
  5. CVE-2021-3798

    Medium · CVSS 5.5EPSS 0.29%No fix published

    CVE-2021-3798

    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 Updated

Check your server

Check your installed stack and versions against the current vulnerability feeds.

Check your server →