CVE-2026-42854

Critical

Description

arduino-esp32 is an Arduino core for the ESP32, ESP32-S2, ESP32-S3, ESP32-C3, ESP32-C6 and ESP32-H2 microcontrollers. Prior to 3.3.8, the WebServer multipart form parser in arduino-esp32 allocates a Variable Length Array (VLA) on the stack whose size is derived from an attacker-controlled HTTP header field (Content-Type: multipart/form-data; boundary=...) without enforcing any length limit. Sending a boundary string longer than ~8000 characters overflows the 8192-byte task stack of the loopTask, causing a crash and potential remote code execution. This vulnerability is fixed in 3.3.8.

SeverityCritical
CVSS9.8
Exploit probability—
ProductEspressif Arduino-esp32
PublishedMay 12, 2026
First seenMay 12, 2026
Weakness typeCWE-121CWE-121

How to fix

Update
  • espressif arduino-esp323.3.8 or later

Affected products

ProductAffected versionsFixed in
espressif arduino-esp32v < 3.3.83.3.8

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.