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

- Priority: **Prioritise**
- Reason: Severe, CVSS 9.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 3% (FIRST, 04-12-2026)
- Next step: Check applicability: affected before 24.10.6, 25.12.1 (CNA); fix release not confirmed
- Status: published
- Published: 2026-03-19 · Modified: 2026-11-03
- Record: https://cvemate.com/vulnerability/CVE-2026-30872 · JSON: https://cvemate.com/vulnerability/CVE-2026-30872/json

## 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.
```

## Signals

- CVSS: 9.8 critical (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 2.5%, percentile 85.229%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- openwrt openwrt: ≥ 25.12.0-rc1, \< 25.12.1 \| \< 24.10.6 \| ≥ 25.12.0, \< 25.12.1

## References

- <https://github.com/openwrt/openwrt/security/advisories/GHSA-mpgh-v658-jqv5>
- <https://github.com/openwrt/openwrt/releases/tag/v24.10.6>
- <https://github.com/openwrt/openwrt/releases/tag/v25.12.1>

---

Data as of 2026-12-05T05:02:54.581Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
