CVE-2026-45160
Last modified
CVE-2026-45160 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. ESF-IDF is the Espressif Internet of Things (IOT) Development Framework. In versions 5.2.7, 5.3.5, 5.4.4, 5.5.4, and 6.0.1, an out-of-bounds read flaw exists in the DHCP server option parser (parse_options() in components/lwip/apps/dhcpserver/dhcpserver.c) shipped with ESP-IDF's lwIP component. EPSS estimates a 0.25% chance of exploitation in the next 30 days.
Description
ESF-IDF is the Espressif Internet of Things (IOT) Development Framework. In versions 5.2.7, 5.3.5, 5.4.4, 5.5.4, and 6.0.1, an out-of-bounds read flaw exists in the DHCP server option parser (parse_options() in components/lwip/apps/dhcpserver/dhcpserver.c) shipped with ESP-IDF's lwIP component. The parser walks the BOOTP/DHCP options field without validating that each option's length byte and declared payload length stay within the received packet buffer. A crafted DHCP request can cause the parser to read past the end of the options buffer into adjacent heap memory. The issue affects the DHCP server used by ESP-IDF's SoftAP and any configuration where the device runs as a DHCP server on a local network. This issue has been patched in versions 5.2.8, 5.3.6, 5.4.5, 5.5.5, and 6.0.2.
Metrics
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Espressif | Esp-Idf | 5.2.7 |
| Espressif | Esp-Idf | 5.3.5 |
| Espressif | Esp-Idf | 5.4.4 |
| Espressif | Esp-Idf | 5.5.4 |
| Espressif | Esp-Idf | 6.0.1 |
References
- https://github.com/espressif/esp-idf/security/advisories/GHSA-g764-gwc3-75m5Mitigation, Patch, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-45160?
How severe is CVE-2026-45160?
How do I fix CVE-2026-45160?
Are you affected by CVE-2026-45160?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
