Skip to main content

OP-TEE OS CVE-2026-33662

| EUVDEUVD-2026-25592 HIGH
Integer Overflow or Wraparound (CWE-190)
2026-04-24 GitHub_M
7.5
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Access RSA signing API
  2. Delivery
    Submit key with undersized modulus
  3. Exploit
    Trigger integer underflow in padding calculation
  4. Execution
    Execute memset with wrapped length
  5. Persist
    Corrupt TEE memory
  6. Impact
    Crash 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.

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

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

Alert me

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

optee_os 3.8.0, ≤ 4.10

Affected Packages

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

Vendor (GitHub_M) PRIMARY 7.5 HIGH
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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.1%
Top 80% exploitable
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 HIGH
CISA KEV No
Public POC No
EPSS 0.1%
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
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

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

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.

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