CVE-2026-45329: CWE-20: Improper Input Validation in espressif esp-idf
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.
AI Analysis
Technical Summary
The vulnerability in esp-idf versions 5.5.4 and 6.0 involves improper input validation in ESP-TEE secure-service wrappers within esp_secure_services.c and esp_secure_services_iram.c. These wrappers validate only some caller-supplied pointer arguments, leaving others unchecked. Because the underlying trusted execution environment (TEE) hardware peripherals operate in RISC-V machine mode with full address-space access, an attacker can supply pointers to TEE-exclusive memory. This causes the peripherals to read sensitive TEE memory and return data derived from it to the Rich Execution Environment (REE). Depending on the wrapper, the leaked data can be raw bytes, computed functions of TEE memory, or bits that can be used as an oracle to incrementally disclose sensitive TEE-resident data. This vulnerability has been addressed in esp-idf versions 5.5.5 and 6.0.1.
Potential Impact
An attacker with local access can exploit this vulnerability to read sensitive memory contents from the TEE, potentially disclosing confidential data protected by the secure environment. The vulnerability does not impact integrity or availability but results in a confidentiality breach. The CVSS v3.1 score is 7.1 (high), reflecting local attack vector, low complexity, no privileges required, no user interaction, and a confidentiality impact classified as high.
Mitigation Recommendations
This vulnerability has been fixed in esp-idf versions 5.5.5 and 6.0.1. Users should upgrade to these or later versions to remediate the issue. No other mitigation or temporary workaround is indicated in the available data.
CVE-2026-45329: CWE-20: Improper Input Validation in espressif esp-idf
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.
CVSS v3.1
Score 7.1high
Affected software
pkg:github/espressif/esp-idfRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in esp-idf versions 5.5.4 and 6.0 involves improper input validation in ESP-TEE secure-service wrappers within esp_secure_services.c and esp_secure_services_iram.c. These wrappers validate only some caller-supplied pointer arguments, leaving others unchecked. Because the underlying trusted execution environment (TEE) hardware peripherals operate in RISC-V machine mode with full address-space access, an attacker can supply pointers to TEE-exclusive memory. This causes the peripherals to read sensitive TEE memory and return data derived from it to the Rich Execution Environment (REE). Depending on the wrapper, the leaked data can be raw bytes, computed functions of TEE memory, or bits that can be used as an oracle to incrementally disclose sensitive TEE-resident data. This vulnerability has been addressed in esp-idf versions 5.5.5 and 6.0.1.
Potential Impact
An attacker with local access can exploit this vulnerability to read sensitive memory contents from the TEE, potentially disclosing confidential data protected by the secure environment. The vulnerability does not impact integrity or availability but results in a confidentiality breach. The CVSS v3.1 score is 7.1 (high), reflecting local attack vector, low complexity, no privileges required, no user interaction, and a confidentiality impact classified as high.
Mitigation Recommendations
This vulnerability has been fixed in esp-idf versions 5.5.5 and 6.0.1. Users should upgrade to these or later versions to remediate the issue. No other mitigation or temporary workaround is indicated in the available data.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-05-11T20:50:30.540Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a28c09e8dd33fbd85c1ae65
Added to database: 06/10/2026, 01:40:46 UTC
Last enriched: 06/17/2026, 08:51:24 UTC
Last updated: 07/31/2026, 19:22:59 UTC
Views: 76
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.