CVE-2026-30872
CriticalSummary
Projekt OpenWrt to system operacyjny Linux skierowany na urządzenia wbudowane. W wersjach przed 24.10.6 i 25.12.1 występuje podatność na przepełnienie bufora na stosie w funkcji match_ipv6_addresses, wywoływana podczas przetwarzania zapytań PTR dla domen DNS IPv6 (.ip6.arpa) otrzymywanych przez multicast DNS na porcie UDP 5353.
Risk Assessment
Atakujący może dostarczyć dane większe niż 46 bajtów, co prowadzi do zapisu poza granicami bufora i potencjalnie umożliwia zdalne wykonanie kodu. To stwarza poważne zagrożenie dla bezpieczeństwa systemów korzystających z podatnych wersji OpenWrt.
Recommendation
Zaleca się aktualizację do wersji 24.10.6 lub 25.12.1, aby usunąć tę podatność i zabezpieczyć system przed potencjalnymi atakami.
Original NVD description (English source)
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.

