Skip to main content
VulnerabilityPublished

CVE-2026-40257: OP-TEE optee_os · Out-of-bounds Write

Affects OP-TEE optee_osSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 5.5 Medium : upgrade to 4.11.0 when convenient.

Data as of 17 Nov 2026, 20:25 UTC

CVSS 3.1 base score
5.5Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.1% chance of exploitation in 30 days – higher than 4% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 4.11.0
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 6 Jul 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 17 Nov 2026.

What to do

Upgrade optee_os and op-tee/optee_os to 4.11.0.

Affected software

ProductAffectedFixed in
OP-TEEoptee_osAffected
  • >=3.21.0 <4.11.0
Fixed in
  • 4.11.0
GitHubop-tee/optee_ospkg:github/op-tee/optee_osOther threatsAffected
  • >=3.21.0 <4.11.0
Fixed in
  • 4.11.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Version 4.11.0 of OP-TEE contains a patch that fixes this vulnerability. Users should upgrade to version 4.11.0 or later. As a workaround, disabling the SHA3 Crypto Extensions by setting CFG_CRYPTO_WITH_CE82=n in the build configuration will mitigate the issue. Patch status is not explicitly confirmed beyond the mention of version 4.11.0 containing a patch, so users should verify with the vendor advisory for the latest remediation guidance.

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`.

References

Community reviews

Loading reviews…