{"id":"CVE-2026-22791","published":"2026-01-13T19:06:41Z","modified":"2026-01-13T19:44:53Z","title":"openCryptoki incorrectly calculates the buffer size in C_WrapKey with CKM_ECDH_AES_KEY_WRAP","vendor":"opencryptoki","product":"opencryptoki","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.6,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00213,"percentile":0.06589,"provenance":"source"},"cwes":[{"id":"CWE-131","name":"Incorrect Calculation of Buffer Size"}],"references":[{"url":"https://github.com/opencryptoki/opencryptoki/security/advisories/GHSA-26f5-3mwq-4wm7","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/opencryptoki/opencryptoki/commit/785d7577e1477d12fbe235554e7e7b24f2de34b7","tags":["x_refsource_MISC"]},{"url":"https://github.com/opencryptoki/opencryptoki/commit/e37e9127deeeb7bf3c3c4d852c594256c57ec3a8","tags":["x_refsource_MISC"]}],"priority":{"score":5.9,"factors":[{"name":"EPSS percentile","points":1.32},{"name":"CVSS severity","points":4.62}]},"vendorSlug":"opencryptoki","affectedVersions":[{"vendor":"opencryptoki","product":"opencryptoki","versions":[">= 3.25.0, <= 3.26.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-01-13T19:43:34.611743Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-2415","exploited":false,"provenance":"source"}}