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

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.

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

Quick answers

Is CVE-2026-45160 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-45160 being exploited in the wild.
How severe is CVE-2026-45160?
Medium severity, with a CVSS score of 6.5, published 10 June 2026.
Which products and versions are affected?
Espressif Systems ESP-IDF 5.2.7, 5.3.5, 5.4.4, 5.5.4, 6.0.1.
Is there a fix for CVE-2026-45160?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2026-45160 attacked?
It is attacked from the adjacent network, in a software library.
Am I affected by CVE-2026-45160?
Check whether you run Espressif Systems ESP-IDF at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

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

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.