Skip to main content

OpenWrt umdns EUVDEUVD-2026-13247

| CVE-2026-30871 CRITICAL
Stack-based Buffer Overflow (CWE-121)
2026-03-19 GitHub_M
9.5
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach OpenWrt device on local segment
  2. Delivery
    Send crafted mDNS PTR query to UDP 5353
  3. Exploit
    dn_expand inflates non-printable bytes into octal
  4. Execution
    Unbounded strcpy overflows 256-byte stack buffer
  5. Impact
    Crash mdnsd or execute code on router

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2021 - Vulnerable and Outdated Components
ASVS 5.0
V15 - Secure Coding and Architecture Stack buffer bounds checking
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires the OpenWrt umdns (mdnsd) daemon to be installed and listening on UDP 5353, and the attacker must be able to deliver a multicast-DNS packet to it - in practice an adjacent attacker on the same link-local segment, since mDNS is link-local multicast (routed unicast reach would be needed for a truly remote attack). The malicious packet must be a TYPE_PTR query whose name ends in a reverse-DNS suffix (.in-addr.arpa or .ip6.arpa) and contains non-printable ASCII bytes (e.g., 0x01) that dn_expand expands into multi-character octal sequences to exceed the 256-byte stack buffer. No authentication (PR:N) and no user interaction (UI:N) are required. Limiting factors: the mDNS daemon must be present and reachable, and exploitation realistically assumes a local/adjacent network position rather than arbitrary internet-wide access.

Impact

Signals conflict sharply and must be weighed together. The vendor CVSS 4.0 base score is 9.5 (critical) with VC/VI/VA:H and subsequent-system SC/SI/SA:H, reflecting that a successful stack overflow in the mdnsd process on a router could yield code execution and ripple to the networks it serves. Against that, EPSS is only 0.01% (2nd percentile), the CVE is NOT on CISA KEV, and no public exploit was identified in the provided data, so there is no evidence of active or imminent widespread exploitation. The vuln.today Decision label is act_now and a vendor patch exists, which argues for prompt remediation rather than deferral. Two tensions should be flagged: (1) the input CVSS uses AC:H, but the GHSA evidence describes a deterministic, fully attacker-controlled trigger (dn_expand inflating non-printable bytes into multi-character octal), so AC:L is more defensible - the difficulty is in knowing the technique, not an uncontrolled condition; (2) AV:N is listed, yet mDNS is link-local multicast on UDP 5353, so realistic reach is usually an adjacent attacker on the same L2 segment unless the daemon accepts routed unicast. Net: a genuinely high-severity, patch-now memory-corruption bug whose practical priority is tempered by near-zero observed exploitation and probable adjacent-network reach.

Exploit ScenarioDerived

An attacker on the same local or Wi-Fi segment as an OpenWrt device running the umdns (mdnsd) daemon sends a crafted multicast-DNS PTR query to UDP 5353 for a reverse-DNS domain (.in-addr.arpa/.ip6.arpa) containing non-printable bytes. dn_expand inflates those bytes into multi-character octal strings, and the subsequent unbounded strcpy into a 256-byte stack buffer overflows it, corrupting the stack to crash the daemon or potentially execute code. No public exploit was identified at time of analysis, and reliable code execution would depend on the target's stack protections.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – Nov 03, 2026

Stack-based buffer overflow in OpenWrt's umdns/mdnsd daemon allows an unauthenticated attacker who can deliver a multicast DNS packet to UDP port 5353 to corrupt the stack of the daemon process, with assessed high impact on confidentiality, integrity and availability (CVSS 3.1: AV:A/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H). Devices are affected until upgraded to OpenWrt 24.10.6 or 25.12.1; because mDNS is link-local multicast, realistic exploitation assumes an adjacent attacker on the same network segment rather than arbitrary internet reach, and the daemon must be installed and listening. No public exploit has been identified at the time of analysis and EPSS is very low (0.01%, 2nd percentile), but the internal priority label is act_now given the complete loss of confidentiality, integrity and availability assumed should the overflow be triggered successfully; the low exploitation-likelihood signal and the high severity signal therefore conflict and should be weighed together.

Earlier versions of this analysis (1)
v1 Mar 19, 2026 - 22:00 CVSS 9.8

RemediationAI

Upgrade to OpenWrt 24.10.6 (for the 24.10 stable series) or 25.12.1 (for the 25.12 series), which the vendor lists as containing the fix for the umdns DNS PTR query stack buffer overflow; 24.10.6 is the current stable firmware and can be obtained via the firmware selector or https://downloads.openwrt.org/releases/24.10.6/targets/, with release notes at https://github.com/openwrt/openwrt/releases/tag/v24.10.6 and the advisory at https://github.com/openwrt/openwrt/security/advisories/GHSA-7c3j-f7w2-p8f6. Where an immediate firmware upgrade is not possible, the actionable compensating control is to remove or disable the umdns/mdnsd package (opkg remove umdns or disabling its init service), with the trade-off that mDNS/Bonjour service discovery on the device stops working; alternatively, block inbound UDP 5353 from untrusted network segments, accepting that this also breaks legitimate cross-segment mDNS discovery and may be bypassed by an attacker already on the same link-local segment, since mDNS traffic is local multicast by design.

Affected VersionsENISA

OpenWRT 25.12.0-rc1, < 25.12.1
OpenWRT < 24.10.6

Affected Packages

