Padding Overflow Vulnerability in OP-TEE Trusted Execution Environment
CVE-2026-33662
7.5HIGH
What is CVE-2026-33662?
A vulnerability exists in the OP-TEE Trusted Execution Environment related to RSA acceleration. The issue lies in the function emsa_pkcs1_v1_5_encode() where the calculation of the PS size can lead to an integer overflow if a small modulus is chosen. This results in an overflow of the subtraction operation, causing a buffer overflow during padding, which is applied with memset(). This can lead to a crash of the OP-TEE environment, potentially compromising the system's security.
Affected Version(s)
optee_os >= 3.8.0, <= 4.10
