---
title: 'USN-8707-1: openCryptoki vulnerabilities | Ubuntu security notices'
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/notices/USN-8707-1
---

1. [Ubuntu Security Notices](https://ubuntu.com/security/notices)
2. USN-8707-1

---

# USN-8707-1: openCryptoki vulnerabilities

Publication date

31 August 2026

Overview

Several security issues were fixed in openCryptoki.

Releases

[26.04 LTS](https://ubuntu.com/security/notices?release=resolute)

---

Open side navigation

## Packages

* [opencryptoki](https://ubuntu.com/security/cves?package=opencryptoki) - A PKCS#11 Cryptographic Token Interface Standard implementation.

## Details

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](https://ubuntu.com/security/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](https://ubuntu.com/security/CVE-2026-23893))

It was discovered that the CKM\_ECDH\_AES\_KEY\_WRAP implementation had a heap
buffer overflow vulnerability. An attacker could possibly use this issue to
trigger heap corruption, or denial-of-service. ([CVE-2026-22791](https://ubuntu.com/security/CVE-2026-22791))

## Update instructions

In general, a standard system update will make all the necessary changes.

[Learn more about how to get the fixes.](https://ubuntu.com/security/cves/about#security)

The problem can be corrected by updating your system to the following package versions:

| Ubuntu Release | Package Version |
| --- | --- |
| 26.04 LTS resolute | [libopencryptoki-dev](https://launchpad.net/ubuntu/+source/opencryptoki) –  [3.26.0+dfsg-0ubuntu1.1](https://launchpad.net/ubuntu/+source/opencryptoki/3.26.0+dfsg-0ubuntu1.1) | | |
| [libopencryptoki0](https://launchpad.net/ubuntu/+source/opencryptoki) –  [3.26.0+dfsg-0ubuntu1.1](https://launchpad.net/ubuntu/+source/opencryptoki/3.26.0+dfsg-0ubuntu1.1) | | |
| [opencryptoki](https://launchpad.net/ubuntu/+source/opencryptoki) –  [3.26.0+dfsg-0ubuntu1.1](https://launchpad.net/ubuntu/+source/opencryptoki/3.26.0+dfsg-0ubuntu1.1) | | |

---

### Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.

[Get Ubuntu Pro](https://ubuntu.com/pro)

## References

* [CVE-2026-40253](https://ubuntu.com/security/CVE-2026-40253)
* [CVE-2026-23893](https://ubuntu.com/security/CVE-2026-23893)
* [CVE-2026-22791](https://ubuntu.com/security/CVE-2026-22791)

## Related notices

* [USN-8686-1](https://ubuntu.com/security/notices/USN-8686-1)
