{"id":"CVE-2026-22791","aliases":["CVE-2026-22791"],"related":[],"kind":"vulnerability","state":"published","title":"openCryptoki incorrectly calculates the buffer size in C_WrapKey with CKM_ECDH_AES_KEY_WRAP","summary":"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 CKM_ECDH_AES_KEY_WRAP 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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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 CKM_ECDH_AES_KEY_WRAP 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.","source":"cvelist"},{"lang":"es","text":"openCryptoki es una biblioteca PKCS#11 y herramientas para Linux y AIX. En 3.25.0 y 3.26.0, existe una vulnerabilidad de desbordamiento de búfer de pila en la implementación de CKM_ECDH_AES_KEY_WRAP que permite a un atacante con acceso local causar escrituras fuera de límites en el proceso anfitrión al proporcionar una clave pública EC comprimida e invocar C_WrapKey. Esto puede llevar a corrupción de pila o denegación de servicio.","source":"nvd"}],"published":"2026-01-13T19:06:41.052Z","modified":"2026-06-17T10:20:26.087Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H","score":6.6,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H","score":6.6,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H","score":6.1,"rating":"MEDIUM"}],"cwes":["CWE-131"],"affected":[{"ranges":[{"version":">= 3.25.0, <= 3.26.0","status":"affected"}],"vendor":"opencryptoki","product":"opencryptoki","source":"cvelist"},{"ranges":[{"status":"affected","version":"3.25.0"},{"status":"affected","version":"3.26.0"}],"vendor":"opencryptoki_project","product":"opencryptoki","cpe":"cpe:2.3:a:opencryptoki_project:opencryptoki:3.25.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/opencryptoki/opencryptoki/security/advisories/GHSA-26f5-3mwq-4wm7","tags":["exploit","patch","vendor-advisory","x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/opencryptoki/opencryptoki/commit/785d7577e1477d12fbe235554e7e7b24f2de34b7","tags":["patch","x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/opencryptoki/opencryptoki/commit/e37e9127deeeb7bf3c3c4d852c594256c57ec3a8","tags":["patch","x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-01-13T19:43:34.611Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-22791","url":"https://www.cve.org/CVERecord?id=CVE-2026-22791","licence":"CVE Terms of Use","modified":"2026-01-13T19:44:53.120Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-22791","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-22791","licence":"Public domain","modified":"2026-06-17T10:20:26.087Z"}],"updatedAt":"2026-11-25T22:59:12.813Z","epss":{"score":0.00284,"percentile":0.22521,"date":"2026-12-01T12:00:22.000Z"}}