Out-of-bounds write in ESP-IDF - CVE-2022-24893
Published: June 23, 2022 / Updated: May 13, 2026
ESP-IDF
Detailed vulnerability description
The vulnerability allows a remote attacker to execute arbitrary code.
The vulnerability exists due to out-of-bounds write in the ESP-BLE-MESH provisioning message handling logic when processing a crafted Transaction Start PDU during provisioning. A remote attacker can send a specially crafted provisioning PDU with an invalid SegN field to execute arbitrary code.
The issue occurs because the SegN field is not checked, which can cause firmware to handle a message larger than the available global buffer.