{"id":"CVE-2026-30872","published":"2026-03-19T21:56:23Z","modified":"2026-11-03T22:13:23Z","title":"OpenWrt Project has a Stack-based Buffer Overflow vulnerability via IPv6 reverse DNS lookup","vendor":"openwrt","product":"openwrt","tier":"tail","description":{"text":"OpenWrt Project is a Linux operating system targeting embedded devices. In versions prior to 24.10.6 and 25.12.1, the mdns daemon has a Stack-based Buffer Overflow vulnerability in the match_ipv6_addresses function, triggered when processing PTR queries for IPv6 reverse DNS domains (.ip6.arpa) received via multicast DNS on UDP port 5353. During processing, the domain name from name_buffer is copied via strcpy into a fixed 256-byte stack buffer, and then the reverse IPv6 request is extracted into a buffer of only 46 bytes (INET6_ADDRSTRLEN). Because the length of the data is never validated before this extraction, an attacker can supply input larger than 46 bytes, causing an out-of-bounds write. This allows a specially crafted DNS query to overflow the stack buffer in match_ipv6_addresses, potentially enabling remote code execution. This issue has been fixed in versions 24.10.6 and 25.12.1.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.5,"severity":"CRITICAL","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.025,"percentile":0.8509,"provenance":"source"},"cwes":[{"id":"CWE-121","name":"Stack-based Buffer Overflow"}],"references":[{"url":"https://github.com/openwrt/openwrt/security/advisories/GHSA-mpgh-v658-jqv5","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/openwrt/openwrt/releases/tag/v24.10.6","tags":["x_refsource_MISC"]},{"url":"https://github.com/openwrt/openwrt/releases/tag/v25.12.1","tags":["x_refsource_MISC"]}],"priority":{"score":23.7,"factors":[{"name":"EPSS percentile","points":17.02},{"name":"CVSS severity","points":6.65}]},"vendorSlug":"openwrt","affectedVersions":[{"vendor":"openwrt","product":"openwrt","versions":[">= 25.12.0-rc1, < 25.12.1","< 24.10.6"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2026-03-25T03:56:14.448125Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-13249","exploited":false,"provenance":"source"}}