SUSE-SU-2026:21593-1

Vulnerability from csaf_suse - Published: 2026-05-07 09:54 - Updated: 2026-09-16 19:47
Summary
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: SUSE-SL-Micro-6.2-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).
Affected products
Product Identifier Version Remediation
Unresolved product id: SUSE Linux Micro 6.2:openCryptoki-3.26.0-160000.2.1.s390x —
Vendor Fix
Threats
Impact moderate

{
  "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": "SUSE-SL-Micro-6.2-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/suse-su-2026_21593-1.json"
      },
      {
        "category": "self",
        "summary": "URL for SUSE-SU-2026:21593-1",
        "url": "https://www.suse.com/support/update/announcement/2026/suse-su-202621593-1/"
      },
      {
        "category": "self",
        "summary": "E-Mail link for SUSE-SU-2026:21593-1",
        "url": "https://lists.suse.com/pipermail/sle-updates/2026-May/046455.html"
      },
      {
        "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-09-16T19:47:58Z",
      "generator": {
        "date": "2026-05-07T09:54:18Z",
        "engine": {
          "name": "cve-database.git:bin/generate-csaf.pl",
          "version": "1"
        }
      },
      "id": "SUSE-SU-2026:21593-1",
      "initial_release_date": "2026-05-07T09:54:18Z",
      "revision_history": [
        {
          "date": "2026-05-07T09:54:18Z",
          "number": "1",
          "summary": "Current version"
        },
        {
          "date": "2026-09-16T18:58:24Z",
          "number": "2",
          "summary": "unknown changes"
        },
        {
          "date": "2026-09-16T19:47:58Z",
          "number": "3",
          "summary": "unknown changes"
        }
      ],
      "status": "final",
      "version": "3"
    }
  },
  "product_tree": {
    "branches": [
      {
        "branches": [
          {
            "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",
                  "product_identification_helper": {
                    "cpe": "cpe:2.3:a:opencryptoki_project:opencryptoki:3.26.0:*:*:*:*:*:*:*",
                    "purl": "pkg:rpm/suse/openCryptoki@3.26.0-160000.2.1?arch=s390x\u0026upstream=openCryptoki-3.26.0-160000.2.1.src.rpm"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "s390x"
          },
          {
            "branches": [
              {
                "category": "product_name",
                "name": "SUSE Linux Micro 6.2",
                "product": {
                  "name": "SUSE Linux Micro 6.2",
                  "product_id": "SUSE Linux Micro 6.2",
                  "product_identification_helper": {
                    "cpe": "cpe:/o:suse:sl-micro:6.2"
                  }
                }
              }
            ],
            "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.s390x as component of SUSE Linux Micro 6.2",
          "product_id": "SUSE Linux Micro 6.2:openCryptoki-3.26.0-160000.2.1.s390x"
        },
        "product_reference": "openCryptoki-3.26.0-160000.2.1.s390x",
        "relates_to_product_reference": "SUSE Linux Micro 6.2"
      }
    ]
  },
  "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": [
          "SUSE Linux Micro 6.2:openCryptoki-3.26.0-160000.2.1.s390x"
        ]
      },
      "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"
        },
        {
          "category": "external",
          "summary": "SUSE Bug 1263819 for CVE-2026-40253",
          "url": "https://bugzilla.suse.com/1263819"
        }
      ],
      "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": [
            "SUSE Linux Micro 6.2:openCryptoki-3.26.0-160000.2.1.s390x"
          ]
        }
      ],
      "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": [
            "SUSE Linux Micro 6.2:openCryptoki-3.26.0-160000.2.1.s390x"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "date": "2026-05-07T09:54:18Z",
          "details": "moderate"
        }
      ],
      "title": "CVE-2026-40253"
    }
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

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…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…