Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAccess RSA signing API
-
DeliverySubmit key with undersized modulus
-
ExploitTrigger integer underflow in padding calculation
-
ExecutionExecute memset with wrapped length
-
PersistCorrupt TEE memory
-
ImpactCrash secure world
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Integer overflow checks
MITRE ATT&CK
1 technique across 1 tactic: Execution 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 target system to run OP-TEE OS versions 3.8.0 through 4.10 with hardware RSA acceleration registered via the crypto API. The platform must expose an interface (trusted application API, kernel driver, or network service) that allows external callers to trigger RSA signature generation operations in the TEE while supplying attacker-controlled RSA key material. The attacker must provide an RSA key with modulus size smaller than (digest_size + encoding_overhead), typically requiring a modulus under 256 bits for common hash functions. Systems using only software-based RSA implementations or platforms without RSA hardware acceleration drivers are not vulnerable. Most OP-TEE deployments restrict direct TEE API access to trusted applications running in the secure world, limiting exploitation to scenarios where untrusted code can influence cryptographic parameters passed to the TEE. |
| Impact | The CVSS 7.5 HIGH rating reflects the ease of exploitation (AV:N/AC:L/PR:N/UI:N) but only availability impact (A:H). This is a remotely triggerable denial-of-service against a critical security component, not arbitrary code execution. The CVSS vector indicates network accessibility with low attack complexity and no authentication, suggesting any remote attacker able to invoke RSA operations in the TEE can crash it. However, real-world exploitability depends heavily on deployment architecture: most TEE cryptographic APIs are not directly exposed to network clients but rather accessed through trusted applications or kernel drivers with their own access controls. The scope metric (S:U) confirms impact is contained within the TEE itself. Exploitation conditions are narrow: only platforms using OP-TEE with hardware RSA acceleration are vulnerable, excluding the majority of software-only deployments. The GitHub advisory confirms patch availability, reducing risk for organizations with active patch management. Without EPSS scoring or CISA KEV listing, there is no evidence of widespread exploitation attempts. The primary risk is service disruption in IoT devices, mobile secure elements, or automotive systems where TEE availability is critical for boot attestation, secure storage, or payment processing. Organizations using affected versions on RSA-accelerated platforms should prioritize patching, as recovery from TEE crash may require full system reboot and could expose secure-world secrets if crash dumps are not properly sanitized. |
| Exploit ScenarioDerived | An attacker with network access to a service that invokes OP-TEE RSA signature operations sends a malicious request containing a crafted RSA private key with a 128-bit modulus (far below the 2048-bit minimum for secure RSA). When the TEE processes this key to sign data, the emsa_pkcs1_v1_5_encode() function calculates negative padding size due to integer underflow, wrapping to 0xFFFFFFFF. The subsequent memset() call writes 4GB of 0xFF bytes into TEE memory space, corrupting the secure-world stack and data structures until the TEE crashes with a fault. The trusted execution environment becomes unavailable, disrupting secure boot verification, payment authentication, or DRM license validation depending on the platform's use of the TEE. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 24, 2026
Integer overflow in OP-TEE OS RSA signature encoding crashes the Trusted Execution Environment on platforms with RSA hardware acceleration. Affects versions 3.8.0 through 4.10 when attackers supply cryptographic operations with deliberately undersized RSA moduli, causing memset() to overwrite memory until the TEE crashes. This denial-of-service attack requires no authentication and can be triggered remotely (CVSS AV:N/PR:N), completely disabling the secure-world environment that protects cryptographic keys, biometric data, and DRM operations on affected Arm TrustZone systems. EPSS data not available; no active exploitation confirmed at time of analysis.
RemediationAI
Upgrade OP-TEE OS to version 4.11.0 or later, which contains the fix for the integer overflow in emsa_pkcs1_v1_5_encode(). The patch is available through the OP-TEE GitHub repository and detailed in advisory GHSA-4cf8-v5g3-73gr at https://github.com/OP-TEE/optee_os/security/advisories/GHSA-4cf8-v5g3-73gr. Organizations unable to immediately upgrade should implement input validation at the trusted application layer to reject RSA keys with modulus sizes smaller than the minimum required for the intended hash algorithm plus encoding overhead (for example, RSA keys smaller than 512 bits should be rejected for SHA-256 signatures). As a temporary mitigation, disable hardware RSA acceleration in OP-TEE build configuration and fall back to software RSA implementation, though this reduces cryptographic performance. Note that this workaround only prevents exploitation if the RSA acceleration driver can be cleanly disabled without breaking dependencies in trusted applications. Verify that crash recovery procedures do not leak secure-world memory contents through core dumps or debug interfaces.
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 (Open Portable Trusted Execution Environment) implements Arm TrustZone technology to create an isolated secure execution environment alongside the normal Linux kernel on Cortex-A processors. The vulnerability resides in the EMSA-PKCS#1 v1.5 encoding implementation used during RSA signature generation within the crypto API subsystem (core/drivers/crypto/crypto_api/acipher/rsassa.c). EMSA-PKCS#1 v1.5 encoding requires calculating padding size by subtracting the digest size and encoding overhead from the RSA modulus size. The affected function emsa_pkcs1_v1_5_encode() performs this calculation using integer arithmetic vulnerable to CWE-190 (Integer Overflow or Wraparound). When an attacker provides an RSA key with an abnormally small modulus (smaller than the required digest plus encoding fields), the subtraction wraps around to produce a massive unsigned integer. This overflowed value is then passed directly to memset() to fill padding bytes with 0xFF, causing unbounded memory corruption that crashes the TEE. The vulnerability only manifests on platforms that register RSA hardware acceleration drivers with OP-TEE, as software-only implementations follow different code paths.
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
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Primary rating from Vendor (GitHub_M) · only source for this CVE.
CVSS VectorVendor: GitHub_M
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. From 3.8.0 to 4.10, in the function emsa_pkcs1_v1_5_encode() in core/drivers/crypto/crypto_api/acipher/rsassa.c, the amount of padding needed, "PS size", is calculated by subtracting the size of the digest and other fields required for the EMA-PKCS1-v1_5 encoding from the size of the modulus of the key. By selecting a small enough modulus, this subtraction can overflow. The padding is added as a string of 0xFF bytes with a call to memset(), and an underflowed integer will cause the memset() call to overwrite until OP-TEE crashes. This only affects platforms registering RSA acceleration.
Executive ViewAI
CVE-2026-33662 is a high-severity denial-of-service vulnerability in OP-TEE OS (versions 3.8.0-4.10) that allows unauthenticated remote attackers to crash the Trusted Execution Environment via malformed RSA signatures, rendering secure key storage, biometric authentication, and DRM protections inoperative on affected Arm-based devices until manual recovery. Organizations deploying OP-TEE with RSA hardware acceleration face immediate loss of cryptographic isolation and protected asset access across mobile, IoT, and embedded systems.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) disable RSA hardware acceleration where feasible and fall back to software implementation; (2) restrict inbound network access to cryptographic endpoints and TEE-dependent services; (3) implement request-level validation to reject RSA operations with undersized moduli (< 2048-bit minimum); (4) monitor TEE crash logs and restart mechanisms for anomalous patterns; (5) establish vendor communication channel to obtain patch notification immediately upon release.
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
Integer overflow occurs when an arithmetic operation produces a result that exceeds the maximum value a given integer type can store.
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Out-of-bounds read and write in OP-TEE OS PKCS#11 Trusted Application (versions 3.13.0-4.10.0) allows authenticated loca
Secure-world heap corruption in OP-TEE OS through 4.10.0 allows a malicious Trusted Application to write attacker-contro
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
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-25592
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB