CVE-2026-113782

ESP-IDF: Stack-Based Out-of-Bounds Write in Thread Border Router ND6 Option Parsing

Published Nov 4, 2026 CVSS 3.1 · 7.1 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

A stack-based buffer overflow occurs in the ESP‑IDF OpenThread Border Router when it parses an ICMPv6 Router Advertisement containing an attacker‑controlled ND6 option length. The function copies the option into a fixed stack buffer without validating the length, permitting an out‑of‑bounds write. An attacker can use this flaw to corrupt adjacent stack memory, potentially causing a crash or reboot of the device or affecting subsequent program behavior. The vulnerability is exploitable without authentication or user interaction.

Affected Systems

Affected versions include ESP‑IDF releases 5.2.0 through 5.2.8, 5.3.6, 5.4.5, 5.5.5, and 6.0.3 when the CONFIG_OPENTHREAD_BORDER_ROUTER feature is enabled. Thread end devices, routers, and RCP firmware that do not enable the Border Router do not contain the flaw. The issue is fixed in 5.2.8, 5.3.6, 5.5.5, and 6.0.3, with a fix scheduled for 5.4.5.

Risk and Exploitability

The CVSS score of 7.1 indicates a high impact and medium to high exploitability. EPSS is not available, and the vulnerability is not listed in CISA KEV. Attackers can send a crafted ICMPv6 Router Advertisement from a host on the same infrastructure link as the Border Router, bypassing authentication. Because the flaw can crash the device or corrupt stack state, the risk is significant for IoT deployments that rely on continuous operation. The lack of user interaction or privileged access lowers the barrier for exploitation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade ESP‑IDF to a version that includes the fix (5.2.8, 5.3.6, 5.5.5, or 6.0.3) or later.
  • Disable CONFIG_OPENTHREAD_BORDER_ROUTER if the Border Router function is not required.
  • Restrict access to the infrastructure link by implementing network segmentation or firewall rules to block unsolicited ICMPv6 Router Advertisements from other hosts.

Generated by OpenCVE AI on November 4, 2026 at 20:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Espressif
Espressif esp-idf
Vendors & Products Espressif
Espressif esp-idf
Type Values Removed Values Added
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.
Title ESP-IDF: Stack-Based Out-of-Bounds Write in Thread Border Router ND6 Option Parsing
Weaknesses CWE-121
References
Metrics cvssV3_1

{'score': 7.1, 'vector': 'CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H'}

Weaknesses
  • CWE-121

    Stack-based Buffer Overflow

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Nov 9, 2026, 4:46 PM
Reserved
Oct 20, 2026, 5:39 PM
Status
Deferred
Published
Nov 4, 2026, 7:17 PM
Modified
Nov 12, 2026, 8:07 PM