CVE-2026-113780
ESF-IDF: Unvalidated Stack Pointer at the ESP-TEE Privilege-Switch Boundary
Mitigation
- Upgrade esp-idf to 6.1.1 or later.
Who should check
- Anyone running espressif esp-idf < 5.5.6; >= 6.0.0, < 6.0.4; >= 6.1.0, < 6.1.1
Vulnerability facts
- Affected
- espressif esp-idf < 5.5.6; >= 6.0.0, < 6.0.4; >= 6.1.0, < 6.1.1
- Fixed in
- espressif esp-idf 5.5.6, espressif esp-idf 6.0.4, espressif esp-idf 6.1.1
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 9.3 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Changed (impact reaches other components)
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.21% chance of exploitation in 30 days (percentile 6, 2026-11-26)
- CWE
- CWE-787, CWE-822
- Modified
Description
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| espressif esp-idf | < 5.5.6; >= 6.0.0, < 6.0.4; >= 6.1.0, < 6.1.1 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-113780. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-113780.md Affected: espressif esp-idf < 5.5.6; >= 6.0.0, < 6.0.4; >= 6.1.0, < 6.1.1 Fixed in: espressif esp-idf 5.5.6, espressif esp-idf 6.0.4, espressif esp-idf 6.1.1 Steps: 1. Search this machine and project for espressif esp-idf: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://github.com/espressif/esp-idf/commit/773761abb893d43d0a5b8b75ec0a1c2cf0287d53
- https://github.com/espressif/esp-idf/commit/acb7d996b07293abf591b93f4aaffa04ae6732d9
- https://github.com/espressif/esp-idf/commit/b85a7b0e1449ac9aec30a0c3e3b6515725556fd1
- https://github.com/espressif/esp-idf/commit/dabd37fae8d2a7b1cc71f48fce824b0b9d909a07
FAQ
Is CVE-2026-113780 being exploited?
There is no confirmed exploitation: CVE-2026-113780 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-113780?
Critical: CVSS 9.3 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2026-113780?
espressif esp-idf < 5.5.6; >= 6.0.0, < 6.0.4; >= 6.1.0, < 6.1.1.
Is there a fix for CVE-2026-113780?
Yes. Fixed in espressif esp-idf 5.5.6, espressif esp-idf 6.0.4, espressif esp-idf 6.1.1. Upgrade esp-idf to 6.1.1 or later.
How do I check if I'm affected by CVE-2026-113780?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.