{"id":"CVE-2026-64860","summary":"espressif/mdns has Uncontrolled Recursion in mDNS Name Decompression","details":"ESP-Protocols is a collection of protocol components for ESP-IDF. Prior to mDNS version 1.11.2, the `mdns` component follows DNS name-compression pointers recursively when parsing fully qualified domain names (FQDNs) in inbound mDNS packets without capping pointer-follow depth in `mdns_utils_read_fqdn()`. An unauthenticated attacker on the same link-local network can send a crafted packet to UDP port 5353 on an `ESP-IDF` device using `espressif/mdns` with mDNS enabled. Deep recursion exhausts the fixed-size stack of the mDNS FreeRTOS task, causing a controlled panic and reboot; persistent malicious traffic can cause a crash loop. No confidentiality or integrity impact has been demonstrated, and remote code execution is not claimed. This issue is fixed in mDNS version 1.11.2.","aliases":["GHSA-7fpr-vjw5-2c86"],"modified":"2026-11-14T07:06:10.072171819Z","published":"2026-10-30T13:19:38.980Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-400","CWE-674"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64860.json"},"references":[{"type":"WEB","url":"https://github.com/espressif/esp-protocols/releases/tag/mdns-v1.11.2"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64860.json"},{"type":"ADVISORY","url":"https://github.com/espressif/esp-protocols/security/advisories/GHSA-7fpr-vjw5-2c86"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-64860"},{"type":"FIX","url":"https://github.com/espressif/esp-protocols/commit/95c882c7d7d661d28d4685bd052b024154a8402f"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/espressif/esp-protocols","events":[{"introduced":"0"},{"fixed":"4fb97b209fbc695cc3019e0f1ef7937f766e6503"},{"fixed":"95c882c7d7d661d28d4685bd052b024154a8402f"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"fixed":"1.11.2"}],"source":"AFFECTED_FIELD","strategy":"StringRangeExpression"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"95c882c7d7d661d28d4685bd052b024154a8402f"}]},{"original_tag":"mdns-v1.11.2","range":[{"fixed":"4fb97b209fbc695cc3019e0f1ef7937f766e6503"}],"source":"REFERENCES_TAG"}]}}],"versions":["lws-v4.3.3_2","asio-v1.32.0_2","websocket-v1.7.0","eppp-v1.1.5","mdns-v1.11.1","mosq-v2.0.20_7","mdns-v1.11.0","modem-v2.0.1","mdns-v1.10.1","mdns-v1.10.0","asio-v1.32.0_1","net_connect-v0.1.1","net_connect-v0.1.0","websocket-v1.6.1","mosq-v2.0.20_6","mqtt_cxx-v0.5.0","lws-v4.3.3_1","eppp-v1.1.4","mosq-v2.0.20_5","modem-v2.0.0","mdns-v1.9.1","websocket-v1.6.0","mdns-v1.9.0","console_cmd_ping-v1.2.0","eppp-v1.1.3","modem-v1.4.0","eppp-v1.1.2","eppp-v1.1.1","eppp-v1.1.0","mosq-v2.0.20_4","eppp-v1.0.1","websocket-v1.5.0","eppp-v1.0.0","mosq-v2.0.20_3","eppp-v0.3.1","eppp-v0.3.0","esp_dns-v1.0.0","mdns-v1.8.2","mdns-v1.8.1","mosq-v2.0.20_2","mdns-v1.8.0","lws-v4.3.3","mdns-v1.7.0","mdns-v1.5.3","mdns-v1.6.0","websocket-v1.4.0","mdns-v1.5.2","asio-v1.32.0","mdns-v1.5.1","mdns-v1.5.0","mdns-v1.4.3","sock_utils-v0.2.2","sock_utils-v0.2.1","mosq-v2.0.20_1","mosq-v2.0.20","sock_utils-v0.2.0","modem-v1.3.0","modem-v1.2.1","console_cmd_mqtt-v1.0.0","mdns-v1.4.2","mdns-v1.4.1","sock_utils-v0.1.0","modem-v1.2.0","websocket-v1.3.0","mosq-v2.0.28_0","wifi_remote-v0.4.0","mdns-v1.4.0","console_cmd_ping-v1.1.0","wifi_remote-v0.2.2","mqtt_cxx-v0.4.0","wifi_remote-v0.3.0","eppp-v0.2.0","console_cmd_wifi-v1.1.0","mdns-v1.3.2","wifi_remote-v0.2.3","eppp-v0.1.1","mdns-v1.3.1","wifi_remote-v0.2.1","eppp-v0.1.0","wifi_remote-v0.2.0","tls_cxx-v0.1.0","mdns-v1.3.0","eppp-v0.0.1","wifi_remote-v0.1.12","websocket-v1.2.3","mdns-v1.2.5","mdns-v1.2.4","modem-v1.1.0","console_cmd_iperf-v1.0.0","websocket-v1.2.2","mqtt_cxx-v0.3.0","mdns-v1.2.3","console_cmd_ifconfig-v1.0.1","console_cmd_wifi-v1.0.1","console_cmd_wifi-v1.0.0","modem-v1.0.5","console_cmd_ifconfig-v1.0.0","console_cmd_ping-v1.0.0","websocket-v1.2.1","websocket-v1.2.0","console_simple_init-v1.1.0","mdns-v1.2.2","modem-v1.0.4","mqtt_cxx-v0.2.0","asio-v1.28.0_0","console_simple_init-v1.0.2","console_simple_init-v1.0.1","console_simple_init-v1.0.0","modem-v1.0.2","modem-v1.0.3","mdns-v1.2.1","websocket-v1.1.0","websocket-v1.0.1","mdns-v1.2.0","modem-v1.0.1","mdns-v1.1.0","websocket-v1.0.0","modem-v0.1.9","modem-v0.1.8","modem-v0.1.5","modem-v0.1.6","modem-v0.1.7"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64860.json","vanir_signatures":[{"deprecated":false,"digest":{"line_hashes":["223584292941908411279744104592232727292","256090253997879800596597711124861370992","217618366028366153275233190747674668757","157988002676873967396507863166547276459","119388505931981733806484803422932888713","276410836285159873819039953799779968888","160161010373726023079409930455649943468","121129435498745880781931804618254143749"],"threshold":0.9},"id":"CVE-2026-64860-3fcacbc5","signature_type":"Line","signature_version":"v1","source":"https://github.com/espressif/esp-protocols/commit/95c882c7d7d661d28d4685bd052b024154a8402f","target":{"file":"components/mdns/mdns_receive.c"}},{"signature_type":"Function","signature_version":"v1","source":"https://github.com/espressif/esp-protocols/commit/95c882c7d7d661d28d4685bd052b024154a8402f","target":{"file":"components/mdns/mdns_debug.c","function":"dbg_packet"},"deprecated":false,"digest":{"function_hash":"120428200114544260468753672070414299662","length":7442},"id":"CVE-2026-64860-46484fbc"},{"signature_version":"v1","source":"https://github.com/espressif/esp-protocols/commit/95c882c7d7d661d28d4685bd052b024154a8402f","target":{"file":"components/mdns/mdns_debug.c"},"deprecated":false,"digest":{"threshold":0.9,"line_hashes":["129232982685719687663475013933784796650","210815030521409571934633633159516175831","157234596217061903244639367952849136966","181905578947286997708148494995923851808","148383575255558196580488384519532512929","22640732353504641262049780022940676306","16346495572260460103495709143121407975","307317146092953428102169159735012266908","119067540140583173740568304800516399138","190641964796251727778605791601587714004"]},"id":"CVE-2026-64860-bb01b7b9","signature_type":"Line"},{"id":"CVE-2026-64860-df67843d","signature_type":"Function","signature_version":"v1","source":"https://github.com/espressif/esp-protocols/commit/95c882c7d7d661d28d4685bd052b024154a8402f","target":{"file":"components/mdns/mdns_receive.c","function":"mdns_parse_packet"},"deprecated":false,"digest":{"function_hash":"176518812490190807143120559947852023188","length":17263}},{"source":"https://github.com/espressif/esp-protocols/commit/95c882c7d7d661d28d4685bd052b024154a8402f","target":{"file":"components/mdns/mdns_utils.c","function":"mdns_utils_read_fqdn"},"deprecated":false,"digest":{"function_hash":"141910360898413595635679138020551481446","length":1483},"id":"CVE-2026-64860-ea45bf4e","signature_type":"Function","signature_version":"v1"},{"signature_type":"Line","signature_version":"v1","source":"https://github.com/espressif/esp-protocols/commit/95c882c7d7d661d28d4685bd052b024154a8402f","target":{"file":"components/mdns/mdns_utils.c"},"deprecated":false,"digest":{"line_hashes":["10831202668032272044089327775149127223","36409021190210191702921163812409122604","104452154455114365371682691168135195278","129559797530635470536542662309583959515","269811229339749700561453364329848856740","278355005702233454081526517251281695464","90134187889331135335502910842781183822","335211155320374955661878979691484789544","67954095002731255622820699762919959306","190001934543201647518036193030265335404","74391277992465089807490798723088473017","62076534707871364487354389242128050690"],"threshold":0.9},"id":"CVE-2026-64860-ef1751e5"}],"vanir_signatures_modified":"2026-11-14T07:06:10Z"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}