Espressif published ESP-IDF v5.4.5 on 27 November 2026. The release notes describe it in one line: "ESP-IDF v5.4.5 is a bugfix release for ESP-IDF v5.4." Most of the listed changes are vulnerability fixes. The list covers the hardware JPEG decoder driver, Classic Bluetooth in Bluedroid, the lwIP DHCP server, the ESP HTTP Server's websocket handling, HTTPS OTA, protocomm provisioning and the Wi-Fi MAC. There are also two breaking changes. One of them disables ECDSA-based Secure Boot V2 on the ESP32-H2, a chip Espressif notes is already in mass production.

This release belongs to the 5.4 maintenance branch. Teams that froze on 5.4 for a shipping product get these fixes without moving to a newer major line.

The headline fix: an out-of-bounds stack write in JPEG DQT parsing

The most completely documented issue is GHSA-v6r2-f6p2-88cj, titled "Stack-Based Out-of-Bounds Write in JPEG Decoder DQT Marker Parsing." The v5.4.5 notes link to it from an entry that reads "Improved the jpeg_decoder by adding strict checks to prevent potential bad picture attacks." Espressif published the advisory on 22 June 2026, rated it High with a CVSS score of 7.5, and credited the report to Hayden Steele. The affected package is esp_driver_jpeg.

The bug is in jpeg_parse_dqt_marker(). A JPEG's Define Quantization Table (DQT) segment carries a 4-bit table identifier, Tq. The parser used that attacker-controlled nibble as an index into qt_tbl, which is declared as uint32_t[4][64], and never checked its range. Any Tq of 4 or more therefore writes past the end of the array into neighbouring stack memory. According to the advisory, the fix rejects any Tq outside 0..3 with ESP_ERR_INVALID_ARG. The same bound check was added to the Th field in the Define Huffman Table (DHT) marker parser. On the release/v5.4 branch the fix is commit 7ccfc00.

The advisory is specific about impact. The main demonstrated effect is denial of service: a "Stack smashing protect failure" panic, which it describes as deterministic on ESP32-P4. Beyond that, the advisory says the write is stack memory corruption that, depending on build hardening, "may be leveraged toward code execution," for instance on builds compiled without -fstack-protector-strong, where the affected frame is not covered by a stack canary. It adds that exploitation beyond denial of service has not been demonstrated.

The CVE record

The issue is tracked as CVE-2026-55687. The CVE.org record shows GitHub_M as the assigner, reserved on 17 June 2026 and published on 10 July 2026. It is classified under CWE-121 (stack-based buffer overflow) and CWE-787 (out-of-bounds write). The CVSS 3.1 vector is AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H: network-reachable, low complexity, no privileges or user interaction needed, unchanged scope, and no confidentiality or integrity impact, but high availability impact. That fits the advisory's denial-of-service description. The record's title spells the framework "ESF-IDF," a typo in the record itself.

The NVD entry was last modified on 25 October 2026 and has the status "Deferred." It places the vulnerable code in components/esp_driver_jpeg/jpeg_parse_marker.c. It lists versions 6.0.1, 5.5.4, 5.4.4 and 5.3.5 "and possibly prior" as affected. It says the bug is fixed in 6.0.2 and "expected" to be fixed in 5.5.5, 5.4.5 and 5.3.6.

When PinoutFeed read the GitHub advisory, it listed v6.0.2, v5.5.5, v5.4.5 and v5.3.6 as patched versions but marked them "yet to be released." With v5.4.5 now tagged, the 5.4 branch has its release carrying the fix about five months after the advisory was published. The sources here do not confirm release dates for v5.5.5 or v5.3.6.

The advisory offers no workaround. Its guidance is to upgrade. As an interim mitigation, it says to avoid passing untrusted or unvalidated JPEG data to the hardware decoder.

The rest of the security list

The release notes give the other fixes in one line each. The descriptions below follow that wording. Espressif's notes give no CVE numbers or severity scores for these items.

  • Bluedroid (Classic Bluetooth): two L2CAP buffer length checks; a fix for an RFCOMM out-of-bounds read on frames shorter than 3 bytes; and a fix for an out-of-bounds read when parsing AVRCP vendor commands.
  • NimBLE: fixes for upstream CVEs, which the notes do not enumerate.
  • lwIP DHCP server: an out-of-bounds read fix.
  • ESP HTTP Server: a websocket server null pointer dereference fix.
  • esp_https_ota: plain HTTP is now rejected unless HTTP downloads are explicitly enabled. Projects that relied on plain HTTP OTA will see failures until they either move to HTTPS or opt in deliberately.
  • protocomm provisioning: crash fixes, including username length validation and null pointer handling.
  • Wi-Fi MAC: stations no longer accept forged broadcast deauthentication frames when the IGTK they reference was not installed.

The release also has two functional fixes the notes list as major enhancements. Bluedroid fixes low throughput on ACL links where the local device became central by a role switch. On ESP32-P4, Espressif fixed boot issues caused by stale flash data remaining in the L1 cache after the bootloader remapped memory, including failures during esp_mmu_map_init and pmu_init.

Breaking change 1: ECDSA Secure Boot V2 disabled on ESP32-H2

This is the change most likely to affect product teams. Espressif has disabled ECDSA Secure Boot V2 for ESP32-H2 "due to a security vulnerability found in the ECDSA based Secure Boot flow," and says "more details will be available in the Chip Errata." The release notes give no further technical detail, and PinoutFeed did not find any in the sources available for this story. We will not guess at the mechanism.

In practice, an ESP32-H2 project with ECDSA-based Secure Boot V2 in its configuration should expect that option to be unavailable on v5.4.5. The notes do not say how devices already provisioned in the field should be handled. Anyone shipping ESP32-H2 hardware with this feature should watch for the errata update before planning a migration.

Breaking change 2: Wi-Fi BIP replay counter byte order

The second break is quieter, but it can cause problems in mixed fleets. The notes say protected broadcast management frames, such as Deauthentication and Disassociation, were being dropped after the first 256 frames per IGTK when exchanged with devices from other vendors. The station and softAP now use the IEEE 802.11-2020 byte order for the BIP replay counter (IPN). According to the notes, an ESP device still on older firmware will drop these frames from an updated ESP device after 256 frames per IGTK. Espressif's instruction is short: "so update both." Where updated and older ESP devices share a network, a staged rollout can therefore produce failures that appear only after a delay and may be hard to trace.

What It Means for Makers

This release is for anyone building on the ESP-IDF 5.4 branch. If you decode JPEGs from network sources, such as camera streams, downloaded images or user uploads, you need this fix most. The advisory calls the resulting crash deterministic on ESP32-P4. The CVSS vector rates the bug network-reachable with no privileges or user interaction required. The advisory offers no workaround other than not feeding untrusted JPEGs to the hardware decoder. Projects that use Classic Bluetooth through Bluedroid, run the built-in DHCP server, or do OTA updates also get fixes they should not skip.

v5.4.5 follows v5.4.4, which the advisory and NVD both list as affected by CVE-2026-55687. Before deploying, check two things: whether your ESP32-H2 configuration depends on ECDSA Secure Boot V2, and whether your OTA path still uses plain HTTP. Update every ESP device in a Wi-Fi fleet together because of the IPN byte-order change.

Price and availability: there is no hardware to buy. The release has been available since 27 November 2026 on Espressif's GitHub. Install it with the ESP-IDF Installation Manager (eim install -i v5.4.5) or with git clone -b v5.4.5 --recursive. The v5.4.5 Programming Guide is live at the version-specific URL the release notes point to.

Sources