ESF-IDF: Unvalidated Stack Pointer at the ESP-TEE Privilege-Switch Boundary
Summary
| CVE | CVE-2026-113780 |
|---|---|
| State | PUBLISHED |
| Assigner | GitHub_M |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-11-04 19:17:18 UTC |
| Updated | 2026-11-05 19:17:09 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 9.3 CRITICAL from [email protected]
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
EPSS: 0.001410000 probability, percentile 0.034830000 (date 2026-11-05)
Problem Types: CWE-787 | CWE-822 | CWE-787 CWE-787: Out-of-bounds Write | CWE-822 CWE-822: Untrusted Pointer Dereference
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 9.3 | CRITICAL | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
| 3.1 | CNA | DECLARED | 9.3 | CRITICAL | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
NoneUser Interaction
NoneScope
ChangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/espressif/esp-idf/releases/tag/v5.5.6 | [email protected] | github.com | |
| github.com/espressif/esp-idf/commit/773761abb893d43d0a5b8b75ec0a1c2cf028... | [email protected] | github.com | |
| github.com/espressif/esp-idf/security/advisories/GHSA-49x8-xqjg-2pjg | [email protected] | github.com | |
| github.com/espressif/esp-idf/commit/b85a7b0e1449ac9aec30a0c3e3b651572555... | [email protected] | github.com | |
| github.com/espressif/esp-idf/commit/dabd37fae8d2a7b1cc71f48fce824b0b9d90... | [email protected] | github.com | |
| github.com/espressif/esp-idf/commit/acb7d996b07293abf591b93f4aaffa04ae67... | [email protected] | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.