CVE-2026-22791

Source
https://cve.org/CVERecord?id=CVE-2026-22791
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-22791.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-22791
Aliases
  • GHSA-26f5-3mwq-4wm7
Downstream
Related
Published
2026-01-13T19:06:41.052Z
Modified
2026-07-15T02:17:34.901928058Z
Severity
  • 6.6 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H CVSS Calculator
Summary
openCryptoki incorrectly calculates the buffer size in C_WrapKey with CKM_ECDH_AES_KEY_WRAP
Details

openCryptoki is a PKCS#11 library and tools for Linux and AIX. In 3.25.0 and 3.26.0, there is a heap buffer overflow vulnerability in the CKMECDHAESKEYWRAP implementation allows an attacker with local access to cause out-of-bounds writes in the host process by supplying a compressed EC public key and invoking C_WrapKey. This can lead to heap corruption, or denial-of-service.

Database specific
{
    "cwe_ids": [
        "CWE-131"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/22xxx/CVE-2026-22791.json",
    "cna_assigner": "GitHub_M"
}
References

Affected packages

Git / github.com/opencryptoki/opencryptoki

Affected ranges

Type
GIT
Repo
https://github.com/opencryptoki/opencryptoki
Events
Database specific
{
    "cpe": [
        "cpe:2.3:a:opencryptoki_project:opencryptoki:3.25.0:*:*:*:*:*:*:*",
        "cpe:2.3:a:opencryptoki_project:opencryptoki:3.26.0:*:*:*:*:*:*:*"
    ],
    "extracted_events": [
        {
            "introduced": "3.25.0"
        },
        {
            "last_affected": "3.25.0"
        },
        {
            "introduced": "3.26.0"
        },
        {
            "last_affected": "3.26.0"
        }
    ],
    "source": [
        "CPE_STRING",
        "REFERENCES"
    ]
}

Affected versions

3.*
3.25.0
3.26.0
v3.*
v3.25.0
v3.26.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-22791.json"