OPENSUSE-SU-2026:20699-1
Vulnerability from csaf_opensuse - Published: 2026-05-07 09:56 - Updated: 2026-05-07 09:56Summary
Security update for openCryptoki
Severity
Moderate
Notes
Title of the patch: Security update for openCryptoki
Description of the patch: This update for openCryptoki fixes the following issues
Security issue:
- CVE-2026-40253: Updated fix for malformed BER-encoded cryptographic objects
(bsc#1262283).
Non security issue:
- Refactored .spec file to fully support transactional and immutable operating systems
(jsc#PED-14609):
* Migrated user and group creation (pkcs11, pkcsslotd) from imperative %pre shell commands to
declarative systemd-sysusers configuration.
* Replaced manual /var directory tracking and %ghost directives with
comprehensive systemd-tmpfiles configurations.
* Implemented dynamic, architecture-specific tmpfiles.d generation to properly provision
hardware-specific token directories (e.g., ccatok, ep11tok, lite, and HSM_MK_CHANGE).
- Fixed permissions for /run/opencryptoki within tmpfiles.d to ensure the
daemon can successfully drop privileges and bind its communication socket.
* Moved 32-bit and 64-bit shared library symlink creation (such as PKCS11_API.so, stdll, and methods)
from %post scriptlets into the %install phase,
ensuring they are correctly packaged and tracked on the read-only /usr partition.
* Removed legacy /etc/pkcs11 bash migration logic from %post,
replacing it with a declarative tmpfiles.d symlink rule.
- Cleaned up scriptlets to only execute transaction-safe macros
(such as ldconfig and systemd service handlers).
Patchnames: openSUSE-Leap-16.0-718
Terms of use: CSAF 2.0 data is provided by SUSE under the Creative Commons License 4.0 with Attribution (CC-BY-4.0).
6.8 (Medium)
Vendor Fix
To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
References
{
"document": {
"aggregate_severity": {
"namespace": "https://www.suse.com/support/security/rating/",
"text": "moderate"
},
"category": "csaf_security_advisory",
"csaf_version": "2.0",
"distribution": {
"text": "Copyright 2024 SUSE LLC. All rights reserved.",
"tlp": {
"label": "WHITE",
"url": "https://www.first.org/tlp/"
}
},
"lang": "en",
"notes": [
{
"category": "summary",
"text": "Security update for openCryptoki",
"title": "Title of the patch"
},
{
"category": "description",
"text": "This update for openCryptoki fixes the following issues\n\nSecurity issue:\n\n- CVE-2026-40253: Updated fix for malformed BER-encoded cryptographic objects\n (bsc#1262283).\n\nNon security issue:\n\n- Refactored .spec file to fully support transactional and immutable operating systems\n (jsc#PED-14609):\n * Migrated user and group creation (pkcs11, pkcsslotd) from imperative %pre shell commands to\n declarative systemd-sysusers configuration.\n * Replaced manual /var directory tracking and %ghost directives with\n comprehensive systemd-tmpfiles configurations.\n * Implemented dynamic, architecture-specific tmpfiles.d generation to properly provision\n hardware-specific token directories (e.g., ccatok, ep11tok, lite, and HSM_MK_CHANGE).\n- Fixed permissions for /run/opencryptoki within tmpfiles.d to ensure the\n daemon can successfully drop privileges and bind its communication socket.\n * Moved 32-bit and 64-bit shared library symlink creation (such as PKCS11_API.so, stdll, and methods)\n from %post scriptlets into the %install phase,\n ensuring they are correctly packaged and tracked on the read-only /usr partition.\n * Removed legacy /etc/pkcs11 bash migration logic from %post,\n replacing it with a declarative tmpfiles.d symlink rule.\n- Cleaned up scriptlets to only execute transaction-safe macros\n (such as ldconfig and systemd service handlers).\n",
"title": "Description of the patch"
},
{
"category": "details",
"text": "openSUSE-Leap-16.0-718",
"title": "Patchnames"
},
{
"category": "legal_disclaimer",
"text": "CSAF 2.0 data is provided by SUSE under the Creative Commons License 4.0 with Attribution (CC-BY-4.0).",
"title": "Terms of use"
}
],
"publisher": {
"category": "vendor",
"contact_details": "https://www.suse.com/support/security/contact/",
"name": "SUSE Product Security Team",
"namespace": "https://www.suse.com/"
},
"references": [
{
"category": "external",
"summary": "SUSE ratings",
"url": "https://www.suse.com/support/security/rating/"
},
{
"category": "self",
"summary": "URL of this CSAF notice",
"url": "https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2026_20699-1.json"
},
{
"category": "self",
"summary": "SUSE Bug 1262283",
"url": "https://bugzilla.suse.com/1262283"
},
{
"category": "self",
"summary": "SUSE Bug 1263819",
"url": "https://bugzilla.suse.com/1263819"
},
{
"category": "self",
"summary": "SUSE CVE CVE-2026-40253 page",
"url": "https://www.suse.com/security/cve/CVE-2026-40253/"
}
],
"title": "Security update for openCryptoki",
"tracking": {
"current_release_date": "2026-05-07T09:56:21Z",
"generator": {
"date": "2026-05-07T09:56:21Z",
"engine": {
"name": "cve-database.git:bin/generate-csaf.pl",
"version": "1"
}
},
"id": "openSUSE-SU-2026:20699-1",
"initial_release_date": "2026-05-07T09:56:21Z",
"revision_history": [
{
"date": "2026-05-07T09:56:21Z",
"number": "1",
"summary": "Current version"
}
],
"status": "final",
"version": "1"
}
},
"product_tree": {
"branches": [
{
"branches": [
{
"branches": [
{
"category": "product_version",
"name": "openCryptoki-3.26.0-160000.2.1.aarch64",
"product": {
"name": "openCryptoki-3.26.0-160000.2.1.aarch64",
"product_id": "openCryptoki-3.26.0-160000.2.1.aarch64"
}
},
{
"category": "product_version",
"name": "openCryptoki-64bit-3.26.0-160000.2.1.aarch64",
"product": {
"name": "openCryptoki-64bit-3.26.0-160000.2.1.aarch64",
"product_id": "openCryptoki-64bit-3.26.0-160000.2.1.aarch64"
}
},
{
"category": "product_version",
"name": "openCryptoki-devel-3.26.0-160000.2.1.aarch64",
"product": {
"name": "openCryptoki-devel-3.26.0-160000.2.1.aarch64",
"product_id": "openCryptoki-devel-3.26.0-160000.2.1.aarch64"
}
}
],
"category": "architecture",
"name": "aarch64"
},
{
"branches": [
{
"category": "product_version",
"name": "openCryptoki-3.26.0-160000.2.1.ppc64le",
"product": {
"name": "openCryptoki-3.26.0-160000.2.1.ppc64le",
"product_id": "openCryptoki-3.26.0-160000.2.1.ppc64le"
}
},
{
"category": "product_version",
"name": "openCryptoki-64bit-3.26.0-160000.2.1.ppc64le",
"product": {
"name": "openCryptoki-64bit-3.26.0-160000.2.1.ppc64le",
"product_id": "openCryptoki-64bit-3.26.0-160000.2.1.ppc64le"
}
},
{
"category": "product_version",
"name": "openCryptoki-devel-3.26.0-160000.2.1.ppc64le",
"product": {
"name": "openCryptoki-devel-3.26.0-160000.2.1.ppc64le",
"product_id": "openCryptoki-devel-3.26.0-160000.2.1.ppc64le"
}
}
],
"category": "architecture",
"name": "ppc64le"
},
{
"branches": [
{
"category": "product_version",
"name": "openCryptoki-3.26.0-160000.2.1.s390x",
"product": {
"name": "openCryptoki-3.26.0-160000.2.1.s390x",
"product_id": "openCryptoki-3.26.0-160000.2.1.s390x"
}
},
{
"category": "product_version",
"name": "openCryptoki-64bit-3.26.0-160000.2.1.s390x",
"product": {
"name": "openCryptoki-64bit-3.26.0-160000.2.1.s390x",
"product_id": "openCryptoki-64bit-3.26.0-160000.2.1.s390x"
}
},
{
"category": "product_version",
"name": "openCryptoki-devel-3.26.0-160000.2.1.s390x",
"product": {
"name": "openCryptoki-devel-3.26.0-160000.2.1.s390x",
"product_id": "openCryptoki-devel-3.26.0-160000.2.1.s390x"
}
}
],
"category": "architecture",
"name": "s390x"
},
{
"branches": [
{
"category": "product_version",
"name": "openCryptoki-3.26.0-160000.2.1.x86_64",
"product": {
"name": "openCryptoki-3.26.0-160000.2.1.x86_64",
"product_id": "openCryptoki-3.26.0-160000.2.1.x86_64"
}
},
{
"category": "product_version",
"name": "openCryptoki-64bit-3.26.0-160000.2.1.x86_64",
"product": {
"name": "openCryptoki-64bit-3.26.0-160000.2.1.x86_64",
"product_id": "openCryptoki-64bit-3.26.0-160000.2.1.x86_64"
}
},
{
"category": "product_version",
"name": "openCryptoki-devel-3.26.0-160000.2.1.x86_64",
"product": {
"name": "openCryptoki-devel-3.26.0-160000.2.1.x86_64",
"product_id": "openCryptoki-devel-3.26.0-160000.2.1.x86_64"
}
}
],
"category": "architecture",
"name": "x86_64"
},
{
"branches": [
{
"category": "product_name",
"name": "openSUSE Leap 16.0",
"product": {
"name": "openSUSE Leap 16.0",
"product_id": "openSUSE Leap 16.0"
}
}
],
"category": "product_family",
"name": "SUSE Linux Enterprise"
}
],
"category": "vendor",
"name": "SUSE"
}
],
"relationships": [
{
"category": "default_component_of",
"full_product_name": {
"name": "openCryptoki-3.26.0-160000.2.1.aarch64 as component of openSUSE Leap 16.0",
"product_id": "openSUSE Leap 16.0:openCryptoki-3.26.0-160000.2.1.aarch64"
},
"product_reference": "openCryptoki-3.26.0-160000.2.1.aarch64",
"relates_to_product_reference": "openSUSE Leap 16.0"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "openCryptoki-3.26.0-160000.2.1.ppc64le as component of openSUSE Leap 16.0",
"product_id": "openSUSE Leap 16.0:openCryptoki-3.26.0-160000.2.1.ppc64le"
},
"product_reference": "openCryptoki-3.26.0-160000.2.1.ppc64le",
"relates_to_product_reference": "openSUSE Leap 16.0"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "openCryptoki-3.26.0-160000.2.1.s390x as component of openSUSE Leap 16.0",
"product_id": "openSUSE Leap 16.0:openCryptoki-3.26.0-160000.2.1.s390x"
},
"product_reference": "openCryptoki-3.26.0-160000.2.1.s390x",
"relates_to_product_reference": "openSUSE Leap 16.0"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "openCryptoki-3.26.0-160000.2.1.x86_64 as component of openSUSE Leap 16.0",
"product_id": "openSUSE Leap 16.0:openCryptoki-3.26.0-160000.2.1.x86_64"
},
"product_reference": "openCryptoki-3.26.0-160000.2.1.x86_64",
"relates_to_product_reference": "openSUSE Leap 16.0"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "openCryptoki-64bit-3.26.0-160000.2.1.aarch64 as component of openSUSE Leap 16.0",
"product_id": "openSUSE Leap 16.0:openCryptoki-64bit-3.26.0-160000.2.1.aarch64"
},
"product_reference": "openCryptoki-64bit-3.26.0-160000.2.1.aarch64",
"relates_to_product_reference": "openSUSE Leap 16.0"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "openCryptoki-64bit-3.26.0-160000.2.1.ppc64le as component of openSUSE Leap 16.0",
"product_id": "openSUSE Leap 16.0:openCryptoki-64bit-3.26.0-160000.2.1.ppc64le"
},
"product_reference": "openCryptoki-64bit-3.26.0-160000.2.1.ppc64le",
"relates_to_product_reference": "openSUSE Leap 16.0"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "openCryptoki-64bit-3.26.0-160000.2.1.s390x as component of openSUSE Leap 16.0",
"product_id": "openSUSE Leap 16.0:openCryptoki-64bit-3.26.0-160000.2.1.s390x"
},
"product_reference": "openCryptoki-64bit-3.26.0-160000.2.1.s390x",
"relates_to_product_reference": "openSUSE Leap 16.0"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "openCryptoki-64bit-3.26.0-160000.2.1.x86_64 as component of openSUSE Leap 16.0",
"product_id": "openSUSE Leap 16.0:openCryptoki-64bit-3.26.0-160000.2.1.x86_64"
},
"product_reference": "openCryptoki-64bit-3.26.0-160000.2.1.x86_64",
"relates_to_product_reference": "openSUSE Leap 16.0"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "openCryptoki-devel-3.26.0-160000.2.1.aarch64 as component of openSUSE Leap 16.0",
"product_id": "openSUSE Leap 16.0:openCryptoki-devel-3.26.0-160000.2.1.aarch64"
},
"product_reference": "openCryptoki-devel-3.26.0-160000.2.1.aarch64",
"relates_to_product_reference": "openSUSE Leap 16.0"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "openCryptoki-devel-3.26.0-160000.2.1.ppc64le as component of openSUSE Leap 16.0",
"product_id": "openSUSE Leap 16.0:openCryptoki-devel-3.26.0-160000.2.1.ppc64le"
},
"product_reference": "openCryptoki-devel-3.26.0-160000.2.1.ppc64le",
"relates_to_product_reference": "openSUSE Leap 16.0"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "openCryptoki-devel-3.26.0-160000.2.1.s390x as component of openSUSE Leap 16.0",
"product_id": "openSUSE Leap 16.0:openCryptoki-devel-3.26.0-160000.2.1.s390x"
},
"product_reference": "openCryptoki-devel-3.26.0-160000.2.1.s390x",
"relates_to_product_reference": "openSUSE Leap 16.0"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "openCryptoki-devel-3.26.0-160000.2.1.x86_64 as component of openSUSE Leap 16.0",
"product_id": "openSUSE Leap 16.0:openCryptoki-devel-3.26.0-160000.2.1.x86_64"
},
"product_reference": "openCryptoki-devel-3.26.0-160000.2.1.x86_64",
"relates_to_product_reference": "openSUSE Leap 16.0"
}
]
},
"vulnerabilities": [
{
"cve": "CVE-2026-40253",
"ids": [
{
"system_name": "SUSE CVE Page",
"text": "https://www.suse.com/security/cve/CVE-2026-40253"
}
],
"notes": [
{
"category": "general",
"text": "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.",
"title": "CVE description"
}
],
"product_status": {
"recommended": [
"openSUSE Leap 16.0:openCryptoki-3.26.0-160000.2.1.aarch64",
"openSUSE Leap 16.0:openCryptoki-3.26.0-160000.2.1.ppc64le",
"openSUSE Leap 16.0:openCryptoki-3.26.0-160000.2.1.s390x",
"openSUSE Leap 16.0:openCryptoki-3.26.0-160000.2.1.x86_64",
"openSUSE Leap 16.0:openCryptoki-64bit-3.26.0-160000.2.1.aarch64",
"openSUSE Leap 16.0:openCryptoki-64bit-3.26.0-160000.2.1.ppc64le",
"openSUSE Leap 16.0:openCryptoki-64bit-3.26.0-160000.2.1.s390x",
"openSUSE Leap 16.0:openCryptoki-64bit-3.26.0-160000.2.1.x86_64",
"openSUSE Leap 16.0:openCryptoki-devel-3.26.0-160000.2.1.aarch64",
"openSUSE Leap 16.0:openCryptoki-devel-3.26.0-160000.2.1.ppc64le",
"openSUSE Leap 16.0:openCryptoki-devel-3.26.0-160000.2.1.s390x",
"openSUSE Leap 16.0:openCryptoki-devel-3.26.0-160000.2.1.x86_64"
]
},
"references": [
{
"category": "external",
"summary": "CVE-2026-40253",
"url": "https://www.suse.com/security/cve/CVE-2026-40253"
},
{
"category": "external",
"summary": "SUSE Bug 1262283 for CVE-2026-40253",
"url": "https://bugzilla.suse.com/1262283"
}
],
"remediations": [
{
"category": "vendor_fix",
"details": "To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or \"zypper patch\".\n",
"product_ids": [
"openSUSE Leap 16.0:openCryptoki-3.26.0-160000.2.1.aarch64",
"openSUSE Leap 16.0:openCryptoki-3.26.0-160000.2.1.ppc64le",
"openSUSE Leap 16.0:openCryptoki-3.26.0-160000.2.1.s390x",
"openSUSE Leap 16.0:openCryptoki-3.26.0-160000.2.1.x86_64",
"openSUSE Leap 16.0:openCryptoki-64bit-3.26.0-160000.2.1.aarch64",
"openSUSE Leap 16.0:openCryptoki-64bit-3.26.0-160000.2.1.ppc64le",
"openSUSE Leap 16.0:openCryptoki-64bit-3.26.0-160000.2.1.s390x",
"openSUSE Leap 16.0:openCryptoki-64bit-3.26.0-160000.2.1.x86_64",
"openSUSE Leap 16.0:openCryptoki-devel-3.26.0-160000.2.1.aarch64",
"openSUSE Leap 16.0:openCryptoki-devel-3.26.0-160000.2.1.ppc64le",
"openSUSE Leap 16.0:openCryptoki-devel-3.26.0-160000.2.1.s390x",
"openSUSE Leap 16.0:openCryptoki-devel-3.26.0-160000.2.1.x86_64"
]
}
],
"scores": [
{
"cvss_v3": {
"baseScore": 6.8,
"baseSeverity": "MEDIUM",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H",
"version": "3.1"
},
"products": [
"openSUSE Leap 16.0:openCryptoki-3.26.0-160000.2.1.aarch64",
"openSUSE Leap 16.0:openCryptoki-3.26.0-160000.2.1.ppc64le",
"openSUSE Leap 16.0:openCryptoki-3.26.0-160000.2.1.s390x",
"openSUSE Leap 16.0:openCryptoki-3.26.0-160000.2.1.x86_64",
"openSUSE Leap 16.0:openCryptoki-64bit-3.26.0-160000.2.1.aarch64",
"openSUSE Leap 16.0:openCryptoki-64bit-3.26.0-160000.2.1.ppc64le",
"openSUSE Leap 16.0:openCryptoki-64bit-3.26.0-160000.2.1.s390x",
"openSUSE Leap 16.0:openCryptoki-64bit-3.26.0-160000.2.1.x86_64",
"openSUSE Leap 16.0:openCryptoki-devel-3.26.0-160000.2.1.aarch64",
"openSUSE Leap 16.0:openCryptoki-devel-3.26.0-160000.2.1.ppc64le",
"openSUSE Leap 16.0:openCryptoki-devel-3.26.0-160000.2.1.s390x",
"openSUSE Leap 16.0:openCryptoki-devel-3.26.0-160000.2.1.x86_64"
]
}
],
"threats": [
{
"category": "impact",
"date": "2026-05-07T09:56:21Z",
"details": "moderate"
}
],
"title": "CVE-2026-40253"
}
]
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…