PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-45542 espressif CVE debrief

A heap buffer overflow exists in the Security Scheme 2 (SRP6a) session-setup path of the protocomm component in Espressif Internet of Things (IOT) Development Framework (ESF-IDF) versions 5.2.6, 5.3.5, 5.4.4, 5.5.4, and 6.0. The issue arises from the first-phase handler (handle_session_command0() in components/protocomm/src/security/security2.c) trusting the length of a client-supplied protobuf field for the SRP6a username and copying it into a buffer whose size is derived from a narrower destination type. This results in a truncation-versus-copy asymmetry that corrupts the heap when an oversized value is supplied.

Vendor
espressif
Product
esp-idf
CVSS
HIGH 7.1
CISA KEV
Not listed in stored evidence
Original CVE published
2026-06-10
Original CVE updated
2026-06-11
Advisory published
2026-06-10
Advisory updated
2026-06-11

Who should care

Users of Espressif Internet of Things (IOT) Development Framework (ESF-IDF) versions 5.2.6, 5.3.5, 5.4.4, 5.5.4, and 6.0 should be aware of this vulnerability.

Technical summary

The vulnerability is caused by improper handling of client-supplied data in the protocomm component's Security Scheme 2 (SRP6a) session-setup path. Specifically, the first-phase handler (handle_session_command0() in components/protocomm/src/security/security2.c) does not properly validate the length of the client-supplied protobuf field for the SRP6a username, leading to a heap buffer overflow.

Defensive priority

HIGH

Recommended defensive actions

  • Upgrade to a patched version of Espressif Internet of Things (IOT) Development Framework (ESF-IDF): 5.2.7, 5.3.6, 5.4.5, 5.5.5, or 6.0.1.

Evidence notes

The vulnerability was patched in versions 5.2.7, 5.3.6, 5.4.5, 5.5.5, and 6.0.1. For more information, see [ref-4](https://github.com/espressif/esp-idf/commit/0ea58d79845ad674d0358d5de246015a68c4cb4f), [ref-5](https://github.com/espressif/esp-idf/commit/56c3e385611e63162d0f2f8504ac4ae2ccfccef0), [ref-6](https://github.com/espressif/esp-idf/commit/71eb2dbe6aaef830719ecac8edf409e2992b64b2), [ref-7](https://github.com/espressif/esp-idf/commit/9b4cacf9cbc69379972de6a2247fcf5af9240961), [ref-8](https://github.com/espressif/esp-idf/commit/a2f4554f10ba075c98cbc67464db096ba32497cf), [ref-9](https://github.com/espressif/esp-idf/commit/f5d24a7e919bc5f447091479656b86da6762a103), and [ref-10](https://github.com/espressif/esp-idf/security/advisories/GHSA-9r76-858f-v6jh).

Sources and references

Verified primary and authoritative sources

  • CVE-2026-45542 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-45542

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-45542 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-45542

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.