Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain local unprivileged REE code execution
-
DeliveryCraft stack pointer into TEE-exclusive memory
-
ExploitInvoke secure-service ecall or interrupt entry
-
ExecutionM-mode trap writes register frame through pointer
-
PersistCorrupt TEE control-flow data
-
ImpactExecute code in TEE / crash device
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 | Requires a device built on ESP-IDF 5.5.5 (or 6.0.3 / 6.1 branches before the fix) with the ESP-TEE component enabled on one of the affected RISC-V SoCs: ESP32-C5, ESP32-C6, ESP32-C61, or ESP32-H2. The attacker must already have local unprivileged code execution in the REE in order to issue the secure-service ecall or reach the interrupt entry path; no TEE privileges are needed (PR:N). Both the user ecall entry and interrupt entry paths are vulnerable. Limiting factors: exploitation is local only (not network-reachable), is confined to devices that actually deploy ESP-TEE, and the vendor states there is no runtime workaround - only updating to a fixed release or cherry-picking the fix commit removes the flaw. |
| Impact | This is a genuine high-priority issue, not an inflated CVSS score. The CVSS 3.1 vector (AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H, 9.3) describes a low-complexity, no-privilege-required flaw whose scope change (S:C) reflects the core danger: an unprivileged REE (Rich Execution Environment) application crosses the hardware security boundary into the trusted M-mode TEE. The GHSA advisory confirms the mechanism - the trap entry saves a caller-controlled register frame through an REE-supplied stack pointer before validating it, yielding an arbitrary machine-mode write into TEE-exclusive memory. The vuln.today Decision label is act_now, consistent with the CVSS severity and the boundary-breaking impact. The key tempering factor is AV:L: the attacker must already hold local code execution in the REE, so this is a privilege-escalation/isolation-defeat primitive rather than a remotely reachable entry point. No EPSS score, no CISA KEV listing, and no SSVC automatable/technical-impact breakdown were provided in the input; absence of KEV/EPSS data means exploitation probability cannot be quantified here. All five references are the vendor advisory, fix commits, and release tag - there is no public working exploit and no active-exploitation signal, so current risk is driven by severity and the act_now vendor priority rather than observed in-the-wild use. |
| Exploit ScenarioDerived | An attacker who has already achieved local unprivileged code execution in the REE (for example via a compromised application on an ESP32-C6 device) supplies a crafted stack pointer that points into TEE-exclusive SRAM, then issues a secure-service ecall or triggers an interrupt. The M-mode trap entry writes the register frame through that pointer before validating it, corrupting TEE control-flow data that the TEE later dereferences, escalating from the REE into arbitrary code execution inside the TEE. No public exploit code is referenced in the input, and exploitation requires local REE access (AV:L), which raises the bar above a remote attack. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 04, 2026
Isolation-boundary escape on Espressif ESP32-C5, ESP32-C6, ESP32-C61 and ESP32-H2 devices running ESP-IDF with the ESP-TEE component enabled: the RISC-V machine-mode trap entry in esp_tee_vectors_plic.S and esp_tee_vectors_clic.S saves the caller's register frame through the REE-supplied stack pointer before switching to the trusted stack, so unprivileged local code can aim that machine-mode write into TEE-exclusive memory. The outcome is corruption of TEE-resident control-flow data with potential code execution inside the TEE, denial of service or system crashes; the CVSS vector carries PR:N (no privileges required) but exploitation is strictly local, requiring the attacker to already hold unprivileged code execution in the REE. No public exploit identified at time of analysis, and the vendor states there is no runtime workaround, so moving to ESP-IDF 5.5.6 (with 6.0.4 and 6.1.1 pending release) or cherry-picking the listed fix commits is the only remedy.
RemediationAI
Vendor-released patch: ESP-IDF v5.5.6 (release tag https://github.com/espressif/esp-idf/releases/tag/v5.5.6), where the trap entry validates the REE-supplied stack pointer at the privilege-switch boundary before any register context is saved through it. The 6.0.4 and 6.1.1 releases carrying the fix are scheduled but not yet published, so downstream branches should cherry-pick the per-branch fix commits: dabd37fae8d2a7b1cc71f48fce824b0b9d909a07 (release/v5.5), b85a7b0e1449ac9aec30a0c3e3b6515725556fd1 (release/v6.0), 773761abb893d43d0a5b8b75ec0a1c2cf0287d53 (release/v6.1) and acb7d996b07293abf591b93f4aaffa04ae6732d9 (master). The vendor explicitly states there is no runtime workaround for this issue: because the flaw lives in the M-mode trap entry that runs before any software check, disabling or reconfiguring secure services does not close it, and only updating to a fixed release or applying the commit removes it. Given the act-now priority rating and the S:C scope change that breaks REE/TEE isolation, treat devices with ESP-TEE enabled as requiring immediate version inventory and rebuild. Advisory: https://github.com/espressif/esp-idf/security/advisories/GHSA-49x8-xqjg-2pjg.
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
ESP-TEE is the RISC-V trusted execution environment shipped in Espressif's ESP-IDF, splitting the SoC between a rich execution environment (REE, user applications) and a trusted execution environment (TEE) that owns machine-mode (M-mode) privilege and full address-space access. Calls from the REE into the TEE pass through M-mode trap vectors implemented in assembly in components/esp_tee/subproject/main/arch/riscv/esp_tee_vectors_plic.S and esp_tee_vectors_clic.S. In affected builds the trap entry pushed the incoming register frame onto the caller-supplied stack pointer (sp) before the privilege switch to the trusted TEE stack and before any validation of that pointer, an untrusted-pointer-dereference / out-of-bounds write pattern (CWE-822 and CWE-787). Because the vector executes in M-mode, an sp pointing into TEE-exclusive SRAM turns the register save into an arbitrary machine-mode write; the TEE region sits at the bottom of SRAM, so the fixed code (the new VALIDATE_REE_SP macro in esp_tee_asm_utils.inc) requires the REE frame [sp - framesz, sp) to fall between SOC_S_DRAM_END + framesz and SOC_PERIPHERAL_LOW, rejecting anything whose save frame would overlap TEE memory and terminating the call via _tee_sp_reject into the trusted-stack panic handler. Both the user ecall path and the interrupt entry path were vulnerable, and the same vector file previously used the stack to preserve t0/t1 before it had validated the stack, which the patch replaces with mscratch save/restore. The commit also introduces the _ns_int_rtn sentinel to track U-mode interrupt returns, which the secure-service ecall path consumes.
Know when Esp Idf 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:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Local REE code execution needed (AV:L) with no TEE privileges or user interaction (PR:N/UI:N); the REE-to-TEE boundary crossing is a scope change (S:C) with full C/I/A loss in the TEE.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
ESF-IDF is the Espressif Internet of Things (IOT) Development Framework. From 5.5.5 until 5.5.6, 6.0.4, and 6.1.1, the esp_tee trap entry in esp_tee_vectors_plic.S and esp_tee_vectors_clic.S saves a caller-controlled register frame through the REE-supplied stack pointer before switching to the trusted TEE stack or validating the pointer. A local unprivileged REE application can direct this machine-mode write into TEE-exclusive memory on ESP32-C5, ESP32-C6, ESP32-C61, and ESP32-H2 devices, breaking the REE/TEE isolation boundary and potentially corrupting TEE control-flow data for code execution, denial of service, or system crashes. Both secure-service ecall and interrupt entry paths contain the vulnerable ordering. This issue is fixed in version 5.5.6 and is scheduled to be fixed in versions 6.0.4 and 6.1.1.
Technical POC Analysis
Bug class: CWE-787 Out-of-bounds Write, with CWE-822 Untrusted Pointer Dereference as the enabling flaw.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
CVE-2026-113780 (CVSS 9.3) is a critical isolation-boundary escape in the ESP-TEE component of Espressif ESP32-C5, ESP32-C6, ESP32-C61, and ESP32-H2 devices. An attacker with unprivileged local code execution in the REE can corrupt TEE-resident control-flow data, leading to code execution inside the TEE, denial of service, or system crashes. This undermines the foundational trust boundary of affected products, so security leadership must prioritize remediation to protect intellectual property, cryptographic keys, and sensitive data.
No vendor-released patch identified at time of analysis; no runtime workaround exists. Interim mitigations include restricting local code execution on REE-side components through strict access controls, disabling ESP-TEE if not essential, and network segmentation to limit attacker reach. Apply vendor patch when available.
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.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Espressif Esp idf v5.3.0 is vulnerable to Insecure Permissions resulting in Authentication bypass. Rated high severity (
The EAP peer implementation in Espressif ESP-IDF 2.0.0 through 4.0.0 and ESP8266_NONOS_SDK 2.2.0 through 3.1.0 allows th
An encryption-bypass issue was discovered on Espressif ESP-IDF devices through 4.2, ESP8266_NONOS_SDK devices through 3.
Buffer Overflow vulnerability in esp-idf v.5.1 allows a remote attacker to execute arbitrary code via a crafted script t
The EAP peer implementation in Espressif ESP-IDF 2.0.0 through 4.0.0 and ESP8266_NONOS_SDK 2.2.0 through 3.1.0 processes
A security vulnerability in the ESP-NOW protocol implementation within the ESP Wi-Fi component of (CVSS 9.8). Critical s
Privilege escalation from REE to TEE in Espressif ESP-IDF 5.5.4 and 6.0 lets a low-privileged user-application caller ab
ESP-IDF is the official development framework for Espressif SoCs. Rated high severity (CVSS 8.8), this vulnerability is
The Bluetooth Classic implementation in Espressif ESP-IDF 4.4 and earlier does not properly restrict the Feature Page up
Buffer Overflow vulnerability in esp-idf v.5.1 allows a remote attacker to obtain sensitive information via the external
Denial of service in Espressif's ESP-IDF JPEG driver (versions 6.0.1, 5.5.4, 5.4.4, 5.3.5 and likely earlier) stems from
Remote denial-of-service in Espressif ESP-IDF's esp_http_server WebSocket handshake allows unauthenticated attackers to
EUVD-2026-117053
NVD
CVE.org
EPSS
GitHub
Exploit-DB