Description
ESF-IDF is the Espressif Internet of Things (IOT) Development Framework. In versions 5.5.4 and 6.0, several ESP-TEE secure-service wrappers in esp_secure_services.c and esp_secure_services_iram.c validated only some of the caller-supplied pointer arguments, leaving input pointer arguments unchecked. Because the underlying TEE-protected hardware peripherals (e.g., ECC, SHA, SPI) run in RISC-V machine mode (M-mode) with full address-space access, a caller could supply pointers into TEE-exclusive memory as inputs, causing the peripheral to read TEE memory and return results derived from it to the REE. Depending on the wrapper, the result contains raw bytes from TEE memory, a computed function of TEE memory recoverable through repeated calls, or a single bit per call that forms an oracle for incremental disclosure of TEE-resident sensitive data. This issue has been patched in versions 5.5.5 and 6.0.1.
Published: 2026-06-10
Score: 7.1 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability is an out‑of‑bounds read in ESP‑TEE secure service wrappers. The wrappers did not fully validate the caller‑supplied pointers, allowing an application to pass addresses that map to TEE‑exclusive memory. Because the underlying TEE peripherals run in machine mode with full address‑space visibility, the peripheral could read data from those addresses and return it to the normal world, leaking raw bytes or derived values. Depending on the wrapper, the data could be directly returned, computed functions of the TEE memory, or a single bit that acts as an oracle for incremental disclosure. The vulnerability can therefore compromise the confidentiality of sensitive data stored in secure memory. No mention of privilege escalation or code execution. Thus the primary impact is information disclosure.

Affected Systems

Espressif’s ESP‑IDF framework is affected. Versions 5.5.4 and 6.0 contain the vulnerable wrappers located in esp_secure_services.c and esp_secure_services_iram.c. The issue was fixed in version 5.5.5 and 6.0.1. All ESP‑IDF builds that include these files in the cited versions are impacted until the patch is applied.

Risk and Exploitability

The CVSS score of 7.1 indicates a high severity. EPSS and KEV data are not available or listed, so there is no current public exploitation evidence. The vulnerability is exploitable by any code that can call the insecure secure‑service wrappers, likely a local or firmware exploit actor with higher privilege. The potential impact is the leakage of a portion or all of the TEE’s sensitive memory, which could enable attackers to recover cryptographic keys or other secrets. An attacker would need to craft a call to the vulnerable wrapper with pointers to TEE memory, a condition reasonably easy to achieve if the application is not validated. Because the attack is local, careful containment of the secure services or version upgrade mitigates the risk promptly.

Generated by OpenCVE AI on June 10, 2026 at 02:21 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade ESP‑IDF to at least version 5.5.5 or 6.0.1, which contain the out‑of‑bounds read fix.
  • Validate all caller‑supplied pointers before passing them to secure‑service wrappers, ensuring they do not reference TEE‑exclusive memory.
  • Restrict privileged firmware components to use only the patched secure‑service APIs or enforce strict access controls to prevent untrusted code from invoking these wrappers.

Generated by OpenCVE AI on June 10, 2026 at 02:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 10 Jun 2026 01:30:00 +0000

Type Values Removed Values Added
Description ESF-IDF is the Espressif Internet of Things (IOT) Development Framework. In versions 5.5.4 and 6.0, several ESP-TEE secure-service wrappers in esp_secure_services.c and esp_secure_services_iram.c validated only some of the caller-supplied pointer arguments, leaving input pointer arguments unchecked. Because the underlying TEE-protected hardware peripherals (e.g., ECC, SHA, SPI) run in RISC-V machine mode (M-mode) with full address-space access, a caller could supply pointers into TEE-exclusive memory as inputs, causing the peripheral to read TEE memory and return results derived from it to the REE. Depending on the wrapper, the result contains raw bytes from TEE memory, a computed function of TEE memory recoverable through repeated calls, or a single bit per call that forms an oracle for incremental disclosure of TEE-resident sensitive data. This issue has been patched in versions 5.5.5 and 6.0.1.
Title ESF-IDF: Out-of-Bounds Read in ESP-TEE Secure Service Wrappers
Weaknesses CWE-125
CWE-20
CWE-200
References
Metrics cvssV3_1

{'score': 7.1, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-06-10T00:34:09.433Z

Reserved: 2026-05-11T20:50:30.540Z

Link: CVE-2026-45329

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-06-10T02:16:32.817

Modified: 2026-06-10T02:16:32.817

Link: CVE-2026-45329

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-10T02:30:05Z

Weaknesses