CVE-2026-22791
CVE-2026-22791 · openCryptoki incorrectly calculates the buffer size in C_WrapKey with CKM_ECDH_AES_KEY_WRAP
CVSS 6.6 · Medium · EPSS 0.3% · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- opencryptokiNo fix published
- opencryptoki Ubuntu 25.10No fix published
- opencryptoki Ubuntu 26.04 LTSUpdate to 3.26.0+dfsg-0ubuntu1.1
Check the installed version:
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="opencryptoki"'Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
openCryptoki is a PKCS#11 library and tools for Linux and AIX. In 3.25.0 and 3.26.0, there is a heap buffer overflow vulnerability in the CKM_ECDH_AES_KEY_WRAP implementation allows an attacker with local access to cause out-of-bounds writes in the host process by supplying a compressed EC public key and invoking C_WrapKey. This can lead to heap corruption, or denial-of-service.
- Published
- Updated
Fixes in distributions
- USN-8707-1 · Ubuntu 26.04 LTS ·
- SUSE-SU-2026:22293-1 · SUSE Linux Micro 6.2 ·
- SUSE-SU-2026:22365-1 · SUSE Linux Enterprise Server 16.0, SUSE Linux Enterprise Server for SAP applications 16.0 ·
- openSUSE-SU-2026:21059-1 · openSUSE Leap 16.0 ·
- SUSE-SU-2026:20434-1 · SUSE Linux Enterprise Server 16.0, SUSE Linux Enterprise Server for SAP applications 16.0 ·
- SUSE-SU-2026:20345-1 · SUSE Linux Micro 6.2 ·
- openSUSE-SU-2026:20233-1 · openSUSE Leap 16.0 ·
- SUSE-SU-2026:0291-1 · SUSE Linux Enterprise Module for Server Applications 15 SP7 ·
- openSUSE-SU-2026:10048-1 · openSUSE Tumbleweed ·
Stack: system
Affected products and versions
opencryptoki
- Versions
- >= 3.25.0, <= 3.26.0: Affected
No fix published
opencryptoki Ubuntu 25.10
- Versions
- 3.24.0+git20250128.0462717+dfsg-0ubuntu1
- 3.25.0+dfsg-0ubuntu1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
opencryptoki Ubuntu 26.04 LTS
- Versions
- 3.25.0+dfsg-0ubuntu1
- 3.26.0+dfsg-0ubuntu1
- Affected ranges
- ECOSYSTEM: < 3.26.0+dfsg-0ubuntu1.1
Update to 3.26.0+dfsg-0ubuntu1.1
Original sources
- https://github.com/opencryptoki/opencryptoki/security/advisories/GHSA-26f5-3mwq-4wm7
- https://github.com/opencryptoki/opencryptoki/commit/785d7577e1477d12fbe235554e7e7b24f2de34b7
- https://github.com/opencryptoki/opencryptoki/commit/e37e9127deeeb7bf3c3c4d852c594256c57ec3a8
- https://nvd.nist.gov/vuln/detail/CVE-2026-22791