Opencryptoki:
Affects opencryptokiSource GCVE Database
Not known to be exploited · CVSS 6.8 Medium · fixed in 3.17.0+dfsg+20220202.b40982e-0ubuntu1.3 : update opencryptoki when convenient.
Data as of 24 Nov 2026, 21:15 UTC
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 5% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 3.17.0+dfsg+20220202.b40982e-0ubuntu1.3, 3.23.0+dfsg-0ubuntu3.1, 3.26.0+dfsg-0ubuntu1.1
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 16 Apr 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.
What to do
Upgrade the Ubuntu opencryptoki to 3.17.0+dfsg+20220202.b40982e-0ubuntu1.3 (package) or 3.23.0+dfsg-0ubuntu3.1 (package) or 3.26.0+dfsg-0ubuntu1.1 (package).
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.04 LTSopencryptokipkg:deb/ubuntu/opencryptoki?arch=source&distro=resoluteOther threats | Affected
| Fixed in
|
Ubuntu 25.10opencryptokipkg:deb/ubuntu/opencryptoki?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSopencryptokipkg:deb/ubuntu/opencryptoki?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 22.04 LTSopencryptokipkg:deb/ubuntu/opencryptoki?arch=source&distro=jammyOther threats | Affected
| Fixed in
|
Ubuntu 20.04 LTSopencryptokipkg:deb/ubuntu/opencryptoki?arch=source&distro=focalOther threats | Affected
| Fixed in– |
Ubuntu 18.04 LTSopencryptokipkg:deb/ubuntu/opencryptoki?arch=source&distro=bionicOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
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.