Skip to main content

OP-TEE OS CVE-2026-33317

| EUVDEUVD-2026-25379 HIGH
Out-of-bounds Read (CWE-125)
2026-04-24 GitHub_M
8.7
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Recon
    Authenticate to Linux system
  2. Delivery
    Invoke PKCS#11 TA with malformed template
  3. Exploit
    Trigger OOB heap read (7 bytes)
  4. Install
    Extract adjacent memory data
  5. C2
    Craft second malicious request
  6. Execute
    Write OOB beyond template buffer
  7. Impact
    Corrupt TEE memory structures
  8. Step 8
    Escalate privileges or leak keys

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK

1 technique across 1 tactic: Collection

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

Exploitation Conditions

Requires authenticated local access (PR:L) to a Linux system running OP-TEE OS versions 3.13.0 through 4.10.0 on Arm Cortex-A hardware with TrustZone enabled. The PKCS#11 Trusted Application must be compiled into the OP-TEE build (CFG_PKCS11_TA=y, often enabled by default for cryptographic functionality). Attacker must have permissions to communicate with the PKCS#11 TA through the TEE Client API, typically available to unprivileged processes in standard OP-TEE deployments. No user interaction required (UI:N) once these prerequisites are met. Exploitation is limited to systems where the PKCS#11 TA is actually loaded and accepting commands, which excludes minimal OP-TEE configurations without cryptographic token support. The low attack complexity (AC:L) indicates no race conditions, timing dependencies, or other unstable prerequisites beyond the basic configuration requirements.

Impact

CVSS 8.7 (High) is well-justified by the changed scope (S:C) indicating containment boundary breach between TEE and normal world, combined with high confidentiality and integrity impact. The local attack vector (AV:L) with low privileges required (PR:L) and low complexity (AC:L) means authenticated users on the Linux side can exploit this without special conditions beyond basic PKCS#11 TA access. The scope change is particularly significant: compromising TEE integrity undermines the entire TrustZone security model protecting cryptographic keys, secure boot chains, and DRM implementations. However, real-world risk is moderated by several factors: requires local authenticated access to a system running OP-TEE with PKCS#11 TA enabled, limiting attack surface compared to network-exposed vulnerabilities. The 7-byte read limitation constrains information leakage severity, though the write primitive remains serious for TEE corruption. No EPSS score provided prevents quantitative exploitation probability assessment. Absence from CISA KEV and GitHub as the reporting source (not exploitation reports) suggests this was discovered through security research rather than active exploitation. The availability of upstream patches in three commits (e031c4e, 16926d5a, 149e8d7) anticipated for version 4.11.0 provides clear remediation path. Priority should be HIGH for embedded systems, mobile devices, and IoT platforms using OP-TEE for hardware-backed security, MODERATE for systems where TEE is not protecting critical assets.

Exploit ScenarioDerived

An attacker with low-privilege local access to an Android device or embedded Linux system running vulnerable OP-TEE OS crafts a malicious PKCS#11 application that invokes PKCS11_CMD_GET_ATTRIBUTE_VALUE with carefully manipulated template parameters. The specially crafted template triggers out-of-bounds reads from the PKCS#11 TA heap, potentially exposing cryptographic key material or session tokens stored in adjacent memory. Chaining this information leak, the attacker constructs a second malicious request that writes controlled attribute values beyond the template buffer boundaries, corrupting TEE memory structures to escalate privileges within the secure world or disable security checks. No public proof-of-concept code identified at time of analysis, but the detailed function-level description and available patch commits provide sufficient information for exploit development by skilled researchers.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.0% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Apr 24, 2026

Out-of-bounds read and write in OP-TEE OS PKCS#11 Trusted Application (versions 3.13.0-4.10.0) allows authenticated local attackers with low privileges to read up to 7 bytes beyond heap boundaries and write arbitrary attribute values outside allocated buffers, potentially compromising the integrity and confidentiality of the Trusted Execution Environment. The vulnerability affects Arm TrustZone-based TEE implementations running alongside Linux kernels on Cortex-A cores. Patches available in three upstream commits targeting version 4.11.0. EPSS data not provided; no CISA KEV status indicating targeted rather than widespread exploitation. CVSS 8.7 reflects high confidentiality/integrity impact with scope change, representing potential TEE compromise from the normal world.

