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.3%top 75%

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

0
High
VulnerabilityCVE-2026-45542cvecve-2026-45542cwe-122
Published: 06/10/2026 (06/10/2026, 00:34:53 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.2.6, 5.3.5, 5.4.4, 5.5.4, and 6.0, a heap buffer overflow exists in the Security Scheme 2 (SRP6a) session-setup path of the protocomm component. The first-phase handler (handle_session_command0() in components/protocomm/src/security/security2.c) trusts the length of a client-supplied protobuf field for the SRP6a username and copies it into a buffer whose size is derived from a narrower destination type. The resulting truncation-versus-copy asymmetry corrupts the heap when an oversized value is supplied. This issue has been patched in versions 5.2.7, 5.3.6, 5.4.5, 5.5.5, and 6.0.1.

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

Affected software

GitHub Actionsmore threats →ai
espressif/esp-idf
pkg:github/espressif/esp-idf
Affected versions
=5.2.6=5.3.5=5.4.4=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:55:50 UTC

Technical Analysis

The Espressif Internet of Things Development Framework (esp-idf) versions 5.2.6, 5.3.5, 5.4.4, 5.5.4, and 6.0 contain a heap-based buffer overflow in the protocomm component's Security Scheme 2 (SRP6a) session-setup path. Specifically, the handle_session_command0() function in security2.c copies a client-supplied protobuf username field into a buffer whose size is derived from a narrower destination type without proper length validation. This truncation-versus-copy mismatch leads to heap corruption when oversized input is provided. The issue is addressed in patched versions 5.2.7, 5.3.6, 5.4.5, 5.5.5, and 6.0.1.

Potential Impact

Exploitation of this vulnerability can lead to heap corruption resulting in denial of service or potentially other impacts related to memory corruption. The CVSS score of 7.1 indicates a high severity with network attack vector, low attack complexity, no privileges required, no user interaction, and impact limited to integrity and availability.

Mitigation Recommendations

Upgrade esp-idf to one of the patched versions: 5.2.7, 5.3.6, 5.4.5, 5.5.5, or 6.0.1. No other mitigation or workaround is indicated. Patch status is confirmed by the vendor advisory information embedded in the description.

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: 06/10/2026, 01:40:46 UTC

Last enriched: 06/17/2026, 08:55:50 UTC

Last updated: 07/31/2026, 19:22:59 UTC

Views: 62

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