Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconObtain or compromise TA signing key
-
DeliveryCraft TA binary with TA_FLAG_CONCURRENT in signed header
-
ExploitDeploy TA to target device
-
InstallOpen two concurrent TEE client sessions
-
C2Race concurrent memref map/unmap operations
-
ExecuteTrigger use-after-free in S-EL1 kernel memory
-
ImpactCorrupt TEE kernel state or extract secure assets
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory lifecycle management
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the attacker to load a signed Trusted Application whose ELF header has TA_FLAG_CONCURRENT set - this flag must be present in the TA binary at signing time, meaning the attacker either controls the TA signing key for the target device or has compromised a vendor's TA signing pipeline. The attack further requires the ability to open at least two concurrent client sessions to that TA from the Normal World (REE), which is a standard but necessary operational step. The critical limiting factor is the signing requirement: OP-TEE's TA authentication model (typically using RSA or ECDSA signatures verified against a device-provisioned public key) means an adversary without signing authority cannot introduce a malicious TA, substantially constraining the attacker population to insiders, supply-chain actors, or those who have separately compromised a signing infrastructure. No special network exposure is required; the attack is entirely local to the device. Exploitation is not possible against default OP-TEE configurations that enforce TA signature verification unless the attacker already holds a trusted signing credential. |
| Impact | The CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:H) accurately reflects a local, high-privilege attack - the adversary must already possess the ability to load a signed Trusted Application, which in practice means either control of a device provisioned to trust their signing key or compromise of a TA signing authority. No EPSS data was provided, and no KEV listing exists, consistent with a vulnerability requiring significant pre-existing access rather than opportunistic internet-scale exploitation. The high C/I/A impact scores (VC:H/VI:H/VA:H) are credible: arbitrary corruption of S-EL1 kernel memory can undermine the entire security boundary that TrustZone provides, potentially exposing secrets held in secure storage. SC:N/SI:N/SA:N in the provided vector suggests the vendor scopes impact to the TEE itself rather than the Normal World REE, though in practice S-EL1 corruption of sufficient sophistication could erode Normal World trust anchors as well - this boundary deserves scrutiny by deployers. For organizations where TrustZone is a critical security primitive (mobile payments, DRM, enterprise key management), even constrained local exploitation is severe; a mid-sized embedded device manufacturer or municipal IT team deploying ARM-based secure infrastructure - for instance an operator analogous to those in opole running smart-city or transit payment systems - should treat patching as urgent given the total loss of TEE integrity that successful exploitation implies. |
| Exploit ScenarioDerived | An attacker who controls a legitimate signing key trusted by the target device crafts a regular (non-pseudo) Trusted Application binary with TA_FLAG_CONCURRENT set in the signed ELF header. They install this TA and open two concurrent client sessions from a Normal World application; both sessions race to map and unmap memref parameters against the shared uctx->vm_info.regions list without locking, freeing vm_region nodes that remain in use. The resulting use-after-free in S-EL1 memory can be leveraged to corrupt TEE kernel data structures, potentially enabling arbitrary code execution within the secure world or disclosure of secrets held in OP-TEE secure storage. No public proof-of-concept exploit code has been identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 10, 2026
Use-after-free in the OP-TEE OS Trusted Application loader (all versions through 4.10.0) allows an attacker who controls a signed Trusted Application to corrupt S-EL1 secure-world kernel memory. By setting TA_FLAG_CONCURRENT in the TA's signed header - a flag reserved exclusively for pseudo-TAs - an adversary can force two concurrent sessions to share a context without locking, triggering a race on uctx->vm_info.regions that frees vm_region nodes still referenced by live mappings. No public exploit has been identified at time of analysis, and the flaw is not listed in CISA KEV, but the high CVSS 4.0 score of 8.4 and confirmed patch availability underscore its seriousness in TEE-dependent deployments.
RemediationAI
Apply the upstream fix by updating to a build of OP-TEE OS that incorporates commit 8794043c4065c26a2b8b1313794ba5ba5f06d296 (https://github.com/OP-TEE/optee_os/commit/8794043c4065c26a2b8b1313794ba5ba5f06d296). The patch adds a TEE_ERROR_BAD_FORMAT rejection for any TA header with TA_FLAG_CONCURRENT set, preventing the vulnerable code path from being reached. Because OP-TEE OS is typically integrated into firmware images by SoC vendors or OEMs, a firmware update - not an OS-level package upgrade - is likely required; coordinate with your platform vendor. As a compensating control where a firmware update cannot be deployed immediately, restrict which Trusted Applications can be loaded by enforcing strict allowlisting of TA UUIDs at the Normal World secure service dispatcher; this limits exposure to signed TAs under your control. Note that this workaround does not eliminate the vulnerability - it reduces the attacker surface to TAs you already trust. The VulnCheck advisory is available at https://www.vulncheck.com/advisories/op-tee-os-use-after-free-via-trusted-application-loader-ta-flag-concurrent and the upstream PR at https://github.com/OP-TEE/optee_os/pull/7900.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
OP-TEE OS (cpe:2.3:a:op-tee:optee_os) is the open-source reference implementation of ARM TrustZone's Trusted Execution Environment (TEE), running at S-EL1 (secure kernel) with Trusted Applications executing at S-EL0. The loader path in core/kernel/ldelf_loader.c and ldelf/ta_elf.c processes TA headers before mapping memory regions via the vm_info.regions linked list. CWE-416 (Use After Free) arises because TA_FLAG_CONCURRENT, when present in a regular (non-pseudo) TA header, bypasses mutual exclusion during concurrent session creation: both sessions share the same user context (uctx) and race to map/unmap memref parameters, causing vm_region nodes to be freed while still referenced by the other session's active mapping. The fix (commit 8794043) adds early rejection of any TA header carrying TA_FLAG_CONCURRENT at both the kernel loader layer (ldelf_loader.c) and the ELF loader layer (ldelf/ta_elf.c), returning TEE_ERROR_BAD_FORMAT before any memory mapping occurs.
Know when Optee Os gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:L/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Local attack vector with high privileges (signed TA loading capability required); scope changed because TA at S-EL0 corrupts the S-EL1 secure kernel across an EL boundary.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
OP-TEE OS through 4.10.0, fixed in commit 8794043, contains a use-after-free vulnerability in the Trusted Application loader that allows attackers with the ability to load a signed Trusted Application to corrupt secure-world kernel memory by setting the TA_FLAG_CONCURRENT flag in a user TA signed header. Attackers can cause two concurrent sessions to operate on the same shared context without locking, corrupting the uctx->vm_info.regions list during memref parameter mapping and unmapping to free vm_region nodes still in use, resulting in a use-after-free in S-EL1 secure-world kernel memory.
Executive ViewAI
A vulnerability in OP-TEE OS (versions through 4.10.0) enables memory corruption in the Trusted Execution Environment, potentially compromising security-critical functions such as cryptographic operations, payment processing, and authentication across ARM-based devices and embedded systems. Organizations must patch immediately to prevent potential breach of protected data and unauthorized access to security functions.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Use-after-free vulnerabilities occur when a program continues to access memory through a pointer after that memory has been deallocated.
Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Out-of-bounds read and write in OP-TEE OS PKCS#11 Trusted Application (versions 3.13.0-4.10.0) allows authenticated loca
Secure-world heap corruption in OP-TEE OS through 4.10.0 allows a malicious Trusted Application to write attacker-contro
Use-after-free race condition in OP-TEE OS versions 3.16.0 through 4.10.x enables local low-privileged attackers to corr
Integer overflow in OP-TEE OS RSA signature encoding crashes the Trusted Execution Environment on platforms with RSA har
Null pointer dereference in OP-TEE OS through version 4.10.0 allows a low-privileged Normal World process to crash the e
Subkey rollback protection in OP-TEE OS versions 3.20.0 through 4.10.x is completely non-functional due to a missing fie
Heap overflow in OP-TEE's ARM Crypto Extensions SHA-3 implementation corrupts TEE kernel memory across all platforms bui
Type confusion in OP-TEE OS versions 4.3.0 through 4.10.x allows a highly privileged local attacker operating in the nor
Private ECDH key recovery in OP-TEE prior to version 4.11.0 is achievable by a local attacker who can invoke TEE_DeriveK
Integer overflow in OP-TEE OS's AES-GCM implementation silently corrupts authentication tag computation when a single op
Heap exhaustion in OP-TEE OS (versions 3.3.0 through 4.10.x) allows a low-privileged normal-world local caller to progre
Stack exhaustion via unbounded recursion in the OP-TEE PKCS#11 Trusted Application allows a local low-privileged user to
EUVD-2026-55697
GHSA-p84g-83m7-53p6
NVD
CVE.org
EPSS
VulDB
Exploit-DB