PatchSiren cyber security CVE debrief
CVE-2026-30871 openwrt CVE debrief
A critical vulnerability was found in OpenWrt, a Linux operating system for embedded devices. The mdns daemon has a stack-based buffer overflow in the parse_question function, triggered by PTR queries for reverse DNS domains. This issue has been fixed in versions 24.10.6 and 25.12.1. The vulnerability allows potential remote code execution through crafted DNS packets. Defenders should assess exposure and prioritize patching vulnerable versions, verifying OpenWrt version and patch level, and monitoring DNS packet processing for potential exploitation attempts.
- Vendor
- openwrt
- Product
- Unknown
- CVSS
- CRITICAL 9.5
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-03-19
- Original CVE updated
- 2026-11-03
- Advisory published
- 2026-03-19
- Advisory updated
- 2026-11-03
Who should care
Defenders responsible for OpenWrt-based systems, particularly those using versions prior to 24.10.6 and 25.12.1, should assess exposure and prioritize patching. This includes verifying OpenWrt version and patch level, and monitoring DNS packet processing for potential exploitation attempts. Security teams should review compensating controls for exposed systems while remediation is scheduled and verified.
Why it matters
A critical vulnerability in OpenWrt's mdns daemon can be triggered by PTR queries for reverse DNS domains, allowing potential remote code execution. Defenders should prioritize patching vulnerable versions.
- Potential remote code execution through crafted DNS packets
- Verification of OpenWrt version and patch level is necessary
- Exposure to multicast DNS packet processing may be affected
- Remediation requires updating to fixed OpenWrt versions
Technical summary
The mdns daemon in OpenWrt has a stack-based buffer overflow vulnerability in the parse_question function, triggered by PTR queries for reverse DNS domains. The issue is caused by the expansion of DNS packets received on UDP port 5353 into an 8096-byte global buffer, which is then copied into a fixed 256-byte stack buffer when handling TYPE_PTR queries. This overflow is possible because dn_expand converts non-printable ASCII bytes into multi-character octal representations, significantly inflating the expanded name beyond the stack buffer's capacity.
Defensive priority
Defenders should prioritize patching vulnerable OpenWrt versions, as the vulnerability is reachable through normal multicast DNS packet processing.
Recommended defensive actions
- Patch OpenWrt versions prior to 24.10.6 and 25.12.1
- Verify and apply vendor-provided fixes
- Monitor DNS packet processing for potential exploitation attempts
- Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up
- Review the supplied official advisory or CVE record to validate affected scope, severity, and vendor guidance
- Plan vendor-supported updates or mitigations through normal change control where exposure is confirmed
- Review compensating controls for exposed systems while remediation is scheduled and verified
Evidence notes
The vulnerability is caused by the expansion of DNS packets received on UDP port 5353 into an 8096-byte global buffer, which is then copied into a fixed 256-byte stack buffer when handling TYPE_PTR queries.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-30871 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-30871
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-30871 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-30871
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Source reference
Unverified legacy reference
URL: https://github.com/openwrt/openwrt/releases/tag/v24.10.6
[email protected] - Release Notes
-
Source reference
Unverified legacy reference
URL: https://github.com/openwrt/openwrt/releases/tag/v25.12.1
[email protected] - Release Notes
-
Source reference
Unverified legacy reference
URL: https://github.com/openwrt/openwrt/security/advisories/GHSA-7c3j-f7w2-p8f6
[email protected] - Vendor Advisory
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.