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…

CVE-2026-45542: CWE-122: Heap-based Buffer Overflow in espressif esp-idf

0
High
VulnerabilityCVE-2026-45542cvecve-2026-45542cwe-122
Published: Wed Jun 10 2026 (06/10/2026, 00:34:53 UTC)
Source: CVE Database V5
Vendor/Project: espressif
Product: esp-idf

Description

A heap-based buffer overflow vulnerability exists in the Espressif esp-idf framework's protocomm component in versions 5. 2. 6, 5. 3. 5, 5. 4. 4, 5. 5. 4, and 6. 0.

CVSS v3.1

Score 7.1high

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

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/10/2026, 01:55:44 UTC

Technical Analysis

The Espressif esp-idf Internet of Things Development Framework contains a heap-based buffer overflow vulnerability (CWE-122) in the protocomm component's Security Scheme 2 (SRP6a) session setup. Specifically, the function handle_session_command0() improperly trusts the length of a client-supplied protobuf field for the SRP6a username and copies it into a buffer derived from a narrower destination type. This mismatch leads to truncation versus copy asymmetry, resulting in heap corruption when an oversized username is provided. The issue affects esp-idf versions 5.2.6, 5.3.5, 5.4.4, 5.5.4, and 6.0 and has been patched in subsequent minor versions 5.2.7, 5.3.6, 5.4.5, 5.5.5, and 6.0.1.

Potential Impact

Successful exploitation of this vulnerability can cause heap corruption, which may lead to denial of service or potentially arbitrary code execution. The CVSS v3.1 score is 7.1 (high severity) with attack vector requiring adjacent network access, low attack complexity, no privileges or user interaction required, and impact limited to integrity and high impact on availability.

Mitigation Recommendations

A fix is available and has been released in esp-idf versions 5.2.7, 5.3.6, 5.4.5, 5.5.5, and 6.0.1. Users should upgrade to these patched versions to remediate the vulnerability. No additional mitigation steps are indicated by the vendor advisory.

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-12T17:48:47.879Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a28c09e8dd33fbd85c1ae74

Added to database: 6/10/2026, 1:40:46 AM

Last enriched: 6/10/2026, 1:55:44 AM

Last updated: 6/10/2026, 2:56:57 AM

Views: 4

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