Stack-based Buffer Overflow Affecting espressif/arduino-esp32 package, versions [,3.3.8)


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.57% (43rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-ESPRESSIFARDUINOESP32-16672591
  • published14 May 2026
  • disclosed12 May 2026
  • creditgladiator9797

Introduced: 12 May 2026

CVE-2026-42854  (opens in a new tab)
CWE-121  (opens in a new tab)

How to fix?

Upgrade espressif/arduino-esp32 to version 3.3.8 or higher.

Overview

Affected versions of this package are vulnerable to Stack-based Buffer Overflow via the WebServer multipart form parser when it allocates a stack-based buffer whose size is determined by an attacker-controlled HTTP header field. An attacker can cause a crash or potentially execute arbitrary code by sending a specially crafted HTTP request with an excessively long boundary string.

CVSS Base Scores

version 4.0
version 3.1