Security readout for executives and security teams
Plain-English summary
CVE-2026-22791 affects openCryptoki 3.25.0 and 3.26.0. A local, authenticated user can trigger memory corruption in a key-wrapping operation, potentially crashing the host process and causing limited confidentiality or integrity impact. This is most urgent for systems where untrusted local users or applications can access openCryptoki PKCS#11 functions.
Executive priority
Treat as a targeted, local-risk vulnerability rather than an internet-scale emergency. Prioritize remediation on shared systems, cryptographic service hosts, and environments with untrusted local users or workloads.
Technical view
openCryptoki miscalculates a heap buffer size in C_WrapKey when using CKM_ECDH_AES_KEY_WRAP with a compressed EC public key. The result is out-of-bounds writes in the host process. The CVE maps to CWE-131 and has CVSS 3.1 score 6.6: AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H.
Likely exposure
Exposure is limited to Linux or AIX environments running openCryptoki versions 3.25.0 through 3.26.0, where local users or local applications can invoke PKCS#11 C_WrapKey using the affected mechanism.
Exploitation context
The provided sources describe local exploitation requiring low privileges and no user interaction. The issue can cause heap corruption or denial of service. The source bundle does not indicate known active exploitation, and it is not marked as KEV.
Researcher notes
Evidence supports a heap buffer overflow caused by incorrect buffer sizing in CKM_ECDH_AES_KEY_WRAP handling of compressed EC public keys. Public sources identify affected versions and commits, but the bundle does not name a fixed release version or report exploitation in the wild.
Mitigation direction
- Inventory systems using openCryptoki on Linux or AIX.
- Identify openCryptoki versions 3.25.0 and 3.26.0.
- Review the GitHub advisory and referenced commits for vendor remediation guidance.
- Update or patch openCryptoki according to vendor guidance when available.
- Restrict local access to PKCS#11 functions where feasible.
Validation and detection
- Check installed openCryptoki package versions against 3.25.0 and 3.26.0.
- Confirm whether applications use CKM_ECDH_AES_KEY_WRAP key wrapping.
- Verify vendor patches or commit-based fixes are present in deployed builds.
- Review local user access paths to openCryptoki-enabled services.
- Monitor affected hosts for crashes in processes using openCryptoki.
Public sources used
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
CWE-131: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
Open ATT&CK lookupCVE-2026-22791 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
Open ATT&CK lookup- Severity
- Medium
- CVSS
- 6.6 (3.1)
- Known Exploited
- No
- Published
Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H
CNA and ADP enrichment extracted from CVE v5
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
CVSS vector scores
1 official scoreWe collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H1.84.7Primary CVE scoreVulnerability scoring details
Base CVSS 3.1 score
6.6MediumVector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H
Source materials
- CVE List V5 sourceCVE List V5
- https://github.com/opencryptoki/opencryptoki/security/advisories/GHSA-26f5-3mwq-4wm7CVE reference · x_refsource_CONFIRM
- https://github.com/opencryptoki/opencryptoki/commit/785d7577e1477d12fbe235554e7e7b24f2de34b7CVE reference · x_refsource_MISC
- https://github.com/opencryptoki/opencryptoki/commit/e37e9127deeeb7bf3c3c4d852c594256c57ec3a8CVE reference · x_refsource_MISC
Products and packages named in the record
CWE details
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
Incorrect Calculation of Buffer Size
Incorrect Calculation of Buffer Size represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.
