CVE 8.7 HIGH

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

8.7 / 10
HIGH
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L

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.

AI Analysis

Out-of-bounds read and memory disclosure in OP-TEE PKCS#11 TA due to missing checks in `entry_get_attribute_value()` function

Basic Information

ID CVE-2026-33317
Source GitHub_M
Published Apr 24, 2026 at 02:20

Affected Product

Vendor OP-TEE
Product optee_os
Version >= 3.13.0, <= 4.10.0
Affected Versions OP-TEE optee_os >= 3.13.0, <= 4.10.0

CWE Classification

AI Assessment

AI Score 8.7 / 10
AI Severity High
Vendor OP-TEE
Product OP-TEE optee_os
Version 3.13.0 to 4.10.0

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.