ESP-IDF: Stack-Based Out-of-Bounds Write in Thread Border Router ND6 Option Parsing
- State
- Published
- Severity
- 7.1 High
- Published
- Nov 4, 2026
- Updated
- Nov 9, 2026
- Reserved
- Oct 20, 2026
Description
ESP-IDF is the Espressif Internet of Things (IOT) Development Framework. From 5.2.0 until 5.2.8, 5.3.6, 5.4.5, 5.5.5, and 6.0.3, the OpenThread Border Router Neighbor Discovery packet handler trusts an attacker-controlled ICMPv6 option length while copying into a fixed stack buffer. A host on the same infrastructure link as the Border Router can send a crafted ICMPv6 Router Advertisement to its infrastructure interface whose oversized length causes an out-of-bounds write into adjacent stack memory. Firmware is affected only when CONFIG_OPENTHREAD_BORDER_ROUTER=y; Thread end devices, routers, and RCP firmware without the Border Router feature are unaffected. Exploitation requires no authentication or user interaction and can crash or reboot the device or corrupt adjacent stack state. This issue is fixed in versions 5.2.8, 5.3.6, 5.5.5, and 6.0.3 and is scheduled to be fixed in version 5.4.5.
| Product | Versions |
|---|---|
| esp-idf espressif | >= 5.2.0, < 5.2.8 Affected>= 5.3.0, < 5.3.6 Affected>= 5.4.0, < 5.4.5 Affected>= 5.5.0, < 5.5.5 Affected>= 6.0.0, < 6.0.3 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 3.1 | 7.1 High | GitHub_M |
Weaknesses
- CWE-121 Stack-based Buffer Overflow
References
- https://github.com/espressif/esp-idf/security/advisories/GHSA-c26h-gm53-qg83
- https://github.com/espressif/esp-idf/commit/4068c4e7d061b3e2d6096734509feadc14594e28
- https://github.com/espressif/esp-idf/commit/b6860b2db50406adf0aaebd75f2e9fe64cc805a9
- https://github.com/espressif/esp-idf/commit/c22480ba07fc1de454a63d42275c764d95c7bd9c
- https://github.com/espressif/esp-idf/commit/c828d0d709f1c46fa2b9e1ed3ce9d8dc4b29c42f
- https://github.com/espressif/esp-idf/commit/e18d27e480aec2b282898f4afc22b0f738ea7c04
- https://github.com/espressif/esp-idf/commit/f9bb1be59081ccef03a1b4b1fab9a225f28b1b61
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.