Skip to content
OpenAdvisories
Medium USN-8686-1 2 CVEs

opencryptoki vulnerabilities

Published Aug 27, 2026 · Updated Aug 31, 2026

Summary

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)

Fixed packages 2

ReleasePackageFixed in
Ubuntu · 22.04 LTS 22.04:LTS opencryptoki 3.17.0+dfsg+20220202.b40982e-0ubuntu1.3
Ubuntu · 24.04 LTS 24.04:LTS opencryptoki 3.23.0+dfsg-0ubuntu3.1

Vulnerabilities 2

  • Medium 6.8

    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 plan…

  • Medium 6.8

    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…

References

  • report
    https://ubuntu.com/security/CVE-2026-23893
  • report
    https://ubuntu.com/security/CVE-2026-40253