By selecting a small enough modulus, this subtraction can overflow.
- CVSS
- 7.5High
- Chance of exploitation (EPSS)
- —
- Published
- Apr 24, 2026
- In the news
- Not yet
What to do
A serious security flaw in Trustedfirmware Op-tee that can be attacked over the network without logging in. No attacks are reported yet; it can go in your normal patch cycle.
Action: Apply the vendor's update or follow its advisory.
Affected versions
- Optee OS
- >= 3.8.0, <= 4.10
- Op-tee OS
- >= 3.8.0, <= 4.10
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. From 3.8.0 to 4.10, in the function emsa_pkcs1_v1_5_encode() in core/drivers/crypto/crypto_api/acipher/rsassa.c, the amount of padding needed, "PS size", is calculated by subtracting the size of the digest and other fields required for the EMA-PKCS1-v1_5 encoding from the size of the modulus of the key. By selecting a small enough modulus, this subtraction can overflow. The padding is added as a string of 0xFF bytes with a call to memset(), and an underflowed integer will cause the memset() call to overwrite until OP-TEE crashes. This only affects platforms registering RSA acceleration.
Affected products
Get alerts for these →Timeline 1
Latest change: CVE-2026-33662 published (CVSS 7.5) (Apr 24, 2026)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Fri, Apr 24, 2026
- CVECVE-2026-33662 published (CVSS 7.5)CVE Program · 19:17 UTC
References 1
- github.com PatchVendor Advisory /OP-TEE/optee_os/security/advisories/GHSA-4cf8-v5g3-73gr