# CVE-2026-33317: OP-TEE: PKCS#11 TA out-of-bounds read and memory disclosure

- Severity: High 8.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 8% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-24T02:20:55.670Z
- Modified: 2026-10-26T21:10:00.170Z
- Weaknesses: CWE-125, CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- OP-TEE optee_os: >= 3.13.0, <= 4.10.0
- trustedfirmware op-tee: from 3.13.0 up to 4.10.0

## References

- <https://github.com/OP-TEE/optee_os/security/advisories/GHSA-8cqw-mg7v-c9p9> (exploit, patch, vendor-advisory)
- <https://github.com/OP-TEE/optee_os/commit/149e8d7ecc4ef8bb00ab4a37fd2ccede6d79e1ca> (patch)
- <https://github.com/OP-TEE/optee_os/commit/16926d5a46934c46e6656246b4fc18385a246900> (patch)
- <https://github.com/OP-TEE/optee_os/commit/e031c4e562023fd9f199e39fd2e85797e4cbdca9> (patch)

## Sources

- CVE List: [CVE-2026-33317](https://www.cve.org/CVERecord?id=CVE-2026-33317), CVE Terms of Use, modified 2026-04-24
- NVD: [CVE-2026-33317](https://nvd.nist.gov/vuln/detail/CVE-2026-33317), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-33317 · Whole record: https://cve.day/CVE-2026-33317.json · Rebuilt by cve.day 2026-11-25T22:59:19.450Z
