{"id":"CVE-2026-33317","aliases":["CVE-2026-33317"],"related":[],"kind":"vulnerability","state":"published","title":"OP-TEE: PKCS#11 TA out-of-bounds read and memory disclosure","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"OP-TEE es un Entorno de Ejecución Confiable (TEE) diseñado como compañero de un kernel de Linux no seguro ejecutándose en núcleos Arm Cortex-A utilizando la tecnología TrustZone. En las versiones 3.13.0 a 4.10.0, la falta de comprobaciones en “entry_get_attribute_value()” en “ta/pkcs11/src/object.c” puede provocar una lectura fuera de límites del heap del TA PKCS#11 o un fallo. Cuando se encadena con la lectura OOB, la función TA PKCS#11 “PKCS11_CMD_GET_ATTRIBUTE_VALUE” o “entry_get_attribute_value()” puede, con un parámetro de plantilla incorrecto, ser engañada para leer como máximo 7 bytes más allá del final del búfer de plantilla y escribir más allá del final del búfer de plantilla con el contenido de un valor de atributo de un objeto PKCS#11. Los commits e031c4e562023fd9f199e39fd2e85797e4cbdca9, 16926d5a46934c46e6656246b4fc18385a246900 y 149e8d7ecc4ef8bb00ab4a37fd2ccede6d79e1ca contienen parches y se prevé que formen parte de la versión 4.11.0.","source":"nvd"}],"published":"2026-04-24T02:20:55.670Z","modified":"2026-10-26T21:10:00.170Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L","score":8.7,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L","score":8.7,"rating":"HIGH"}],"cwes":["CWE-125","CWE-787"],"affected":[{"ranges":[{"version":">= 3.13.0, <= 4.10.0","status":"affected"}],"vendor":"OP-TEE","product":"optee_os","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"3.13.0","lastAffected":"4.10.0"}],"vendor":"trustedfirmware","product":"op-tee","cpe":"cpe:2.3:o:trustedfirmware:op-tee:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/OP-TEE/optee_os/security/advisories/GHSA-8cqw-mg7v-c9p9","tags":["exploit","patch","vendor-advisory","x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/OP-TEE/optee_os/commit/149e8d7ecc4ef8bb00ab4a37fd2ccede6d79e1ca","tags":["patch","x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/OP-TEE/optee_os/commit/16926d5a46934c46e6656246b4fc18385a246900","tags":["patch","x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/OP-TEE/optee_os/commit/e031c4e562023fd9f199e39fd2e85797e4cbdca9","tags":["patch","x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-04-24T17:19:41.848Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-33317","url":"https://www.cve.org/CVERecord?id=CVE-2026-33317","licence":"CVE Terms of Use","modified":"2026-04-24T18:18:04.912Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-33317","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-33317","licence":"Public domain","modified":"2026-10-26T21:10:00.170Z"}],"updatedAt":"2026-11-25T22:59:19.450Z","epss":{"score":0.00189,"percentile":0.08877,"date":"2026-12-01T12:00:22.000Z"}}