Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain adjacent local-link network access
-
DeliveryWait for or trigger device mDNS service search
-
ExploitSend malformed multicast PTR/SRV response
-
ExecutionOverflow 256-byte stack domain buffer
-
ImpactCrash device (denial of service)
Vulnerability Assessment
| Weakness |
CWE
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 | Exploitation requires (1) the lwIP MDNS application to be compiled in and enabled, and (2) the target device to be actively performing an mDNS service search when the attacker's response arrives - this service-search state is the specific trigger (reflected as AT:P) and is the primary limiting factor, not a mere timing nicety. The attacker must be on the same local link (AV:A) to send the multicast mDNS answer, but needs no authentication (PR:N) and no user interaction (UI:N). The concrete malicious inputs are a multicast PTR answer with oversized RDLENGTH, or an SRV answer with RDLENGTH below 6 (less than the fixed SRV header size), which drive an out-of-bounds write against the 256-byte stack domain buffer. Limiting factors: local-link adjacency requirement, dependence on the optional mDNS feature being active and in a search state, and affected versions being lwIP through 2.2.1. |
| Impact | This is a genuine but moderate-priority issue, not a top-tier emergency. The vendor-assigned CVSS 4.0 vector (AV:A/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:H) scores 6.0 and the signals are internally consistent: exploitation is limited to the local link (AV:A) and requires a present attack condition (AT:P) - the target device must be actively performing an mDNS service search when the malicious response arrives. Impact is dominated by availability (VA:H - device crash) with only low integrity impact (VI:L, the bounded stack corruption) and no confidentiality impact (VC:N). Although CWE-121 (stack-based overflow) can in principle enable code execution, both the description ('crashing the device') and the VI:L/VC:N rating indicate the realistic, demonstrated outcome is a denial of service rather than reliable RCE; any RCE claim would be speculation beyond the provided data. No EPSS score was provided and the CVE is NOT in CISA KEV, so there is no evidence of active or widespread exploitation; VulnCheck reporting plus a public technical writeup raise the likelihood of a working exploit emerging, but POC/exploit-code availability is not confirmed in the input. Net: prioritize patching on embedded/IoT fleets reachable from untrusted local networks (guest Wi-Fi, shared LANs) that use lwIP's mDNS service discovery, but this is not a drop-everything remote-unauthenticated-internet-facing RCE. |
| Exploit ScenarioDerived | An attacker on the same local link (e.g., shared office/guest Wi-Fi or LAN segment) waits for or induces an lwIP-based embedded device to perform an mDNS service search, then sends a crafted multicast PTR answer with an oversized RDLENGTH (or an SRV answer with RDLENGTH below 6). The malformed domain data overflows the 256-byte stack buffer in mdns_handle_response, corrupting the stack and crashing the device. A detailed public technical writeup exists, but no confirmed exploit code is identified in the provided data. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 18, 2026
Stack-based out-of-bounds write in lwIP's mDNS response handler affects lwIP through 2.2.1 when the optional mDNS application is compiled in and the device is performing an mDNS service search. An unauthenticated attacker on the same local link can send a multicast PTR answer with an oversized RDLENGTH or an SRV answer with RDLENGTH below 6, corrupting a 256-byte stack buffer and causing a crash with possible limited integrity impact. Patch guidance is available via an upstream commit, no public exploit identified at time of analysis, and no CISA KEV entry is present; the assessed severity is moderate (CVSS 6.0).
RemediationAI
Apply the upstream lwIP fix in commit ab2f69c7d8980c01cdd67ed4b23ac61118ed0205, which adds RDLENGTH validation and bounded pbuf_copy_partial handling; because the input does not specify a tagged release version, confirm the patched release with the vendor advisory rather than assuming a version number. If immediate upgrade is not possible, compile out or disable the lwIP mDNS application/responder on devices that do not need service discovery, or isolate untrusted local-link hosts from devices running mDNS using VLAN/L2 segmentation or port-level restrictions; these workarounds reduce exposure but break mDNS-based discovery and can affect legitimate multicast service operation. Blocking UDP 5353 may reduce attack traffic but also disables mDNS, so prefer patching or feature removal where operationally feasible; see https://www.vulncheck.com/advisories/lwip-through-2.2.1-stack-out-of-bounds-write-via-mdns-search-response-handler.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
lwIP is an embedded TCP/IP stack widely used in constrained devices; its optional mDNS responder parses DNS resource records received from the local link. In mdns_handle_response, the domain-name handling for PTR and SRV answers uses attacker-controlled RDLENGTH to size a copy into a 256-byte stack buffer. A PTR answer with an oversized RDLENGTH or an SRV answer with RDLENGTH less than the 6-byte fixed SRV header can drive the length calculation out of bounds, a CWE-121 stack-based buffer overflow; the upstream patch ab2f69c adds an ans.rd_length < off check and uses pbuf_copy_partial with LWIP_MIN(MDNS_DOMAIN_MAXLEN, ...). The CPE cpe:2.3:a:lwip:lwip:*:*:*:*:*:*:*:* reflects affected lwIP releases through 2.2.1, with practical exposure limited to builds that enable the mDNS application and are in an active service-search state.
Know when Lwip 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
CVSS:4.0/AV:A/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N
Adjacent-only (AV:A); AC:H because the device must be mid-mDNS-service-search; no auth or UI (PR:N/UI:N); outcome is primarily a crash (A:H) with limited stack corruption (I:L) and no data disclosure (C:N).
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
lwIP through 2.2.1 contains a stack out-of-bounds write vulnerability in mdns_handle_response that allows adjacent attackers to corrupt stack memory by sending mDNS responses with invalid domain names. Attackers on the local link can send multicast PTR answers with oversized RDLENGTH or SRV answers with RDLENGTH below 6 during a service search, overflowing a 256-byte stack buffer and crashing the device.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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.
An out-of-bounds write in the MQTT client module of the lwIP TCP/IP stack lets an adversary who controls or impersonates
Double-free memory corruption in the lwIP (Lightweight IP) stack's API layer lets an unauthenticated attacker on an adja
Stack-based buffer overflow in lwIP's SNMPv3 USM handler exposes embedded and IoT devices running versions 2.1.0 through
resolv.c in the DNS resolver in uIP, and dns.c in the DNS resolver in lwIP 1.4.1 and earlier, does not use random values
EUVD-2026-103504
GHSA-7m6v-7jf3-5x4h
NVD
CVE.org
Exploit-DB