UBUNTU-CVE-2026-23893

Source
https://ubuntu.com/security/CVE-2026-23893
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-23893.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-23893
Upstream
Published
2026-01-22T01:15:00Z
Modified
2026-01-30T20:32:24.555630Z
Severity
  • 6.8 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

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 reset ownership or permissions on existing files inside the token directories. An attacker with token-group membership can exploit the system when an administrator runs a PKCS#11 application or administrative tool that performs chown on files inside the token directory during normal maintenance. This issue is fixed in commit 5e6e4b4, but has not been included in a released version at the time of publication.

References

Affected packages

Ubuntu:16.04:LTS
opencryptoki

Package

Name
opencryptoki
Purl
pkg:deb/ubuntu/opencryptoki@3.4.1+dfsg-1ubuntu4.1?arch=source&distro=xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.3.1+dfsg-3ubuntu5
3.*
3.4.1+dfsg-1ubuntu1
3.4.1+dfsg-1ubuntu2
3.4.1+dfsg-1ubuntu3
3.4.1+dfsg-1ubuntu4
3.4.1+dfsg-1ubuntu4.1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libopencryptoki-dev",
            "binary_version": "3.4.1+dfsg-1ubuntu4.1"
        },
        {
            "binary_name": "libopencryptoki0",
            "binary_version": "3.4.1+dfsg-1ubuntu4.1"
        },
        {
            "binary_name": "opencryptoki",
            "binary_version": "3.4.1+dfsg-1ubuntu4.1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-23893.json"
Ubuntu:18.04:LTS
opencryptoki

Package

Name
opencryptoki
Purl
pkg:deb/ubuntu/opencryptoki@3.9.0+dfsg-0ubuntu1.4?arch=source&distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

3.*
3.7.0+dfsg-4
3.8.1+dfsg-2
3.8.1+dfsg-3
3.8.2+dfsg-0ubuntu1
3.9.0+dfsg-0ubuntu1
3.9.0+dfsg-0ubuntu1.1
3.9.0+dfsg-0ubuntu1.2
3.9.0+dfsg-0ubuntu1.3
3.9.0+dfsg-0ubuntu1.4

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libopencryptoki-dev",
            "binary_version": "3.9.0+dfsg-0ubuntu1.4"
        },
        {
            "binary_name": "libopencryptoki0",
            "binary_version": "3.9.0+dfsg-0ubuntu1.4"
        },
        {
            "binary_name": "opencryptoki",
            "binary_version": "3.9.0+dfsg-0ubuntu1.4"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-23893.json"
Ubuntu:20.04:LTS
opencryptoki

Package

Name
opencryptoki
Purl
pkg:deb/ubuntu/opencryptoki@3.13.0+dfsg-0ubuntu5.2?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

3.*
3.11.1+dfsg-0ubuntu2
3.11.1+dfsg-0ubuntu3
3.12.1+dfsg-0ubuntu1
3.13.0+dfsg-0ubuntu4
3.13.0+dfsg-0ubuntu5
3.13.0+dfsg-0ubuntu5.1
3.13.0+dfsg-0ubuntu5.2

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libopencryptoki-dev",
            "binary_version": "3.13.0+dfsg-0ubuntu5.2"
        },
        {
            "binary_name": "libopencryptoki0",
            "binary_version": "3.13.0+dfsg-0ubuntu5.2"
        },
        {
            "binary_name": "opencryptoki",
            "binary_version": "3.13.0+dfsg-0ubuntu5.2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-23893.json"
Ubuntu:22.04:LTS
opencryptoki

Package

Name
opencryptoki
Purl
pkg:deb/ubuntu/opencryptoki@3.17.0+dfsg+20220202.b40982e-0ubuntu1.2?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

3.*
3.16.0+dfsg-0ubuntu1
3.16.0+dfsg-0ubuntu2
3.16.0+dfsg-0ubuntu3
3.17.0+dfsg+20220202.b40982e-0ubuntu1
3.17.0+dfsg+20220202.b40982e-0ubuntu1.1
3.17.0+dfsg+20220202.b40982e-0ubuntu1.2

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libopencryptoki-dev",
            "binary_version": "3.17.0+dfsg+20220202.b40982e-0ubuntu1.2"
        },
        {
            "binary_name": "libopencryptoki0",
            "binary_version": "3.17.0+dfsg+20220202.b40982e-0ubuntu1.2"
        },
        {
            "binary_name": "opencryptoki",
            "binary_version": "3.17.0+dfsg+20220202.b40982e-0ubuntu1.2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-23893.json"
Ubuntu:24.04:LTS
opencryptoki

Package

Name
opencryptoki
Purl
pkg:deb/ubuntu/opencryptoki@3.23.0+dfsg-0ubuntu3?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

3.*
3.21.0+dfsg-0ubuntu1
3.21.0+dfsg-0ubuntu2
3.22.0+dfsg-0ubuntu1
3.23.0+dfsg-0ubuntu1
3.23.0+dfsg-0ubuntu2
3.23.0+dfsg-0ubuntu3

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libopencryptoki-dev",
            "binary_version": "3.23.0+dfsg-0ubuntu3"
        },
        {
            "binary_name": "libopencryptoki0",
            "binary_version": "3.23.0+dfsg-0ubuntu3"
        },
        {
            "binary_name": "opencryptoki",
            "binary_version": "3.23.0+dfsg-0ubuntu3"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-23893.json"
Ubuntu:25.10
opencryptoki

Package

Name
opencryptoki
Purl
pkg:deb/ubuntu/opencryptoki@3.25.0+dfsg-0ubuntu1?arch=source&distro=questing

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

3.*
3.24.0+git20250128.0462717+dfsg-0ubuntu1
3.25.0+dfsg-0ubuntu1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libopencryptoki-dev",
            "binary_version": "3.25.0+dfsg-0ubuntu1"
        },
        {
            "binary_name": "libopencryptoki0",
            "binary_version": "3.25.0+dfsg-0ubuntu1"
        },
        {
            "binary_name": "opencryptoki",
            "binary_version": "3.25.0+dfsg-0ubuntu1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-23893.json"