製品・ソフトウェアに関する情報
Espressif SystemsのESP32 Arduinoにおけるスタックベースのバッファオーバーフローの脆弱性
Title Espressif SystemsのESP32 Arduinoにおけるスタックベースのバッファオーバーフローの脆弱性
Summary

arduino-esp32は、ESP32、ESP32-S2、ESP32-S3、ESP32-C3、ESP32-C6、およびESP32-H2マイクロコントローラ用のArduinoコアです。バージョン3.3.8より前のarduino-esp32では、WebServerのマルチパートフォームパーサが、攻撃者が制御可能なHTTPヘッダーフィールド(Content-Type: multipart/form-data; boundary=...)に基づいてサイズを決定する可変長配列(VLA)をスタック上に割り当てていましたが、長さの制限を強制していませんでした。約8000文字を超えるboundary文字列を送信すると、loopTaskの8192バイトのタスクスタックがオーバーフローしてクラッシュし、リモートコードを実行される可能性がありました。この脆弱性はバージョン3.3.8で修正されています。

Possible impacts 当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 また、当該ソフトウェアが扱う全ての情報が書き換えられる可能性があります。 さらに、当該ソフトウェアが完全に停止する可能性があります。 そして、この脆弱性を悪用した攻撃の影響は、他のソフトウェアには及びません。 
Solution

正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。

Publication Date May 12, 2026, midnight
Registration Date May 20, 2026, 1:28 p.m.
Last Update May 20, 2026, 1:28 p.m.
CVSS3.0 : 緊急
Score 9.8
Vector CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected System
Espressif Systems
ESP32 Arduino 3.3.8 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
No Changed Details Date of change
1 [2026年05月20日]
  掲載
May 20, 2026, 1:28 p.m.

NVD Vulnerability Information
CVE-2026-42854
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.

Publication Date May 13, 2026, 7:16 a.m.
Registration Date May 15, 2026, 4:18 a.m.
Last Update May 18, 2026, 10:09 p.m.
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:espressif:arduino-esp32:*:-:*:*:*:*:*:* 3.3.8
Related information, measures and tools
Common Vulnerabilities List