Skip to main content

OP-TEE OS CVE-2026-71968

| EUVDEUVD-2026-55697 HIGH
Use After Free (CWE-416)
2026-08-10 VulnCheck GHSA-p84g-83m7-53p6
8.4
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Obtain or compromise TA signing key
  2. Delivery
    Craft TA binary with TA_FLAG_CONCURRENT in signed header
  3. Exploit
    Deploy TA to target device
  4. Install
    Open two concurrent TEE client sessions
  5. C2
    Race concurrent memref map/unmap operations
  6. Execute
    Trigger use-after-free in S-EL1 kernel memory
  7. Impact
    Corrupt 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

optee_os patch: 8794043c4065c26a2b8b1313794ba5ba5f06d296
optee_os 0 ≤4.10.0

Affected Packages

euvd optee_os no fix

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

Vendor (VulnCheck) PRIMARY 8.4 HIGH
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
vuln.today AI 8.2 HIGH

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.

3.1 AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
High
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.1%
Top 99% exploitable
Prevalence
Medium
dominant open-source ARM TrustZone TEE, widely embedded in mobile and IoT
Data Quality
7 sources
Confidence: High

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

Priority Score

42
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +42
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

CVE-2026-33317 HIGH
8.7 Apr 24

Out-of-bounds read and write in OP-TEE OS PKCS#11 Trusted Application (versions 3.13.0-4.10.0) allows authenticated loca

CVE-2026-71969 HIGH
8.4 Aug 10

Secure-world heap corruption in OP-TEE OS through 4.10.0 allows a malicious Trusted Application to write attacker-contro

CVE-2026-40290 HIGH
7.8 Jun 03

Use-after-free race condition in OP-TEE OS versions 3.16.0 through 4.10.x enables local low-privileged attackers to corr

CVE-2026-33662 HIGH
7.5 Apr 24

Integer overflow in OP-TEE OS RSA signature encoding crashes the Trusted Execution Environment on platforms with RSA har

CVE-2026-71967 MEDIUM
5.7 Aug 10

Null pointer dereference in OP-TEE OS through version 4.10.0 allows a low-privileged Normal World process to crash the e

CVE-2026-44362 MEDIUM
5.5 Jul 06

Subkey rollback protection in OP-TEE OS versions 3.20.0 through 4.10.x is completely non-functional due to a missing fie

CVE-2026-40257 MEDIUM
5.5 Jul 06

Heap overflow in OP-TEE's ARM Crypto Extensions SHA-3 implementation corrupts TEE kernel memory across all platforms bui

CVE-2026-45702 MEDIUM
5.5 Jun 03

Type confusion in OP-TEE OS versions 4.3.0 through 4.10.x allows a highly privileged local attacker operating in the nor

CVE-2026-45614 MEDIUM
4.7 Jun 03

Private ECDH key recovery in OP-TEE prior to version 4.11.0 is achievable by a local attacker who can invoke TEE_DeriveK

CVE-2026-53763 LOW
3.8 Jul 06

Integer overflow in OP-TEE OS's AES-GCM implementation silently corrupts authentication tag computation when a single op

CVE-2026-42546 LOW
3.8 Jul 06

Heap exhaustion in OP-TEE OS (versions 3.3.0 through 4.10.x) allows a low-privileged normal-world local caller to progre

CVE-2026-41434 LOW
3.3 Jul 06

Stack exhaustion via unbounded recursion in the OP-TEE PKCS#11 Trusted Application allows a local low-privileged user to

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy