{"id":"UBUNTU-CVE-2026-22791","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 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.","modified":"2026-09-01T21:00:11.560223436Z","published":"2026-01-13T19:16:00Z","related":["USN-8707-1"],"upstream":["CVE-2026-22791"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-22791"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-22791"},{"type":"REPORT","url":"https://github.com/opencryptoki/opencryptoki/security/advisories/GHSA-26f5-3mwq-4wm7"},{"type":"REPORT","url":"https://github.com/opencryptoki/opencryptoki/commit/785d7577e1477d12fbe235554e7e7b24f2de34b7"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-8707-1"}],"affected":[{"package":{"name":"opencryptoki","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/opencryptoki?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.24.0+git20250128.0462717+dfsg-0ubuntu1","3.25.0+dfsg-0ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"libopencryptoki0","binary_version":"3.25.0+dfsg-0ubuntu1"},{"binary_name":"opencryptoki","binary_version":"3.25.0+dfsg-0ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-22791.json"}},{"package":{"name":"opencryptoki","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/opencryptoki?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.26.0+dfsg-0ubuntu1.1"}]}],"versions":["3.25.0+dfsg-0ubuntu1","3.26.0+dfsg-0ubuntu1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"libopencryptoki0","binary_version":"3.26.0+dfsg-0ubuntu1.1"},{"binary_name":"opencryptoki","binary_version":"3.26.0+dfsg-0ubuntu1.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-22791.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H"},{"type":"Ubuntu","score":"medium"}]}