euvd openwrt fix: 24.10.6
euvd openwrt_25_12_0_rc1 fix: 25.12.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw is a classic stack-based buffer overflow (CWE-121) in the OpenWrt umdns (mdnsd) DNS/mDNS responder. Incoming DNS packets arrive via dns_handle_packet and are validated in dns_consume_name, which uses dn_expand to decompress the queried domain name into a fixed 8096-byte global buffer, name_buffer (MAX_NAME_LEN). The parse_question function later reuses that same global buffer; for TYPE_PTR queries it checks whether the name ends in a reverse-DNS suffix (.in-addr.arpa or .ip6.arpa) and, on a match, performs an unbounded strcpy from name_buffer into a fixed 256-byte stack buffer. The overflow arises from dn_expand's escaping behaviour: non-printable ASCII bytes such as 0x01 are re-encoded as multi-character octal sequences (\001, i.e. 0x5C 0x30 0x30 0x31), so a crafted packet's expanded name can be far longer than its wire representation and far exceed the 256-byte destination. The vulnerability is reachable through ordinary multicast DNS packet processing on UDP 5353, meaning the parsing path is exercised by normal daemon operation rather than by any special administrative interface.

Know when Openwrt gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 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
vuln.today AI 9.6 CRITICAL

mDNS is link-local multicast so AV:A; the octal-inflation trigger is fully attacker-controlled, so AC:L not AC:H; unauthenticated (PR:N), and router compromise can affect served hosts so S:C.

3.1 AV:A/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
4.0 AV:A/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
High
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
High
Subsequent system: Integrity
High
Subsequent system: Availability
High

Lifecycle Timeline

5
Analysis Updated
Nov 03, 2026 - 23:30 vuln.today
v2 - CVSS changed
CVSS changed
Nov 03, 2026 - 23:22 NVD
9.8 (CRITICAL) 9.5 (CRITICAL)
Analysis Updated
Apr 16, 2026 - 05:49 EUVD-patch-fix
executive summary
Patch available
Apr 16, 2026 - 05:29 EUVD
25.12.1,24.10.6
CVE Published
Mar 19, 2026 - 21:49 nvd
CRITICAL 9.8

DescriptionCVE.org

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 parse_question function. The issue is triggered by PTR queries for reverse DNS domains (.in-addr.arpa and .ip6.arpa). DNS packets received on UDP port 5353 are expanded by dn_expand into an 8096-byte global buffer (name_buffer), which is then copied via an unbounded strcpy into a fixed 256-byte stack buffer when handling TYPE_PTR queries. The overflow is possible because dn_expand converts non-printable ASCII bytes (e.g., 0x01) into multi-character octal representations (e.g., \001), significantly inflating the expanded name beyond the stack buffer's capacity. A crafted DNS packet can exploit this expansion behavior to overflow the stack buffer, making the vulnerability reachable through normal multicast DNS packet processing. This issue has been fixed in versions 24.10.6 and 25.12.1.

Executive ViewAI

Why It Matters

OpenWrt networking devices running the umdns/mdnsd daemon are vulnerable to a critical stack-based buffer overflow that allows an unauthenticated attacker on the same network segment to fully compromise the device's confidentiality, integrity, and availability. Leadership should prioritize patching these devices-especially in branch and remote office environments-because successful exploitation could lead to data breaches, operational disruption, and loss of trust.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.0%
Top 98% exploitable
Prevalence
Medium
popular router firmware, but umdns mDNS daemon is not installed by default
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

48
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +48
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

A stack-based buffer overflow occurs when a program writes more data to a buffer located on the stack than it was allocated to hold.

CVE-2024-20017 CRITICAL POC
9.8 Mar 04

In wlan service, there is a possible out of bounds write due to improper input validation. Rated critical severity (CVSS

CVE-2026-61876 CRITICAL POC
9.4 Jul 12

Stored cross-site scripting in OpenWrt's LuCI web interface lets an adjacent-network attacker inject executable HTML/Jav

CVE-2020-7982 HIGH POC
8.1 Mar 16

An issue was discovered in OpenWrt 18.06.0 to 18.06.6 and 19.07.0, and LEDE 17.01.0 to 17.01.7. Rated high severity (CVS

CVE-2019-15513 HIGH POC
7.5 Aug 23

An issue was discovered in OpenWrt libuci (aka Library for the Unified Configuration Interface) before 15.05.1 as used o

CVE-2018-19630 MEDIUM POC
6.1 Nov 28

cgi_handle_request in uhttpd in OpenWrt through 18.06.1 and LEDE through 17.01 has unauthenticated reflected XSS via the

CVE-2025-20654 CRITICAL
9.8 Apr 07

In wlan service, there is a possible out of bounds write due to an incorrect bounds check. Rated critical severity (CVSS

CVE-2019-5102 MEDIUM POC
5.9 Nov 18

An exploitable information leak vulnerability exists in the ustream-ssl library of OpenWrt, versions 18.06.4 and 15.05.1

CVE-2019-5101 MEDIUM POC
5.9 Nov 18

An exploitable information leak vulnerability exists in the ustream-ssl library of OpenWrt, versions 18.06.4 and 15.05.1

CVE-2025-20674 CRITICAL
9.8 Jun 02

Remote privilege escalation in Android WLAN AP driver via packet injection.

CVE-2025-20683 CRITICAL
9.8 Jul 08

In wlan AP driver, there is a possible out of bounds write due to an incorrect bounds check. This could lead to local es

CVE-2025-20682 CRITICAL
9.8 Jul 08

In wlan AP driver, there is a possible out of bounds write due to an incorrect bounds check. This could lead to local es

CVE-2025-20681 CRITICAL
9.8 Jul 08

In wlan AP driver, there is a possible out of bounds write due to an incorrect bounds check. This could lead to local es

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy