{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-45160","id":"CVE-2026-45160","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 decl","descriptionLong":"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.","published":"2026-06-10T00:26:34.381Z","updated":"2026-11-11T13:25:06.537063196Z","reserved":"2026-05-08T20:44:38.965Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"github.com"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"OSV"}],"rating":"medium","products":["espressif esp-idf"],"affectedProducts":[{"vendor":"espressif","product":"esp-idf","defaultStatus":null,"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"}],"platforms":[]}],"packages":[],"cwes":["CWE-125"],"aliases":["GHSA-g764-gwc3-75m5"],"references":[{"url":"https://github.com/espressif/esp-idf/security/advisories/GHSA-g764-gwc3-75m5","tags":["x_refsource_CONFIRM","Mitigation","Patch","Vendor Advisory","advisory"]},{"url":"https://github.com/espressif/esp-idf/commit/2bf4dd12002dbae60a4b21abff010ecb2b8ee82b","tags":["x_refsource_MISC","Patch","fix"]},{"url":"https://github.com/espressif/esp-idf/commit/2da2db43fd7e0bcff9e7b95f54f388296bb6f911","tags":["x_refsource_MISC","Patch","fix"]},{"url":"https://github.com/espressif/esp-idf/commit/8b4b5d5301815198d177974ffc24848f47748248","tags":["x_refsource_MISC","Patch","fix"]},{"url":"https://github.com/espressif/esp-idf/commit/9f713dbc94982d917f2d12964b233cd9efa4aeba","tags":["x_refsource_MISC","Patch","fix"]},{"url":"https://github.com/espressif/esp-idf/commit/d51b1076092487e533eadf8b48c9c8579d3a6712","tags":["x_refsource_MISC","Patch","fix"]},{"url":"https://github.com/espressif/esp-idf/commit/fba5f995436a3e3139f768b6d8f1a74d5ce1d318","tags":["x_refsource_MISC","Patch","fix"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45160.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45160","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00246,"epssPercentile":0.1604,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-45160","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45160","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-45160","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-45160","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}