{"vuln_id":"CVE-2026-30872","aliases":["GHSA-mpgh-v658-jqv5"],"description":"mdnsd: Stack buffer overflow in IPv6 reverse DNS lookup","published_at":"2026-03-19T16:29:27Z","modified_at":"2026-03-19T17:29:49Z","first_seen_at":"2026-11-22T13:40:33.560616Z","severity":"critical","severity_source":"ghsa","cvss_score":9.5,"cvss_vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H","cwe":[],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":0.025,"epss_percentile":0.85096,"nvd_status":null,"enriched_at":null,"links":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-30872"},"matched_alias":null,"items":[{"id":12269,"source":{"id":"gh-openwrt","name":"OpenWrt releases + advisories (GitHub openwrt/openwrt tags)"},"title":"GHSA-mpgh-v658-jqv5 / CVE-2026-30872: mdnsd: Stack buffer overflow in IPv6 reverse DNS lookup","summary":"mdnsd: Stack buffer overflow in IPv6 reverse DNS lookup\n\nThe mdns daemon contains a stack buffer overflow vulnerability in the\r\nmatch_ipv6_addresses function when processing PTR queries for IPv6 reverse DNS\r\ndomains (.ip6.arpa). The vulnerability is reachable through normal DNS packet\r\nprocessing when the daemon receives multicast DNS queries on UDP port 5353.\r\nThe global buffer name_buffer, which holds the expanded domain after the call to\r\ndns_consume_name, is processed in the parse_question function, where different DNS\r\nquery types are handled. For TYPE_PTR queries, dns_consume_name checks if\r\nname_buffer ends with a reverse DNS suffix. If a match is found, the strcpy operation is\r\nperformed from name_buffer into a fixed 256-byte stack buffer with the IPv6 reverse DNS\r\nsuffix being excluded. The resultant buffer is then processed by\r\ndns_reply_reverse_ip6_mapping, which calls match_ipv6_addresses.\r\nIn the match_ipv6_addresses function, the reverse IPv6 request is extracted into a\r\nbuffer of length INET6_ADDRSTRLEN (46). Since the length of the data in the 256-byte\r\nbuffer is not checked before extracting the IPv6 address, it is possible for the data to be\r\nlarger than 46 bytes, leading to an out-of-bounds (OOB) write\n\nAffected packages: :OpenWrt\nPatched: OpenWrt 24.10.6, OpenWrt 25.12.1","url":"https://github.com/openwrt/openwrt/security/advisories/GHSA-mpgh-v658-jqv5","published_at":"2026-03-19T16:29:27Z","updated_at":"2026-03-19T17:29:49Z","fetched_at":"2026-11-22T13:40:33.544624Z","severity":"critical","cvss_score":9.5,"epss":0.025,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"openwrt","product":"OpenWrt","vuln_id":"CVE-2026-30872","vuln_ids":["CVE-2026-30872","GHSA-MPGH-V658-JQV5"],"tags":["repo-advisory","","security","repo:openwrt/openwrt"],"cluster_id":11490,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/12269","html":"https://vulnwatch.ve1ve2.com/item/12269"}}]}