CVE-2026-42854

CRITICAL CVSS 3.1: 9.8 EPSS 0.57%
Updated Oct 26, 2026
Espressif
Parameter Value
CVSS 9.8 (CRITICAL)
Affected Versions before 3.3.8
Fixed In 3.3.8
Type CWE-121 (Stack-based Buffer Overflow)
Vendor Espressif
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
High
Complete denial of service

CVSS Vector v3.1

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Espressif Arduino-Esp32
cpe:2.3:a:espressif:arduino-esp32:*:-:*:*:*:*:*:*
— 3.3.8