Skip to content
COOEY

EXPOSURES › CVE-2026-30872

CVE-2026-30872

CRITICAL
DETAIL
SourceNVD · cve Published2026-03-19 CVSS9.8 Referencehttps://nvd.nist.gov/vuln/detail/CVE-2026-30872 ↗
⚡ RCE SHAME 72/100 rceunpatchedexploited-in-wild

OpenWrt embedded devices running versions prior to 24.10.6 and 25.12.1 are vulnerable to a stack-based buffer overflow in the mdns daemon that allows remote code execution via crafted DNS queries.

This vulnerability enables an unauthenticated attacker to execute arbitrary code on embedded devices by sending a specially crafted PTR query to the multicast DNS service. DIB organizations must verify OpenWrt versions on all network edge devices and apply the 24.10.6 or 25.12.1 patches immediately to prevent compromise of critical infrastructure.

Shame score — The vulnerability allows remote code execution through a simple buffer overflow in a network-facing service, indicating a fundamental lack of input validation in a widely deployed embedded OS.

▸ RECOMMENDED ACTION  Remote code execution — patch the affected products on priority.

DESCRIPTION

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.

AFFECTED FEDRAMP PRODUCTS · 0
No correlated FedRAMP products.