Integer overflow in Linaro Op-Tee
CVE-2026-33662
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.
Vulnerability class: Integer Overflow
EPSS: 0.004 (33.5th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
Affected products
- Linaro Op-tee
- Op-tee Optee_os — versions >= 3.8.0, <= 4.10
- Trustedfirmware Op-tee
Weakness classification (CWE)
References
- security-advisories@github.com (x_refsource_CONFIRM, Patch, Vendor Advisory)
Frequently asked questions
- What is CVE-2026-33662?
- CVE-2026-33662 is a high-severity vulnerability in Linaro Op-Tee, classified under Integer Overflow or Wraparound. CVSS score: 7.5/10. Published 2026-04-24.
- How severe is CVE-2026-33662?
- High severity. CVSS v3 base score is 7.5 out of 10.