{"id":"UBUNTU-CVE-2026-33317","details":"OP-TEE is a Trusted Execution Environment (TEE) designed as companion to a non-secure Linux kernel running on Arm; Cortex-A cores using the TrustZone technology. In versions 3.13.0 through 4.10.0, missing checks in `entry_get_attribute_value()`  in `ta/pkcs11/src/object.c` can lead to out-of-bounds read from the PKCS#11 TA heap or a crash. When chained with the OOB read, the PKCS#11 TA function `PKCS11_CMD_GET_ATTRIBUTE_VALUE`  or `entry_get_attribute_value()` can, with a bad template parameter, be tricked into reading at most 7 bytes beyond the end of the template buffer and writing beyond the end of the template buffer with the content of an attribute value of a PKCS#11 object. Commits e031c4e562023fd9f199e39fd2e85797e4cbdca9, 16926d5a46934c46e6656246b4fc18385a246900, and 149e8d7ecc4ef8bb00ab4a37fd2ccede6d79e1ca contain patches and are anticipated to be part of version 4.11.0.","modified":"2026-05-20T16:25:28.003678500Z","published":"2026-04-24T03:16:00Z","upstream":["CVE-2026-33317"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-33317"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-33317"},{"type":"REPORT","url":"https://github.com/OP-TEE/optee_os/security/advisories/GHSA-8cqw-mg7v-c9p9"}],"affected":[{"package":{"name":"optee-os","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/optee-os?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.5.0-1","4.5.0-2","4.7.0-1"],"ecosystem_specific":{"binaries":[{"binary_name":"optee-os","binary_version":"4.7.0-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-33317.json"}},{"package":{"name":"optee-os","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/optee-os?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.7.0-1","4.8.0-1"],"ecosystem_specific":{"binaries":[{"binary_version":"4.8.0-1","binary_name":"optee-os"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-33317.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L"},{"type":"Ubuntu","score":"medium"}]}