Known vulnerabilities in every Arduino ESP32 core

For core 2.0.17, still behind many projects, Espressif's own tool reports at least 24 known CVEs, 4 of them critical. For core 4.0.0 it reports 2. We ran it on every release; this is what it found, what of it applies, and when it matters for a sketch.

The numbers here come from a table of every Arduino ESP32 core release, checked between 2026-11-15 and 2026-12-04 with Espressif's own esp-idf-sbom against the NVD. The table has the full list of CVEs for each release.

The short version

Why look at the core at all

An Arduino sketch for the ESP32 is not only the sketch. The core is built on Espressif's ESP-IDF, and every sketch is linked with that ESP-IDF's mbed TLS, lwIP, FreeRTOS, cJSON and the rest. When one of them has a known vulnerability, your firmware has it too, until it is rebuilt with a newer core. Nothing in the Arduino IDE tells you that.

Espressif publishes the tool to check this, esp-idf-sbom, but it works on an ESP-IDF tree, not on an Arduino core. So we found the exact ESP-IDF commit behind each core release and ran the check on that commit.

The numbers

Bar chart of known CVEs per Arduino ESP32 core release, from 28 in 2.0.14 and 33 in 3.0.0 down to 4 in 3.3.11 and 3.3.12 and 2 in 4.0.0

CoreESP-IDFmbed TLSCriticalHighTotal
2.0.14
2023-10-04
v4.4.62.28.441128
2.0.17
2024-05-23
v4.4.72.28.741024
3.0.0
2024-05-27
v5.1.43.5.291033
3.1.3
2025-02-17
v5.3.23.6.26724
3.2.1
2025-07-03
v5.4.23.6.36621
3.3.0
2025-07-23
v5.53.6.36621
3.3.5
2025-12-19
v5.5.13.6.55918
3.3.10
2026-06-05
v5.5.43.6.541020
3.3.11
2026-07-22
v5.5.53.6.634
3.3.12
2026-09-18
v5.5.53.6.634
3.3.13
2026-11-17
v5.5.63.6.746
4.0.0
2026-11-19
v6.1.14.1.112

Every release is in the full table. Core 2.0.0 to 2.0.13 cannot be checked: their ESP-IDF has no SBOM manifests.

Core 2.x: frozen with mbed TLS 2.28.7

The 2.x line ended with 2.0.17 on ESP-IDF v4.4.7. Its mbed TLS stayed at 2.28.7, and fixes released since, some of them in the same 2.28 line (CVE-2024-28960 was fixed in 2.28.8), never reached it. Of its 24 known vulnerabilities, 19 are in mbed TLS. The four critical ones:

24 is a floor, not a count: ESP-IDF 4.4 has no SBOM manifests for several components, among them wpa_supplicant and the NimBLE Bluetooth stack, so those were not checked at all.

What the tool reports, and what applies

The numbers on this page are what esp-idf-sbom reports, which follows the version ranges in the NVD. Those ranges are sometimes wider than the advisory. Reading the 24 for 2.0.17 one by one, at least five do not apply to this build on their own description:

That leaves 19, three of them critical, before asking whether a given sketch reaches the code at all. We kept the tool's numbers in the tables so they can be checked against it, and we would rather say this than have a reader find it.

Core 3.x: more components checked, then a clean-up

Core 3.0.0 moved to ESP-IDF 5.1 and showed 33 known vulnerabilities. Part of that is better coverage, not worse code: ESP-IDF 5 has manifests for more components, so more of them are checked. Through 3.3.10 the count stayed around twenty, because mbed TLS kept getting new CVEs as fast as the core picked up new versions.

Core 3.3.11 moved to ESP-IDF v5.5.5 with mbed TLS 3.6.6, which fixed the mbed TLS CVEs and the ESP-IDF ones of 5.5.4 at once: 20 became 4. What is left in 3.3.12 is four CVEs in cJSON 1.7.19, three high and one medium; 3.3.13 adds 2 in the NimBLE Bluetooth stack.

Core 4.0: a new ESP-IDF

Core 4.0.0 came out on 2026-11-19 and moves to ESP-IDF v6.1.1 with mbed TLS 4.1.1. The tool reports 2 known vulnerabilities for it, in the NimBLE Bluetooth stack, and cJSON is no longer among the components it checks there. It is a major release, so sketches and libraries may need changes before they build with it.

Does it matter for your sketch?

Not every one does. A known vulnerability matters when the vulnerable code runs and an attacker can reach it:

So the count says how much there is to check, not how exposed a device is. The cheap answer is still the same: build with a current core, and the question mostly goes away.

Which core do you have?

In the Arduino IDE: Tools → Board → Boards Manager, search esp32; the version of esp32 by Espressif Systems is the core. In PlatformIO, the build output names the framework package it uses. To have the firmware say it itself:

Serial.printf("Arduino core %d.%d.%d, ESP-IDF %s\n",
  ESP_ARDUINO_VERSION_MAJOR, ESP_ARDUINO_VERSION_MINOR,
  ESP_ARDUINO_VERSION_PATCH, esp_get_idf_version());

That tells you what a device in the field is running, which is the version that counts, not the one installed on your laptop today.

What to do

Pinscope does the last two: it checks the SBOM of your build every day and emails you when a new vulnerability appears in it (free for one build), and updates devices over the air, including Arduino sketches, behind NAT and 4G.

Watch your firmware, free

How this was checked

For each release tag of arduino-esp32: the ESP-IDF version from tools/sdk/versions.txt (2.x) or the esp32-arduino-libs version (3.x), the commit placed with git describe, and esp-idf-sbom manifest check on that commit against the NVD, checked between 2026-11-15 and 2026-12-04. New CVEs published since then are not counted. CVEs Espressif has marked as not applicable to ESP-IDF are left out; severity is the NVD's CVSS base severity. Espressif's own notes are in its security advisories. Found a mistake? hello@pinscope.dev.

Arduino is a trademark of Arduino SA; ESP-IDF and Espressif are trademarks of Espressif Systems. This page is not affiliated with or endorsed by either.

More