Critical severity · published May 12, 2026
CVE-2026-42854
arduino-esp32: Stack buffer overflow in WebServer multipart boundary parsing leads to remote crash potential RCE
9.8
CVSS
0.6%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.6% · higher than 47% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
AR
arduino-esp32 · espressif
< 3.3.8 · source: vendor, NVD
Affected product
AR
arduino-esp32
espressif
More from arduino-esp32
9.9
CVE-2024-45798
Multiple Poisoned Pipeline Execution (PPE) vulnerabilities
8.9
CVE-2025-53007
arduino-esp32 vulnerable to CRLF injection in WebServer.cpp
8.8
CVE-2026-41429
Improper validation of NBNS name_len in arduino-esp32 NetBIOS leads to memory corruption
8.7
CVE-2025-53540
CSRF Vulnerability in Firmware Update Endpoints Allows Remote Code Execution
7.5
CVE-2026-42855
arduino-esp32: Digest authentication URI mismatch bypass in WebServer allows cross-resource replay attack