Skip to main content

OP-TEE CVE-2026-42546

| EUVDEUVD-2026-41910 LOW
Allocation of Resources Without Limits or Throttling (CWE-770)
2026-07-06 GitHub_M
3.8
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Obtain normal-world low-privilege local access
  2. Delivery
    Invoke TEE API with non-contiguous shared memory params
  3. Exploit
    Trigger missing mobj_put() in cleanup_shm_refs()
  4. Execution
    Accumulate mobj_reg_shm reference leaks per call
  5. Persist
    Exhaust secure-world heap over repeated calls
  6. Impact
    Deny service to all trusted application operations

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource allocation limits
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires local, low-privileged access to the normal world (Linux user space) on a device running OP-TEE in a non-FF-A configuration with non-contiguous, non-secure shared memory support enabled. The attacker must be able to invoke TEE operations and supply parameters that exercise the non-contiguous memory path - this is a standard TEE API interaction, not an obscure or privileged operation, but it does require the specific configuration (non-FF-A + non-contiguous shared memory). Devices using FF-A configurations are explicitly excluded. The impact is slow and cumulative rather than immediate: a single trigger causes a small leak; sustained triggering over time leads to heap exhaustion. Limiting factors include the need for local access (AV:L), the requirement for non-default or platform-specific non-contiguous memory configuration, and the gradual nature of the DoS - detection and reboot can interrupt an attack before full heap exhaustion is reached.

Impact

The NVD CVSS base score of 3.8 (Low) and the CVSS vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:L reflect a locally-triggered, low-complexity availability issue with a scope change into the secure world (S:C), but the impact on that scope is rated Low (A:L). This scoring is broadly appropriate: exploitation requires local, low-privileged normal-world access to invoke TEE operations, and the availability impact is gradual degradation rather than instant crash. The scope change to the secure world is notable - normal-world code should not be able to destabilize the TEE - but the attack only causes DoS and not confidentiality or integrity compromise. No EPSS score was provided in the input, so probabilistic exploitation frequency cannot be quantified. The flaw is NOT in the CISA KEV catalog and no POC is known; real-world exploitation risk is therefore assessed as low-to-moderate for targeted embedded or mobile platform attacks where an adversary already has normal-world local access. The primary real-world threat vector is a malicious or compromised application on an Arm TrustZone device repeatedly invoking TEE operations with non-contiguous shared memory to degrade or crash trusted application services. For devices where OP-TEE hosts security-critical trusted applications (e.g., key storage, DRM, secure authentication), a TEE DoS has outsized operational impact beyond the raw CVSS score suggests.

Exploit ScenarioDerived

An unprivileged process on a Linux system running OP-TEE 3.3.0-4.10.x with non-FF-A and non-contiguous shared memory support repeatedly opens TEE sessions and passes non-contiguous memory parameters, causing cleanup_shm_refs() to skip mobj_put() on each invocation. Over thousands of calls, mobj_reg_shm objects accumulate on internal lists, progressively exhausting the secure-world heap until new trusted application operations - such as key storage reads, DRM license checks, or biometric authentication - begin failing, ultimately requiring a full device reboot to restore TEE functionality. No public POC exists at time of analysis, but the attack is mechanically straightforward for any caller with TEE access rights.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.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 – Jul 06, 2026

Heap exhaustion in OP-TEE OS (versions 3.3.0 through 4.10.x) allows a low-privileged normal-world local caller to progressively degrade and ultimately deny service to all trusted applications running in the secure world. The root cause is a missing bitmask application in cleanup_shm_refs() that causes mobj_reg_shm reference objects to accumulate indefinitely on internal lists without being released. No public exploit code has been identified at time of analysis, and EPSS data was not supplied; however, the flaw is structurally straightforward to trigger through normal TEE invocation with non-contiguous shared memory parameters, making it feasible for any process with TEE access to exhaust the secure heap over time.

RemediationAI

Upgrade OP-TEE OS to version 4.11.0, which contains the patch applying the OPTEE_MSG_ATTR_TYPE_MASK bitmask correctly in cleanup_shm_refs(). The vendor advisory at https://github.com/OP-TEE/optee_os/security/advisories/GHSA-c7j8-fgqw-rcgp should be consulted for build and integration guidance. The vendor explicitly states no known workarounds are available. As a partial compensating control, operators can restrict which normal-world processes are permitted to open sessions with trusted applications (reducing the pool of principals who can trigger the leak), though this does not eliminate the vulnerability and may impact legitimate TA consumers. Systems exhibiting slow TEE performance degradation should be monitored for secure-world heap pressure as an indicator of exploitation or triggering. Periodic reboots as a stopgap are an operational mitigation only; they do not address the underlying defect and may mask active exploitation.

Affected VersionsENISA

optee_os 3.3.0, < 4.11.0

Affected Packages

euvd optee_os_3_3_0 fix: 4.11.0

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 (optee_os, CPE: cpe:2.3:a:op-tee:optee_os:*:*:*:*:*:*:*:*) is the reference Trusted Execution Environment for Arm TrustZone-enabled Cortex-A processors, running as a secure-world OS alongside a normal-world Linux kernel. The flaw resides in core/tee/entry_std.c, specifically in cleanup_shm_refs(). When a normal-world caller passes parameters using non-contiguous shared memory, the attribute word for each parameter must be masked with OPTEE_MSG_ATTR_TYPE_MASK before comparison in a switch statement to extract the parameter type. Because this mask is omitted, the type field is not correctly extracted, none of the switch arms match, and the corresponding mobj_put() call - which decrements the reference count of the mobj_reg_shm memory object - is skipped. The CWE-770 classification (Allocation of Resources Without Limits or Throttling) accurately describes the outcome: each affected invocation retains a counted reference permanently, and these phantom references progressively consume the secure-world heap allocator. The bug is scoped to non-FF-A (non-Firmware Framework for Arm) configurations that support non-contiguous, non-secure shared memory, introduced in version 3.3.0.

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 (GitHub_M) PRIMARY 3.8 LOW
AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:L
vuln.today AI 3.8 LOW

Local normal-world caller with low privileges; no confidentiality or integrity impact; scope changes into secure world with low availability degradation.

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

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
None
Integrity
None
Availability
Low

Lifecycle Timeline

1
Patch available
Jul 06, 2026 - 21:16 EUVD

DescriptionCVE.org

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.3.0 and prior to version 4.11.0, a resource leak exists in OP-TEE’s shared memory cleanup logic because the function cleanup_shm_refs() in core/tee/entry_std.c fails to apply a required bitmask (OPTEE_MSG_ATTR_TYPE_MASK) to parameter attributes. When processing non-contiguous memory parameters from a normal-world caller, the system fails to match the attribute type in its internal switch statement and skips the necessary mobj_put() call. This results in a persistent reference leak of mobj_reg_shm objects, which remain on internal lists with dangling refcounts. This affects non-FF-A configurations that support non-contiguous, non-secure shared memory. Over time, these accumulated leaks progressively consume the secure-world heap, degrading the system's ability to service trusted application operations and eventually requiring a reboot to recover. Version 4.11.0 contains a patch. No known workarounds are available.

Threat Intelligence Overview

EPSS Score
0.1%
Top 99% exploitable
Prevalence
Medium
widely used TEE implementation for Arm TrustZone embedded and mobile platforms
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

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 LOW
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.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
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

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

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

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-71968 HIGH
8.4 Aug 10

Use-after-free in the OP-TEE OS Trusted Application loader (all versions through 4.10.0) allows an attacker who controls

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