Untrusted Pointer Dereference in ESP-IDF - CVE-2026-113780

 

Untrusted Pointer Dereference in ESP-IDF - CVE-2026-113780

Published: November 4, 2026


Vulnerability identifier: #VU159285
CSH Severity: Low
CVSS v4: 8.5 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-113780
CWE-ID: CWE-822
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code within the TEE, escalate privileges across the REE/TEE isolation boundary, and cause a denial of service.

The vulnerability exists due to dereferencing an untrusted stack pointer in the esp_tee trap entry handlers in esp_tee_vectors_plic.S and esp_tee_vectors_clic.S when saving the incoming register context before switching to the trusted TEE stack. A remote attacker can use code running in the REE to supply a stack pointer targeting TEE-exclusive memory and cause attacker-influenced register data to be written there, potentially enabling arbitrary code execution when overwritten TEE control-flow data is subsequently used.

The issue affects Espressif SoCs with ESP-TEE support: ESP32-C5, ESP32-C6, ESP32-C61, and ESP32-H2.


Affected software

ESP-IDF

How to mitigate CVE-2026-113780

Install security update from vendor's website.

ESP-IDF - addressed in versions 5.5.6, 6.1.1

External References

Related Security Bulletins