{"id":"CVE-2026-33317","published":"2026-04-24T02:20:55Z","modified":"2026-04-24T18:18:04Z","title":"OP-TEE: PKCS#11 TA out-of-bounds read and memory disclosure","vendor":"OP-TEE","product":"optee_os","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.7,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00189,"percentile":0.08496,"provenance":"source"},"cwes":[{"id":"CWE-125","name":"Out-of-bounds Read"},{"id":"CWE-787","name":"Out-of-bounds Write"}],"references":[{"url":"https://github.com/OP-TEE/optee_os/security/advisories/GHSA-8cqw-mg7v-c9p9","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/OP-TEE/optee_os/commit/149e8d7ecc4ef8bb00ab4a37fd2ccede6d79e1ca","tags":["x_refsource_MISC"]},{"url":"https://github.com/OP-TEE/optee_os/commit/16926d5a46934c46e6656246b4fc18385a246900","tags":["x_refsource_MISC"]},{"url":"https://github.com/OP-TEE/optee_os/commit/e031c4e562023fd9f199e39fd2e85797e4cbdca9","tags":["x_refsource_MISC"]}],"priority":{"score":12.8,"factors":[{"name":"EPSS percentile","points":1.7},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.09}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-04-30","earliestUrl":"https://github.com/0xbbdd/CVE-2026-33317","repos":[{"name":"0xbbdd/CVE-2026-33317","url":"https://github.com/0xbbdd/CVE-2026-33317","stars":0,"created":"2026-04-30"}]},"first":{"date":"2026-04-30","source":"PoC-in-GitHub","url":"https://github.com/0xbbdd/CVE-2026-33317"},"provenance":"source"},"vendorSlug":"op-tee","affectedVersions":[{"vendor":"OP-TEE","product":"optee_os","versions":[">= 3.13.0, <= 4.10.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-04-24T17:19:41.848151Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-25379","exploited":false,"provenance":"source"}}