CVE-2026-40257 OP-TEE has SHA-3 accelerated finalize heap overflow
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- Linux KernelUbuntuDebian
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.
Upgrade path
5 packages: 1 fixed, 3 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/optee-os(Debian 13) | = 4.5.0-2; = 4.7.0-1; = 4.8.0-1; = 4.9.0-1 +3 more | No fix listed | No fix yet |
| ubuntu/optee-os(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/optee-os(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| TrustedFirmware op-tee | >= 3.21.0, <= 4.10.0 | after 4.10.0 | Fixed |
| OP-TEE optee_os | = >= 3.21.0, < 4.11.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| OP-TEE optee_os | = >= 3.21.0, < 4.11.0 | No fix listed |
| debian/optee-os(Debian:13) | All versions | No fix listed |
| debian/optee-os(Debian:13) | = 4.10.0-1 | No fix listed |
| debian/optee-os(Debian:13) | = 4.10.0-2 | No fix listed |
| debian/optee-os(Debian:13) | = 4.5.0-2 | No fix listed |
| debian/optee-os(Debian:13) | = 4.7.0-1 | No fix listed |
| debian/optee-os(Debian:13) | = 4.8.0-1 | No fix listed |
| debian/optee-os(Debian:13) | = 4.9.0-1 | No fix listed |
| ubuntu/optee-os(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/optee-os(Ubuntu:26.10) | All versions | No fix listed |
| TrustedFirmware op-tee | >= 3.21.0, <= 4.10.0 | No fix listed |
References
- https://github.com/OP-TEE/optee_os/security/advisories/GHSA-75x4-j8p9-55qv mitigation patch vendor-advisory
- Debian Security Tracker CVE-2026-40257 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- bugs.debian.org issue-tracking