Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
openwrt openwrt
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

OpenWrt是OpenWrt开源的一套针对嵌入式设备的Linux操作系统。 OpenWrt 24.10.6之前版本和25.12.1之前版本存在安全漏洞,该漏洞源于mdns守护进程的match_ipv6_addresses函数存在栈缓冲区溢出,可能导致远程代码执行。

AI Predicted 8.8 Difficulty: Easy EPSS 1.09% · P64

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-30872

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
OpenWrt Project has a Stack-based Buffer Overflow vulnerability via IPv6 reverse DNS lookup
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
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
Source: CVE Program / CVE List V5
Vulnerability Type
栈缓冲区溢出
Source: CVE Program / CVE List V5
Vulnerability Title
OpenWrt 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
OpenWrt是OpenWrt开源的一套针对嵌入式设备的Linux操作系统。 OpenWrt 24.10.6之前版本和25.12.1之前版本存在安全漏洞,该漏洞源于mdns守护进程的match_ipv6_addresses函数存在栈缓冲区溢出,可能导致远程代码执行。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
openwrt openwrt >= 25.12.0-rc1, < 25.12.1 -

II. Public POCs for CVE-2026-30872

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-30872

请登录查看更多情报信息。

Vendor Advisories for CVE-2026-30872 (1)

Vendor Pages for CVE-2026-30872 (2)

Same Patch Batch · openwrt · 2026-03-19 · 5 CVEs total

CVE-2026-32721 8.6 HIGH LuCI luci-mod-network: Possible XSS attack in WiFi scan on Joining Wireless Client modal
CVE-2026-30871 OpenWrt Project has Stack-based Buffer Overflow in DNS PTR Query
CVE-2026-30873 OpenWrt Project jsonpath: Memory leak when processing strings, labels, and regexp tokens
CVE-2026-30874 OpenWrt procd PATH Environment Variable Filter Bypass via Incorrect String Comparison Lead

IV. Related Vulnerabilities

V. Comments for CVE-2026-30872

No comments yet


Leave a comment