Skip to content

esp-idf

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

CVE-2026-113780Published 4 Nov 2026, 19:04 UTC

Real-world risk

4.3/ 10Medium

Schedule in the normal cycle

PreliminaryFrom the CVSS vector only · confidence low

CVSS

9.3

scored by the vendor (CNA), CVSS 3.1

In plain words

No plain-language summary yet. The original description is below.

Original description (from GitHub_M)

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.

Am I affected?

ProductAffected versions (from the sources)Fixed in
esp-idfNiche< 5.5.6; >= 6.0.0, < 6.0.4; >= 6.1.0, < 6.1.15.5.6, 6.0.4, 6.1.1

What to do

Update to a fixed version: 5.5.6, 6.0.4, 6.1.1.

Why this score

FactorValueEvidence×
ImpactFull compromiseCode execution or full control of the system or applicationFrom the CVSS vector1.00
Attacker positionLocalMust already run code or have a shell on the machineFrom the CVSS vector0.50
Privileges neededNoneNo accountFrom the CVSS vector1.00
Victim interactionNoneNothingFrom the CVSS vector1.00
ConfigurationDefaultOut-of-the-box installs are vulnerableFrom the CVSS vector1.00
ReliabilityReliableDeterministic: injection, logic bug, path traversalFrom the CVSS vector1.00

Threat level T1: Nothing known (× 0.85)

The default for a new disclosure

EPSS 0.2% chance of exploitation in 30 days (percentile 8), as of 2026-12-04.

The arithmetic
  1. Prerequisites multiplied together0.500
  2. Threat T1: Nothing known0.850
  3. 10 × impact 1 × prerequisites 0.5 × threat 0.854.250
  4. Rounded to one decimal between 0.1 and 104.3

How the score works

Exploitation and evidence timeline

  1. 4 Nov 2026 Published
  2. 3 Dec 2026 Risk 4.3 (cvss fallback)

Weakness

CWE-787, CWE-822

References

Get alerts for esp-idf

Free email or text alerts when a vulnerability in esp-idf reaches risk 8 or higher. Nothing else.