Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.1%top 98%

CVE-2026-45329: CWE-20: Improper Input Validation in espressif esp-idf

0
High
VulnerabilityCVE-2026-45329cvecve-2026-45329cwe-20cwe-125cwe-200
Published: 06/10/2026 (06/10/2026, 00:34:09 UTC)
Source: CVE Database V5
Vendor/Project: espressif
Product: 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

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
None
Availability
None
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N

Affected software

GitHub Actionsmore threats →ai
espressif/esp-idf
pkg:github/espressif/esp-idf
Affected versions
=5.5.4=6.0

Run 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

AILast updated: 06/17/2026, 08:51:24 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses