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. Starting in version 3.9.0 and prior to version 4.11.0, the RSA-OAEP decryption implementation in the NXP CAAM crypto driver uses non-constant-time `memcmp()` for label hash verification and has multiple distinguishable error paths. This creates a Manger-style padding oracle that allows an attacker to recover RSA-OAEP plaintext with approximately 1000-2000 adaptive chosen ciphertext queries. Version 4.11.0 contains a patch. As a workaround, disable the NXP CAAM RSA driver with `CFG_CRYPTO_DRV_RSA=n`.
Fix
Patch, vendor advisory and mitigation references on NVD 1
- https://github.com/OP-TEE/optee_os/security/advisories/GHSA-5q45-58r5-cq4g Mitigation, Vendor Advisory, Patch
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 1
- First seenCVSS 3.3 · trustedfirmwareNVD modified 2026-10-25 20:10
Affected (CPE criteria) 1
cpe:2.3:o:trustedfirmware:op-tee:*:*:*:*:*:*:*:*
References 1
- https://github.com/OP-TEE/optee_os/security/advisories/GHSA-5q45-58r5-cq4g Mitigation, Vendor Advisory, Patch