8.7high
OP-TEE: PKCS#11 TA out-of-bounds read and memory disclosure
- Severity
- 8.7high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.19% (higher than 8% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| OP-TEE optee_os | >= 3.13.0, <= 4.10.0 | CVE List |
| trustedfirmware op-tee | from 3.13.0 up to 4.10.0 | NVD |
Classification
What each source says
CVE List
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.
NVD (es)
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.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-33317 changed 2026-04-24 | CVE Terms of Use |
| NVD | CVE-2026-33317 changed 2026-10-26 | Public domain |