ESF-IDF: Unvalidated Stack Pointer at the ESP-TEE Privilege-Switch Boundary

Summary

CVECVE-2026-113780
StatePUBLISHED
AssignerGitHub_M
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-11-04 19:17:18 UTC
Updated2026-11-05 19:17:09 UTC
DescriptionESF-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


VersionSourceTypeScoreSeverityVector
3.1[email protected]Secondary9.3CRITICALCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
3.1CNADECLARED9.3CRITICALCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

CVSS v3.1 Breakdown

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Espressif Esp-idf affected < 5.5.6 Not specified
CNA Espressif Esp-idf affected >= 6.0.0, < 6.0.4 Not specified
CNA Espressif Esp-idf affected >= 6.1.0, < 6.1.1 Not specified

References

ReferenceSourceLinkTags
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

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report