{"id":"CVE-2026-113780","summary":"ESF-IDF: Unvalidated Stack Pointer at the ESP-TEE Privilege-Switch Boundary","details":"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.","aliases":["GHSA-49x8-xqjg-2pjg"],"modified":"2026-11-19T22:00:29.110456672Z","published":"2026-11-04T19:04:21.450Z","database_specific":{"cwe_ids":["CWE-787","CWE-822"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/113xxx/CVE-2026-113780.json","unresolved_ranges":[{"extracted_events":[{"strategy":"StringRangeExpression","range":[{"introduced":"6.0.0"},{"fixed":"6.0.4"}],"source":"AFFECTED_FIELD"}]}],"cna_assigner":"GitHub_M"},"references":[{"type":"WEB","url":"https://github.com/espressif/esp-idf/releases/tag/v5.5.6"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/113xxx/CVE-2026-113780.json"},{"type":"ADVISORY","url":"https://github.com/espressif/esp-idf/security/advisories/GHSA-49x8-xqjg-2pjg"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-113780"},{"type":"FIX","url":"https://github.com/espressif/esp-idf/commit/773761abb893d43d0a5b8b75ec0a1c2cf0287d53"},{"type":"FIX","url":"https://github.com/espressif/esp-idf/commit/acb7d996b07293abf591b93f4aaffa04ae6732d9"},{"type":"FIX","url":"https://github.com/espressif/esp-idf/commit/b85a7b0e1449ac9aec30a0c3e3b6515725556fd1"},{"type":"FIX","url":"https://github.com/espressif/esp-idf/commit/dabd37fae8d2a7b1cc71f48fce824b0b9d909a07"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/espressif/esp-idf","events":[{"introduced":"0"},{"fixed":"880a203ae603d08a94d06aa01e0d6761958e5e9e"},{"fixed":"051e4c4eb20346e043cdd47bc388fde75ff8af63"},{"fixed":"773761abb893d43d0a5b8b75ec0a1c2cf0287d53"},{"fixed":"acb7d996b07293abf591b93f4aaffa04ae6732d9"},{"fixed":"b85a7b0e1449ac9aec30a0c3e3b6515725556fd1"},{"fixed":"dabd37fae8d2a7b1cc71f48fce824b0b9d909a07"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"fixed":"5.5.6"}],"source":"AFFECTED_FIELD","strategy":"StringRangeExpression"},{"strategy":"StringRangeExpression","range":[{"introduced":"6.1.0"},{"fixed":"6.1.1"}],"source":"AFFECTED_FIELD"},{"range":[{"fixed":"773761abb893d43d0a5b8b75ec0a1c2cf0287d53"}],"source":"REFERENCES_COMMIT"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"acb7d996b07293abf591b93f4aaffa04ae6732d9"}]},{"range":[{"fixed":"b85a7b0e1449ac9aec30a0c3e3b6515725556fd1"}],"source":"REFERENCES_COMMIT"},{"range":[{"fixed":"dabd37fae8d2a7b1cc71f48fce824b0b9d909a07"}],"source":"REFERENCES_COMMIT"},{"original_tag":"v5.5.6","range":[{"fixed":"880a203ae603d08a94d06aa01e0d6761958e5e9e"}],"source":"REFERENCES_TAG"}]}}],"versions":["v5.2-dev","v5.0-beta1","v5.0-dev","v4.3-beta1","v4.3-dev","v4.2-dev","v4.1-dev","v4.0-dev","v3.3-beta2","v3.3-beta1","v3.2-beta1","v3.3-dev","v3.1-beta1","v3.2-dev","v3.1-dev","v2.1-rc1","v3.0-dev","v2.0-rc1","v1.0","v0.9"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-113780.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H"}]}