Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconObtain TA signing credential or exploit weak signing policy
-
DeliveryDeploy malicious Trusted Application to OP-TEE secure world
-
ExploitInvoke RSA NOPAD encrypt/decrypt with input length exceeding RSA modulus
-
InstallUnsigned size subtraction underflows to large value
-
C2memcpy writes attacker data before destination buffer in S-EL1 heap
-
ExecuteCorrupt secure-world heap to overwrite function pointers or key material
-
ImpactAchieve 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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: 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
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
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.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
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
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.
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
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.
Out-of-bounds read and write in OP-TEE OS PKCS#11 Trusted Application (versions 3.13.0-4.10.0) allows authenticated loca
Use-after-free in the OP-TEE OS Trusted Application loader (all versions through 4.10.0) allows an attacker who controls
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-55699
GHSA-hg7c-pmh6-576f
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB