github espressif/esp-idf v5.4.5
ESP-IDF Release v5.4.5

46 minutes ago

Documentation for IDF v5.4.5 is available at https://docs.espressif.com/projects/esp-idf/en/v5.4.5/

ESP-IDF v5.4.5 is a bugfix release for ESP-IDF v5.4.

Obtaining v5.4.5

For full installation instructions, see the ESP-IDF Programming Guide.

Using EIM

The recommended way to obtain and install ESP-IDF v5.4.5 is through the ESP-IDF Installation Manager (EIM). EIM supports obtaining ESP-IDF releases from Espressif mirrors as well as directly from Git repositories.

eim install -i v5.4.5

Using git

To download this release using git, use the following command:

git clone -b v5.4.5 --recursive https://github.com/espressif/esp-idf.git esp-idf-v5.4.5

To install ESP-IDF build tools, use EIM:

eim install -p esp-idf-v5.4.5

or the legacy installation method.

Download an archive with submodules included

Attached to this release is an esp-idf-v5.4.5.zip archive. It includes .git directory and all the submodules, so can be used out of the box. This archive is provided for users who have connectivity issues preventing them from cloning from GitHub. To reduce the size of the archive, the .git directory doesn't include the history of commits older than one year. Users who need to use git checkout to access an older release of IDF will have to use git fetch first to download the remaining part of the history.

This archive can also be downloaded from Espressif's download server: https://dl.espressif.com/github_assets/espressif/esp-idf/releases/download/v5.4.5/esp-idf-v5.4.5.zip

Same as when downloading the release using git, you need to install the build tools using either EIM or the legacy installation method.

Note that the source files attached to this release will not work due to our use of git submodules.

Major changes

Major Enhancements

  • Classic Bluetooth/Bluedroid: Fixed low throughput on ACL links where the local device became central by a role switch (9855039)
  • System Hardware/Cache: Fixed ESP32-P4 boot issues caused by stale flash data remaining in L1 cache after bootloader remapping, including failures during esp_mmu_map_init and pmu_init. (edaa313)

Vulnerability Fixes

  • Application Utilities/ESP HTTP Server: Fixed a null pointer dereference issue in the websocket server that could lead to a crash when handling specific client headers. (83ee64e)
  • Application Utilities/ESP HTTPS OTA: esp_https_ota now rejects plain HTTP unless HTTP downloads are explicitly enabled. (260ad1a)
  • Application Utilities/Protocomm: Fixed several issues in the protocomm module that could lead to device crashes during provisioning, including username length validation and null pointer dereferences. (3fa572c)
  • BLE/NimBLE: Pull upstream changes for fixes of various CVEs (0f76e6e)
  • Classic Bluetooth/Bluedroid: Added buffer length check in L2CAP related functions to fix security risks on out-of-bounds memory read (c4f758d)
  • Classic Bluetooth/Bluedroid: Added check of buffer length in L2CAP message parsing to avoid out-of-bounds read and write (36e7826)
  • Classic Bluetooth/Bluedroid: Fixed an OOB read in RFCOMM when a connected peer sends a frame shorter than 3 bytes in Bluedroid (320d90d)
  • Classic Bluetooth/Bluedroid: Fixed potential out-of-boundary read in parsing AVRCP vendor commands on AVRCP target (7bc820c)
  • LWIP/DHCP Server: Fixed an out-of-bounds read issue in the DHCP server that could cause crashes with specially crafted packets, enhancing overall stability. (4aaffbc)
  • Peripheral Drivers/JPEG/JPEG Decoder: Improved the jpeg_decoder by adding strict checks to prevent potential bad picture attacks. (GHSA-v6r2-f6p2-88cj) (9b0fc47)
  • WI-FI/MAC: Prevented stations from accepting forged broadcast deauthentication frames when the referenced IGTK was not installed. (234e3a8)

Breaking Changes

  • Security/Secure Boot: Disabled ECDSA Secure Boot V2 for ESP32-H2 which is in Mass Production stage . This was done due to a security vulnerability found in the ECDSA based Secure Boot flow, more details will be available in the Chip Errata. (8ea0981)
  • WI-FI/MAC: Fixed protected broadcast management frames, such as Deauthentication and Disassociation, 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). An ESP device on older firmware will drop these frames from an updated ESP device after 256 frames per IGTK, so update both. (234e3a8)

Changelog

For full list of changes, please refer to ESP-IDF v5.4.5 Release Notes in Espressif's release notes database.

Don't miss a new esp-idf release

NewReleases is sending notifications on new releases.