BreachSpiderVerified, not vibes

CVE-2026-42854 in Espressif Arduino-Esp32

Critical 9.8

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-...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.19.8
EPSS0.8%
EPSS percentile55th
FixUnknown

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Espressif Arduino-Esp32 < 3.3.8

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official 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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2026-42854
BreachSpider IDBS-2026-GLOBAL-252476-C
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published2026-05-12
Last modified2026-10-26
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-121: Stack-Based Buffer Overflow

Buffer overflow corrupting the program stack, typically overwriting the return address for code execution.

Analysis AI-written, not human-reviewed

A vulnerability in the WebServer multipart form parser of the arduino-esp32 core prior to version 3.3.8 allows attackers to exploit a stack-based buffer overflow by sending a specially crafted HTTP request with a large Content-Type header field.

The vulnerability arises from the use of a Variable Length Array (VLA) on the stack whose size is determined by the length of the boundary string in the Content-Type header of a multipart/form-data request. Since there is no length limit enforced on this boundary string, an attacker can craft a request with an excessively long boundary string, leading to a stack-based buffer overflow.

Questions

What is CVE-2026-42854?

A vulnerability in the WebServer multipart form parser of the arduino-esp32 core prior to version 3.3.8 allows attackers to exploit a stack-based buffer overflow by sending a specially crafted HTTP request with a large Content-Type header field.

What is the CVSS score for CVE-2026-42854?

CVE-2026-42854 has CVSS 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 0.8%.

Is CVE-2026-42854 actively exploited?

No confirmed active exploitation of CVE-2026-42854 as of 2026-11-03.

How do I remediate CVE-2026-42854?

Priority: IMMEDIATE. PSIRT: [email protected]

What systems are affected by CVE-2026-42854?

CVE-2026-42854 affects Espressif Arduino-Esp32.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Espressif","product":"Arduino-Esp32","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-26.