{"id":"CVE-2026-42854","aliases":["CVE-2026-42854"],"related":[],"kind":"vulnerability","state":"published","title":"arduino-esp32: Stack buffer overflow in WebServer multipart boundary parsing leads to remote crash potential RCE","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"arduino-esp32 es un core de Arduino para los microcontroladores ESP32, ESP32-S2, ESP32-S3, ESP32-C3, ESP32-C6 y ESP32-H2. Antes de la versión 3.3.8, el analizador de formularios multipart WebServer en arduino-esp32 asigna un Array de Longitud Variable (VLA) en la pila cuyo tamaño se deriva de un campo de encabezado HTTP controlado por un atacante (Content-Type: multipart/form-data; boundary=...) sin aplicar ningún límite de longitud. Enviar una cadena de límite de más de ~8000 caracteres desborda la pila de tareas de 8192 bytes de loopTask, causando un fallo y una potencial ejecución remota de código. Esta vulnerabilidad se corrige en la versión 3.3.8.","source":"nvd"}],"published":"2026-05-12T21:56:33.437Z","modified":"2026-10-26T14:10:00.130Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-121"],"affected":[{"ranges":[{"version":"< 3.3.8","status":"affected"}],"vendor":"espressif","product":"arduino-esp32","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"3.3.8"}],"vendor":"espressif","product":"arduino-esp32","cpe":"cpe:2.3:a:espressif:arduino-esp32:*:-:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/espressif/arduino-esp32/security/advisories/GHSA-8cmm-3887-r32j","tags":["exploit","vendor-advisory","x-refsource-confirm"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"total","date":"2026-05-13T14:24:33.796Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-42854","url":"https://www.cve.org/CVERecord?id=CVE-2026-42854","licence":"CVE Terms of Use","modified":"2026-05-13T14:24:52.597Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-42854","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42854","licence":"Public domain","modified":"2026-10-26T14:10:00.130Z"}],"updatedAt":"2026-11-25T22:59:21.506Z","epss":{"score":0.00571,"percentile":0.48585,"date":"2026-12-01T12:00:22.000Z"}}