CVE-2026-30872: OpenWrt Project has a Stack-based Buffer Overflow vulnerability via IPv6 reverse DNS lookup

Published Mar 19, 2026
·
Updated

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 matchipv6addresses 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 namebuffer 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 (INET6ADDRSTRLEN). 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 matchipv6addresses, potentially enabling remote code execution. This issue has been fixed in versions 24.10.6 and 25.12.1.

Affected Software

3 affected components
OpenWrt Project OpenWrt<24.10.6, <25.12.1
OpenWrt OpenWrt<24.10.6
OpenWrt OpenWrt>=25.12.0<25.12.1

Event History

Mar 19, 2026
CVE Published
via MITRE·09:56 PM
Data Sourced
via MITRE·09:56 PM
DescriptionWeakness
Data Sourced
via NVD·10:16 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-30872?

CVE-2026-30872 has a high severity rating due to its potential to cause a stack-based buffer overflow.

2

How do I fix CVE-2026-30872?

To fix CVE-2026-30872, upgrade your OpenWrt installation to version 24.10.6 or later, or version 25.12.1 or later.

3

What versions are affected by CVE-2026-30872?

CVE-2026-30872 affects OpenWrt versions prior to 24.10.6 and 25.12.1.

4

What causes the vulnerability in CVE-2026-30872?

The vulnerability in CVE-2026-30872 is caused by a stack-based buffer overflow in the mdns daemon during IPv6 reverse DNS lookups.

5

Who is affected by CVE-2026-30872?

Users of OpenWrt versions prior to 24.10.6 and 25.12.1 are affected by CVE-2026-30872.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203