{"id":"CVE-2026-45160","state":"PUBLISHED","title":"ESF-IDF: Out-of-bounds Read in lwIP DHCP Server Option Parser","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.","publishedAt":"2026-06-10T00:26:34.381Z","updatedAt":"2026-06-10T15:10:05.993Z","severity":{"score":6.5,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["espressif esp-idf"],"affected":[{"vendor":"espressif","product":"esp-idf","versions":[{"version":"= 5.2.7","status":"affected"},{"version":"= 5.3.5","status":"affected"},{"version":"= 5.4.4","status":"affected"},{"version":"= 5.5.4","status":"affected"},{"version":"= 6.0.1","status":"affected"}]}],"references":["https://github.com/espressif/esp-idf/security/advisories/GHSA-g764-gwc3-75m5","https://github.com/espressif/esp-idf/commit/2bf4dd12002dbae60a4b21abff010ecb2b8ee82b","https://github.com/espressif/esp-idf/commit/2da2db43fd7e0bcff9e7b95f54f388296bb6f911","https://github.com/espressif/esp-idf/commit/8b4b5d5301815198d177974ffc24848f47748248","https://github.com/espressif/esp-idf/commit/9f713dbc94982d917f2d12964b233cd9efa4aeba","https://github.com/espressif/esp-idf/commit/d51b1076092487e533eadf8b48c9c8579d3a6712","https://github.com/espressif/esp-idf/commit/fba5f995436a3e3139f768b6d8f1a74d5ce1d318"],"weaknesses":["CWE-125"],"ingestedAt":"2026-10-29T20:12:07.131Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/45xxx/CVE-2026-45160.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-45160","state":"PUBLISHED","datePublished":"2026-06-10T00:26:34.381Z","dateUpdated":"2026-06-10T15:10:05.993Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-05-08T20:44:38.965Z"},"containers":{"cna":{"title":"ESF-IDF: Out-of-bounds Read in lwIP DHCP Server Option Parser","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"espressif","product":"esp-idf","versions":[{"version":"= 5.2.7","status":"affected"},{"version":"= 5.3.5","status":"affected"},{"version":"= 5.4.4","status":"affected"},{"version":"= 5.5.4","status":"affected"},{"version":"= 6.0.1","status":"affected"}]}],"references":[{"url":"https://github.com/espressif/esp-idf/security/advisories/GHSA-g764-gwc3-75m5","name":"https://github.com/espressif/esp-idf/security/advisories/GHSA-g764-gwc3-75m5","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/espressif/esp-idf/commit/2bf4dd12002dbae60a4b21abff010ecb2b8ee82b","name":"https://github.com/espressif/esp-idf/commit/2bf4dd12002dbae60a4b21abff010ecb2b8ee82b","tags":["x_refsource_MISC"]},{"url":"https://github.com/espressif/esp-idf/commit/2da2db43fd7e0bcff9e7b95f54f388296bb6f911","name":"https://github.com/espressif/esp-idf/commit/2da2db43fd7e0bcff9e7b95f54f388296bb6f911","tags":["x_refsource_MISC"]},{"url":"https://github.com/espressif/esp-idf/commit/8b4b5d5301815198d177974ffc24848f47748248","name":"https://github.com/espressif/esp-idf/commit/8b4b5d5301815198d177974ffc24848f47748248","tags":["x_refsource_MISC"]},{"url":"https://github.com/espressif/esp-idf/commit/9f713dbc94982d917f2d12964b233cd9efa4aeba","name":"https://github.com/espressif/esp-idf/commit/9f713dbc94982d917f2d12964b233cd9efa4aeba","tags":["x_refsource_MISC"]},{"url":"https://github.com/espressif/esp-idf/commit/d51b1076092487e533eadf8b48c9c8579d3a6712","name":"https://github.com/espressif/esp-idf/commit/d51b1076092487e533eadf8b48c9c8579d3a6712","tags":["x_refsource_MISC"]},{"url":"https://github.com/espressif/esp-idf/commit/fba5f995436a3e3139f768b6d8f1a74d5ce1d318","name":"https://github.com/espressif/esp-idf/commit/fba5f995436a3e3139f768b6d8f1a74d5ce1d318","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"ADJACENT_NETWORK","availabilityImpact":"HIGH","baseScore":6.5,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-125","lang":"en","description":"CWE-125: Out-of-bounds Read","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-06-10T00:26:34.381Z"},"source":{"advisory":"GHSA-g764-gwc3-75m5","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-06-10T15:04:44.784146Z","id":"CVE-2026-45160","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-06-10T15:10:05.993Z"}}]}}}