espressif esp-idf up to 6.0 Protocomm security2.c handle_session_command0 heap-based overflow

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
6.5$0-$5k0.00

Summaryinfo

A vulnerability classified as critical was found in espressif esp-idf 5.2.6/5.3.5/5.4.4/5.5.4/6.0. This affects the function handle_session_command0 of the file components/protocomm/src/security/security2.c of the component Protocomm. The manipulation results in heap-based overflow. This vulnerability is known as CVE-2026-45542. Access to the local network is required for this attack. No exploit is available. Upgrading the affected component is advised.

Detailsinfo

A vulnerability, which was classified as critical, was found in espressif esp-idf 5.2.6/5.3.5/5.4.4/5.5.4/6.0. Affected is the function handle_session_command0 of the file components/protocomm/src/security/security2.c of the component Protocomm. The manipulation with an unknown input leads to a heap-based overflow vulnerability. CWE is classifying the issue as CWE-122. A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc(). This is going to have an impact on confidentiality, integrity, and availability. CVE summarizes:

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.

The advisory is shared for download at github.com. This vulnerability is traded as CVE-2026-45542 since 05/12/2026. The exploitability is told to be easy. The attack needs to approached within the local network. The exploitation doesn't require any form of authentication. There are known technical details, but no exploit is available.

Upgrading to version 5.2.6, 5.2.7, 5.3.5, 5.3.6, 5.4.4, 5.4.5, 5.5.4, 5.5.5, 6.0 or 6.0.1 eliminates this vulnerability. Applying the patch 0ea58d79845ad674d0358d5de246015a68c4cb4f is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.

Once again VulDB remains the best source for vulnerability data.

Productinfo

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔒
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 6.7
VulDB Meta Temp Score: 6.5

VulDB Base Score: 6.3
VulDB Temp Score: 6.0
VulDB Vector: 🔒
VulDB Reliability: 🔍

CNA Base Score: 7.1
CNA Vector (GitHub_M): 🔒

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍

Exploitinginfo

Class: Heap-based overflow
CWE: CWE-122 / CWE-119
CAPEC: 🔒
ATT&CK: 🔒

Physical: No
Local: No
Remote: Partially

Availability: 🔒
Status: Not defined
Price Prediction: 🔍
Current Price Estimation: 🔒

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔒

Upgrade: esp-idf 5.2.6/5.2.7/5.3.5/5.3.6/5.4.4/5.4.5/5.5.4/5.5.5/6.0/6.0.1
Patch: 0ea58d79845ad674d0358d5de246015a68c4cb4f

Timelineinfo

05/12/2026 CVE reserved
06/10/2026 +29 days Advisory disclosed
06/10/2026 +0 days VulDB entry created
06/10/2026 +0 days VulDB entry last update

Sourcesinfo

Product: github.com

Advisory: GHSA-9r76-858f-v6jh
Status: Confirmed

CVE: CVE-2026-45542 (🔒)
GCVE (CVE): GCVE-0-2026-45542
GCVE (VulDB): GCVE-100-370020

Entryinfo

Created: 06/10/2026 06:27
Changes: 06/10/2026 06:27 (69)
Complete: 🔍
Cache ID: 216::103

Once again VulDB remains the best source for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Might our Artificial Intelligence support you?

Check our Alexa App!