Known vulnerabilities in ESP-IDF v4.4.8
Which CVEs affect the components ESP-IDF v4.4.8 ships, such as mbed TLS, lwIP and cJSON, according to Espressif's own checker, and in which later release they are no longer reported.
23 known vulnerabilities reported for the components of ESP-IDF v4.4.8: 4 critical, 9 high, 10 medium. Checked on 2026-11-12 with Espressif's esp-idf-sbom 1.4.0.
Some components of this release cannot be checked (see below), so the real list may be longer.
Known vulnerabilities
| CVE | Component | Severity | What it is | In later 4.4 releases |
|---|---|---|---|---|
| CVE-2025-47917 | mbed_tls 2.28.8 | critical 9.8 | Mbed TLS before 3.6.4 allows a use-after-free in certain situations of applications that are developed in accordance with the documentation. | |
| CVE-2026-34877 | mbed_tls 2.28.8 | critical 9.8 | An issue was discovered in Mbed TLS versions from 2.19.0 up to 3.6.5, Mbed TLS 4.0.0. | |
| CVE-2025-66409 | esp-idf 4.4.8 | critical 9.1 | ESF-IDF is the Espressif Internet of Things (IOT) Development Framework. | |
| CVE-2026-34872 | mbed_tls 2.28.8 | critical 9.1 | An issue was discovered in Mbed TLS 3.5.x and 3.6.x through 3.6.5 and TF-PSA-Crypto 1.0. | |
| CVE-2025-55297 | esp-idf 4.4.8 | high 8.8 | ESF-IDF is the Espressif Internet of Things (IOT) Development Framework. | |
| CVE-2024-28115 | freertos 10.4.3 | high 7.8 | FreeRTOS is a real-time operating system for microcontrollers. | |
| CVE-2025-52496 | mbed_tls 2.28.8 | high 7.8 | Mbed TLS before 3.6.4 has a race condition in AESNI detection if certain compiler optimizations occur. | |
| CVE-2026-25835 | mbed_tls 2.28.8 | high 7.7 | Mbed TLS before 3.6.6 and TF-PSA-Crypto before 1.1.0 misuse seeds in a Pseudo-Random Number Generator (PRNG). | |
| CVE-2024-31755 | cjson 1.7.17 | high 7.6 | cJSON v1.7.17 was discovered to contain a segmentation violation, which can trigger through the second parameter of function cJSON_SetValuestring at cJSON.c. | |
| CVE-2021-43666 | mbed_tls 2.28.8 | high 7.5 | A Denial of Service vulnerability exists in mbed TLS 3.0.0 and earlier in the mbedtls_pkcs12_derivation function when an input password's length is 0. | |
| CVE-2021-45451 | mbed_tls 2.28.8 | high 7.5 | In Mbed TLS before 3.1.0, psa_aead_generate_nonce allows policy bypass or oracle-based decryption when the output buffer is at memory locations accessible to an untrusted application. | |
| CVE-2023-52353 | mbed_tls 2.28.8 | high 7.5 | An issue was discovered in Mbed TLS through 3.5.1. | |
| CVE-2025-48965 | mbed_tls 2.28.8 | high 7.5 | Mbed TLS before 3.6.4 has a NULL pointer dereference because mbedtls_asn1_store_named_data can trigger conflicting data with val.p of NULL but val.len greater than zero. | |
| CVE-2026-34871 | mbed_tls 2.28.8 | medium 6.7 | An issue was discovered in Mbed TLS before 3.6.6 and 4.x before 4.1.0 and TF-PSA-Crypto before 1.1.0. | |
| CVE-2025-54764 | mbed_tls 2.28.8 | medium 6.2 | Mbed TLS before 3.6.5 allows a local timing attack against certain RSA operations, and direct calls to mbedtls_mpi_mod_inv or mbedtls_mpi_gcd. | |
| CVE-2023-53154 | cjson 1.7.17 | medium 5.5 | parse_string in cJSON before 1.7.18 has a heap-based buffer over-read via {"1":1, with no trailing newline if cJSON_ParseWithLength is called. | |
| CVE-2025-27809 | mbed_tls 2.28.8 | medium 5.4 | Mbed TLS before 2.28.10 and 3.x before 3.6.3, on the client side, accepts servers that have trusted certificates for arbitrary hostnames unless the TLS client application calls mbedtls_ssl_set_hostname. | |
| CVE-2025-59438 | mbed_tls 2.28.8 | medium 5.3 | Mbed TLS through 3.6.4 has an Observable Timing Discrepancy. | |
| CVE-2024-45157 | mbed_tls 2.28.8 | medium 5.1 | An issue was discovered in Mbed TLS before 2.28.9 and 3.x before 3.6.1, in which the user-selected algorithm is not used. | |
| CVE-2025-66442 | mbed_tls 2.28.8 | medium 5.1 | In Mbed TLS through 4.0.0, there is a compiler-induced timing side channel (in RSA and CBC/ECB decryption) that only occurs with LLVM's select-optimize feature. | |
| CVE-2025-27810 | mbed_tls 2.28.8 | medium 4.8 | Mbed TLS before 2.28.10 and 3.x before 3.6.3, in some cases of failed memory allocation or hardware errors, uses uninitialized stack memory to compose the TLS Finished message, potentially leading to authentication… | |
| CVE-2025-52497 | mbed_tls 2.28.8 | medium 4.8 | Mbed TLS before 3.6.4 has a PEM parsing one-byte heap-based buffer underflow, in mbedtls_pem_read_buffer and two mbedtls_pk_parse functions, via untrusted PEM input. | |
| CVE-2021-36647 | mbed_tls 2.28.8 | medium 4.7 | Use of a Broken or Risky Cryptographic Algorithm in the function mbedtls_mpi_exp_mod() in lignum.c in Mbed TLS Mbed TLS all versions before 3.0.0, 2.27.0 or 2.16.11 allows attackers with access to precise enough timing… |
"In later releases" shows the first later 4.4 release in which Espressif's checker no longer reports the CVE. Check the release notes before relying on it for a fix.
Excluded by Espressif
These CVEs match a component's version in the NVD, but Espressif has excluded them for ESP-IDF, with the reason below. idf.py sbom-check leaves them out too.
- CVE-2020-22284 (lwip 2.1.2): The fix for this vulnerability has been incorporated from the lwIP project upstream as ecd6009a, 6ffe30d9 and 8f5a0aaa.
- CVE-2021-43997 (freertos 10.4.3): This vulnerability only affects ARMv7-M and ARMv8-M ports of FreeRTOS and hence does not affect Espressif SoCs which are not based on these architectures.
- CVE-2025-27840 (esp-idf 4.4.8): A security issue was reported concerning undocumented HCI commands in ESP32 Bluetooth controller.
- CVE-2026-77234 (freertos 10.4.3): A timer command submitted by an unprivileged task is executed by the timer service task as a caller-supplied function call.
- CVE-2026-77235 (freertos 10.4.3): Missing privilege verification in the secure context cleanup SVC handler, letting a Non-Secure task free another task's secure context (GHSA-55pf-q87x-c58c).
- CVE-2026-77236 (freertos 10.4.3): Missing minimum size validation in secure context allocation, writing the stack-overflow sentinel outside the allocated Secure-world buffer (GHSA-vq2f-9qj3-jj2m).
- CVE-2026-77237 (freertos 10.4.3): Missing queue-set type validation in xQueueAddToSet() leading to an out-of-bounds read in privileged kernel context.
Does it affect your firmware?
This list covers every component ESP-IDF v4.4.8 ships. Your application links only some of them: an app without Thread does not contain OpenThread, and one that does not parse JSON may not link cJSON. For the list that applies to your build, create its SBOM and check it:
pip install esp-idf-sbom idf.py sbom-create idf.py sbom-check
A vulnerability in a component you link is not always reachable: it may sit in a feature that is not enabled in your configuration. That judgement is yours to record; the Cyber Resilience Act asks you to handle each one and to keep track of it (what it asks).
This page is a snapshot from 2026-11-12; new vulnerabilities are published every week. Pinscope checks the SBOM of your own build against the NVD every day, with the same matching as Espressif's tool, and emails you when a new one appears in it. Free for one build, no card. The paid plans check every build, show which devices run an affected one, keep your decision on each CVE and ship the fix over the air (for the Cyber Resilience Act).
Components checked
cjson 1.7.17, esp-idf 4.4.8, freertos 10.4.3, lwip 2.1.2, mbed_tls 2.28.8, micro-ecc 1.1, protobuf-c 1.4.1
Not checked in this release: newlib, openthread, wpa_supplicant. ESP-IDF v4.4.8 has no SBOM manifest for them (other releases do), so Espressif's checker cannot look them up. Their vulnerabilities are not in the list above; check those components yourself.
Listed without an identifier the NVD uses, so not looked up: components/cmock/CMock v2.5.2-2-geeecc49ce8af, components/spiffs/spiffs 0.2-255-g0dbb3f71c5f6, components/unity/unity v2.4.3-51-g7d2bf62b7e6a, FatFs R0.13c.
From the SBOM manifests in ESP-IDF v4.4.8 and its submodules, checked against the NVD with esp-idf-sbom manifest check and Espressif's list of excluded CVEs. The NVD changes daily; this page is regenerated from time to time. Espressif's own fixes and notes are in its security advisories. All ESP-IDF versions.
ESP-IDF and Espressif are trademarks of Espressif Systems; this page is not affiliated with or endorsed by Espressif.
More
- Remote access to an ESP32 without TLS: what it measured and what it costs
- Reaching an ESP32 web server from outside its network
- Updating ESP32 firmware over the internet, with rollback
- Guru Meditation Error: decoding the backtrace, and crashes from the field
- Remote logging: ESP_LOG without a serial cable
- Heap and stack monitoring in the field
- An ESP32 behind CGNAT, 4G or Starlink
- TLS memory usage on the ESP32, and how to reduce it
- Sharing an ESP32 sensor page with anyone, without port forwarding
- ArduinoOTA over the internet, with a rollback
- ESP32 remote access compared: port forwarding, ngrok, Cloudflare Tunnel, Tailscale
- esp_http_server slow? The 250 ms delay and the fix
- Before the first ESP32 ships: a field support checklist
- ESP32 exception decoder: a Guru Meditation backtrace to lines, in the browser