{"id":"CVE-2026-42854","published":"2026-05-12T21:56:33Z","modified":"2026-05-13T14:24:52Z","title":"arduino-esp32: Stack buffer overflow in WebServer multipart boundary parsing leads to remote crash potential RCE","vendor":"espressif","product":"arduino-esp32","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00828,"percentile":0.54644,"provenance":"source"},"cwes":[{"id":"CWE-121","name":"Stack-based Buffer Overflow"}],"references":[{"url":"https://github.com/espressif/arduino-esp32/security/advisories/GHSA-8cmm-3887-r32j","tags":["x_refsource_CONFIRM"]}],"priority":{"score":17.8,"factors":[{"name":"EPSS percentile","points":10.93},{"name":"CVSS severity","points":6.86}]},"vendorSlug":"espressif","affectedVersions":[{"vendor":"espressif","product":"arduino-esp32","versions":["< 3.3.8"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2026-05-13T14:24:33.796662Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-29858","exploited":false,"provenance":"source"}}