CVE-2026-30872
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedOpenWrt 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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceStack-based buffer overflow in the mdns daemon's match_ipv6_addresses function. When processing PTR queries for IPv6 reverse DNS domains (.ip6.arpa) received via multicast DNS on UDP port 5353, the code copies domain name data using strcpy into a fixed 256-byte stack buffer, then extracts the reverse IPv6 request into a 46-byte buffer (INET6_ADDRSTRLEN) without validating input length. An attacker can supply more than 46 bytes, causing an out-of-bounds write and potentially achieving remote code execution.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data< 24.10.6>= 25.12.0, < 25.12.1CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Confirm OpenWrt is the running systemCheck /etc/os-release or run 'cat /etc/os-release' to verify the operating system identifies as OpenWrtAffected if The system is not running OpenWrt (this CVE only affects OpenWrt)
-
Check installed OpenWrt versionRun 'cat /etc/os-release' and look for the VERSION or VERSION_ID field, or use 'opkg list-installed base-files' to get the exact version numberAffected if Version is less than 24.10.6, OR between 25.12.0 and 25.12.1 (inclusive of 25.12.0 and exclusive of 25.12.1)
-
Verify mdns daemon is enabledRun '/etc/init.d/mdns status' or check for the mdns process with 'ps | grep mdns'Affected if The mdns daemon process is running or enabled (the vulnerability only triggers when mdns is active)
-
Check if UDP port 5353 is listeningRun 'netstat -ulnp | grep 5353' or 'ss -ulnp | grep 5353' to see if the mDNS service is bound to UDP port 5353Affected if UDP port 5353 is open and listening (this is the attack vector for receiving malicious PTR queries)
You are affected if your OpenWrt version falls within the vulnerable ranges AND the mdns daemon is running with UDP port 5353 exposed to potential attackers.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scoped24.10.625.12.1
Upgrade to OpenWrt versions 24.10.6 or 25.12.1 which contain the patch. If immediate upgrade is not possible, disable the mDNS daemon or block UDP port 5353 at the network perimeter to prevent external attackers from reaching the vulnerable service.
OpenWrt 24.10.6 or later for the 24.x stable branch; OpenWrt 25.12.1 or later for the 25.x stable branch
- Backup current OpenWrt configuration using sysupgrade -b /tmp/backup.tar.gz
- Download the appropriate fixed firmware image for your device from the official OpenWrt downloads page (https://downloads.openwrt.org/)
- Verify the firmware checksum (SHA256) matches the official release
- Upload the firmware through the LuCI web interface System > Backup/Flash Operations > Flash new firmware, or use CLI: sysupgrade -v /tmp/firmware.bin
- Ensure stable power during the flash process and allow the device to fully reboot
- After reboot, restore configuration if needed: sysupgrade -r /tmp/backup.tar.gz
- Verify the mdns package version is updated and the vulnerability is patched
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation4.0 h
- Implementation2.0 h
- Testing6.0 h
- Review / QA3.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $4,160.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2026-30872 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-30872 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data