Junglewise Threat Intelligence

CVE-2026-45160: Espressif ESP-IDF out-of-bounds read in lwIP DHCP server

CVE-2026-45160 · Severity: medium · CVSS 6.5 · Published 2026-06-10

Technologies: Espressif Systems ESP-IDF. Vendors: Espressif Systems.

Executive brief

A vulnerability exists in the software framework used by Espressif IoT devices (such as ESP32) when they act as a Wi-Fi hotspot or DHCP server. An attacker connected to the same local network can send a specially crafted request that causes the device to crash or stop assigning IP addresses to other users. This results in a denial of service, preventing other devices from connecting to the network, though it does not appear to expose private data.

Technical details

An out-of-bounds read vulnerability exists in the DHCP server option parser (`parse_options()` in `components/lwip/apps/dhcpserver/dhcpserver.c`) of the Espressif IoT Development Framework (ESP-IDF). The parser fails to validate that the length byte and declared payload length of BOOTP/DHCP options remain within the bounds of the received packet buffer. An unauthenticated attacker on the same Layer-2 network can exploit this by sending a malformed DHCP broadcast. While the read data is not leaked to the attacker, the flaw can cause the lwIP/DHCP server task to crash or corrupt the parser state, resulting in a denial of service for all clients. The issue has been patched in versions 5.2.8, 5.3.6, 5.4.5, 5.5.5, and 6.0.2.

Affected products

  • Espressif Systems ESP-IDF 5.2.7, 5.3.5, 5.4.4, 5.5.4, 6.0.1

Timeline

  • 2026-05-21: advisory: GitHub advisory published by Espressif
  • 2026-06-10: disclosed: CVE published to NVD

References

Related threats