RemediationAI

Upgrade to OP-TEE OS version 4.11.0 or later once released, which will incorporate fixes from commits e031c4e562023fd9f199e39fd2e85797e4cbdca9, 16926d5a46934c46e6656246b4fc18385a246900, and 149e8d7ecc4ef8bb00ab4a37fd2ccede6d79e1ca (patches viewable at https://github.com/OP-TEE/optee_os/commit/149e8d7ecc4ef8bb00ab4a37fd2ccede6d79e1ca and related commit URLs). Organizations requiring immediate mitigation can backport the three patches to their current OP-TEE version, though this requires TEE rebuild and redeployment with firmware updates. As a compensating control until patching, disable the PKCS#11 Trusted Application if not operationally required by setting CFG_PKCS11_TA=n in OP-TEE build configuration, which eliminates the vulnerable code path entirely but removes hardware-backed PKCS#11 cryptographic services, breaking applications dependent on TEE-based key storage and potentially impacting secure boot flows, DRM implementations, and VPN key management. Restrict local user access to systems running vulnerable OP-TEE versions, as PR:L indicates authenticated local access is the attack prerequisite, though this provides limited protection on multi-user embedded Linux systems.

Affected VersionsENISA

optee_os 3.13.0, ≤ 4.10.0

Affected Packages

euvd optee_os_3_13_0 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 (Open Portable Trusted Execution Environment) implements Arm TrustZone technology to create isolated secure-world execution contexts alongside a non-secure Linux kernel on Cortex-A processors. The PKCS#11 Trusted Application (TA) provides cryptographic token interface services within the TEE. The vulnerability (CWE-125: Out-of-bounds Read) exists in the entry_get_attribute_value() function within ta/pkcs11/src/object.c, where insufficient bounds checking on template parameters allows memory access beyond allocated heap buffers. When processing PKCS11_CMD_GET_ATTRIBUTE_VALUE commands, malformed template parameters can trigger reads up to 7 bytes past the template buffer boundary, with the out-of-bounds data then written back beyond the template buffer bounds using PKCS#11 object attribute values. This represents a classic buffer overflow chaining two memory safety violations: OOB read providing targeting information for subsequent OOB write. The CPE identifier confirms affected component as optee_os across the specified version range.

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 8.7 HIGH
AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L

Primary rating from Vendor (GitHub_M) · only source for this CVE.

CVSS VectorVendor: GitHub_M

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

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. In versions 3.13.0 through 4.10.0, missing checks in entry_get_attribute_value() in ta/pkcs11/src/object.c can lead to out-of-bounds read from the PKCS#11 TA heap or a crash. When chained with the OOB read, the PKCS#11 TA function PKCS11_CMD_GET_ATTRIBUTE_VALUE or entry_get_attribute_value() can, with a bad template parameter, be tricked into reading at most 7 bytes beyond the end of the template buffer and writing beyond the end of the template buffer with the content of an attribute value of a PKCS#11 object. Commits e031c4e562023fd9f199e39fd2e85797e4cbdca9, 16926d5a46934c46e6656246b4fc18385a246900, and 149e8d7ecc4ef8bb00ab4a37fd2ccede6d79e1ca contain patches and are anticipated to be part of version 4.11.0.

Executive ViewAI

Why It Matters

CVE-2026-33317 is a HIGH severity memory corruption vulnerability in OP-TEE OS PKCS#11 (versions 3.13.0-4.10.0) that allows authenticated local attackers to read sensitive data from and write to the Trusted Execution Environment, potentially compromising cryptographic keys and TEE integrity on devices using Arm TrustZone. Organizations deploying OP-TEE for security-critical functions-including hardware key storage, secure payment processing, or DRM-face confidentiality and integrity breaches if systems are not updated to version 4.11.0 or later.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: restrict local access to affected systems through OS-level privilege controls; disable PKCS#11 Trusted Application if not actively required; monitor for unauthorized TEE access; isolate affected devices from networks handling sensitive key material until patched. Note: these mitigations reduce but do not eliminate risk of TEE compromise by privileged local processes.

Threat Intelligence Overview

EPSS Score
0.0%
Top 98% exploitable
Social Media
3
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 HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
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
Scheduled
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

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

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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