5.5medium
OP-TEE has SHA-3 accelerated finalize heap overflow
- Severity
- 5.5medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.11% (higher than 1% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
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. Starting in version 3.21.0 and prior to version 4.11.0, the ARM Crypto Extensions accelerated SHA-3 implementation has an off-by-one error that can cause a massive heap overflow that corrupts all TEE kernel memory following the hash state. This affects all platforms built with `CFG_CRYPTO_WITH_CE82=y` (ARMv8.2+ with SHA3 Crypto Extensions). Version 4.11.0 contains a patch. As a workaround, disable SHA3 Crypto Extensions with `CFG_CRYPTO_WITH_CE82=n`.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| OP-TEE optee_os | >= 3.21.0, < 4.11.0 | CVE List |
| trustedfirmware op-tee | from 3.21.0 up to 4.10.0 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.21.0 and prior to version 4.11.0, the ARM Crypto Extensions accelerated SHA-3 implementation has an off-by-one error that can cause a massive heap overflow that corrupts all TEE kernel memory following the hash state. This affects all platforms built with `CFG_CRYPTO_WITH_CE82=y` (ARMv8.2+ with SHA3 Crypto Extensions). Version 4.11.0 contains a patch. As a workaround, disable SHA3 Crypto Extensions with `CFG_CRYPTO_WITH_CE82=n`.
NVD (es)
OP-TEE es un Entorno de Ejecución Confiable (TEE) diseñado como compañero de un kernel de Linux no seguro ejecutándose en Arm; núcleos Cortex-A usando la tecnología TrustZone. A partir de la versión 3.21.0 y antes de la versión 4.11.0, la implementación SHA-3 acelerada por las Extensiones Criptográficas de ARM tiene un error de ’off-by-one’ que puede causar un desbordamiento de montículo masivo que corrompe toda la memoria del kernel del TEE después del estado del hash. Esto afecta a todas las plataformas construidas con ’CFG_CRYPTO_WITH_CE82=y’ (ARMv8.2+ con Extensiones Criptográficas SHA3). La versión 4.11.0 contiene un parche. Como solución alternativa, deshabilite las Extensiones Criptográficas SHA3 con ’CFG_CRYPTO_WITH_CE82=n’.
References
| https://github.com/OP-TEE/optee_os/security/advisories/GHSA-75x4-j8p9-55qv | mitigation, patch, vendor-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-40257 changed 2026-07-06 | CVE Terms of Use |
| NVD | CVE-2026-40257 changed 2026-10-25 | Public domain |