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

- Severity: Critical 9.5 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.50%, higher than 85% of CVEs (2026-12-01)
- Published: 2026-03-19T21:56:23.472Z
- Modified: 2026-11-03T23:17:42.170Z
- Weaknesses: CWE-121
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- openwrt openwrt: >= 25.12.0-rc1, < 25.12.1; < 24.10.6; before 24.10.6; from 25.12.0 before 25.12.1

## Every score

- GitHub_M: CVSS:4.0 9.5 Critical `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`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/openwrt/openwrt/security/advisories/GHSA-mpgh-v658-jqv5> (vendor-advisory)
- <https://github.com/openwrt/openwrt/releases/tag/v24.10.6> (release-notes)
- <https://github.com/openwrt/openwrt/releases/tag/v25.12.1> (release-notes)

## Sources

- CVE List: [CVE-2026-30872](https://www.cve.org/CVERecord?id=CVE-2026-30872), CVE Terms of Use, modified 2026-11-03
- NVD: [CVE-2026-30872](https://nvd.nist.gov/vuln/detail/CVE-2026-30872), Public domain, modified 2026-11-03

---

Page: https://cve.day/CVE-2026-30872 · Whole record: https://cve.day/CVE-2026-30872.json · Rebuilt by cve.day 2026-11-25T22:59:16.198Z
