Skip to main content

OP-TEE OS CVE-2026-71969

| EUVDEUVD-2026-55699 HIGH
Out-of-bounds Write (CWE-787)
2026-08-10 VulnCheck GHSA-hg7c-pmh6-576f
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 TA signing credential or exploit weak signing policy
  2. Delivery
    Deploy malicious Trusted Application to OP-TEE secure world
  3. Exploit
    Invoke RSA NOPAD encrypt/decrypt with input length exceeding RSA modulus
  4. Install
    Unsigned size subtraction underflows to large value
  5. C2
    memcpy writes attacker data before destination buffer in S-EL1 heap
  6. Execute
    Corrupt secure-world heap to overwrite function pointers or key material
  7. Impact
    Achieve code execution or data exfiltration within TEE

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, write limits
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 ability to load and execute a Trusted Application within the OP-TEE secure world at S-EL0. In production deployments with enforced TA signing (hardware-protected signing key), an attacker must obtain or forge a valid TA signature before reaching the vulnerable code - a significant prerequisite. The vulnerable entry points are specifically the RSA NOPAD encrypt and decrypt operations (rsanopad_encrypt, rsanopad_decrypt) in either the mbedTLS backend or the SE050 hardware driver; only TAs that invoke these primitives via the TEE internal cryptographic API trigger the flaw. Exploitation is limited by: (1) the requirement to execute trusted code at S-EL0, which implies some form of pre-existing privileged access or supply-chain compromise; (2) TA signing enforcement in hardened production environments; and (3) an entirely local attack vector with no network-reachable trigger. In development environments, debug builds, or platforms configured to accept unsigned or developer-signed TAs, the barrier is substantially lower and exploitation requires only knowledge of the API.

Impact

The provided CVSS 4.0 score of 8.4 reflects a meaningful real-world barrier: PR:H indicates that exploitation requires executing code as a Trusted Application inside the TEE, and AV:L confirms the entirely local attack vector with no remote trigger path. Full CIA impact (VC:H/VI:H/VA:H) within the secure world is realistic once the attacker controls a TA, as S-EL1 heap corruption can overwrite function pointers, metadata, or cryptographic key material. SC:N/SI:N/SA:N indicates the assessment treats impact as contained to OP-TEE OS itself, though defenders should independently assess whether TEE compromise in their architecture weakens normal-world trust assumptions. No EPSS data was available, so exploitation probability is unknown. The absence of a CISA KEV listing means no confirmed active exploitation. The dual-path nature of the flaw (mbedTLS and SE050) means the attack surface is not limited by hardware configuration. Risk is elevated in development environments or platforms permitting unsigned TA deployment, and substantially reduced in production systems with enforced TA signing. No public exploit has been identified at time of analysis, consistent with this being a low-to-medium real-world priority outside of TEE-focused adversaries.

Exploit ScenarioDerived

An insider or supply-chain attacker with TA signing capability deploys a malicious Trusted Application that calls the rsanopad_encrypt or rsanopad_decrypt interface with an input buffer whose byte length exceeds the RSA key modulus size. The absent bounds check causes the unsigned subtraction to wrap, and the resulting oversized memcpy overwrites secure-world heap metadata or function pointers in S-EL1 memory with attacker-controlled bytes, enabling potential code execution at TEE OS privilege or extraction of cryptographic key material held in the secure heap. No public 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

Secure-world heap corruption in OP-TEE OS through 4.10.0 allows a malicious Trusted Application to write attacker-controlled data before a destination buffer in S-EL1 memory via RSA NOPAD encrypt and decrypt operations. The flaw exists in both the mbedTLS software cryptographic backend and the NXP SE050 hardware driver: when the caller supplies an input length exceeding the RSA modulus size, an unsigned integer underflow in the size subtraction produces a huge value, causing a subsequent memcpy to write well before the intended destination buffer in the secure-world heap. No public exploit has been identified at time of analysis; the upstream fix is available at commit 7b8b494 in the OP-TEE GitHub repository.

RemediationAI

Apply upstream fix commit 7b8b494e0a324cefec8ed386b7de413b44f1aaf3, available via OP-TEE GitHub PRs #7808 (https://github.com/OP-TEE/optee_os/pull/7808) and #7898 (https://github.com/OP-TEE/optee_os/pull/7898). A specific tagged OP-TEE release incorporating this fix has not been independently confirmed - monitor the OP-TEE release cadence and upgrade to the first release after commit 7b8b494 once tagged. As a compensating control, enforce strict Trusted Application signing policies using a hardware-protected TA signing key: this eliminates the malicious TA prerequisite entirely and mitigates the attack without patching, though it does not remove the underlying flaw and adds operational overhead for TA management. Additionally, restrict TA-to-TA and TA-to-OS capability grants via OP-TEE access control to limit which TAs can invoke raw RSA NOPAD operations, reducing the exploitable surface area. Refer to the VulnCheck advisory for additional context: https://www.vulncheck.com/advisories/op-tee-os-buffer-underwrite-via-rsa-nopad-encrypt-decrypt-operations.

Affected VersionsENISA

optee_os 0 ≤4.10.0
optee_os patch: 7b8b494e0a324cefec8ed386b7de413b44f1aaf3

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: cpe:2.3:a:op-tee:optee_os:*:*:*:*:*:*:*:*) is the reference implementation of a Trusted Execution Environment OS running at Arm TrustZone privilege level S-EL1. Trusted Applications (TAs) execute at S-EL0 and invoke TEE internal core APIs, including raw RSA NOPAD cipher operations. The defect, classified as CWE-787 (Out-of-bounds Write), is specifically a buffer underwrite: both decrypt_nopad and encrypt_nopad omitted a guard on src_len before computing the padding offset as rsa_len - src_len. When src_len > rsa_len, C unsigned arithmetic wraps to a very large positive value, so the subsequent memcpy treats that value as a write offset and writes attacker-supplied bytes into heap memory significantly before the destination buffer. The same logic flaw appeared independently in lib/libmbedtls/core/rsa.c (software path) and core/drivers/crypto/se050/core/rsa.c (SE050 hardware driver path), widening the affected surface to all OP-TEE cryptographic configurations. The fix, visible in PRs #7808 and #7898, inserts an explicit src_len > rsa_len check returning TEE_ERROR_BAD_PARAMETERS before any arithmetic proceeds.

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

AV:L and PR:H because exploitation requires executing a malicious TA inside the TEE; S:C because the TA at S-EL0 corrupts the OP-TEE OS at S-EL1, crossing a privilege boundary within the secure world.

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 7b8b494, contains a buffer underwrite vulnerability in the RSA NOPAD encrypt and decrypt operations within the mbedTLS software backend and SE050 hardware driver that allows a malicious Trusted Application to corrupt secure-world heap memory by supplying an input length exceeding the RSA modulus size. When src_len exceeds rsa_len, the subtraction expression wraps to a large unsigned value, causing a subsequent memcpy to write attacker-controlled data before the destination buffer in S-EL1 secure-world heap memory.

Executive ViewAI

Why It Matters

OP-TEE OS through version 4.10.0 contains a high-severity heap corruption vulnerability affecting cryptographic operations in ARM-based systems. While no public exploit has been identified at time of analysis, the vulnerability enables attackers with Trusted Application privileges to compromise sensitive data, threatening organizations that rely on OP-TEE for mobile security, IoT, or financial transaction protection.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.1%
Top 97% exploitable
Prevalence
Low
specialized ARM TrustZone TEE OS, primarily embedded and IoT deployments
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment 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.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
Scheduled
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact
High
Technical Impact
Total

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

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.

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.

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