Technical impact
lwIP 2.2.0 through 2.2.1 contain a stack out‑of‑bounds write in the mDNS search response handler. An attacker on the local network can send multicast PTR or SRV responses with malformed RDLENGTH values that overflow a 256‑byte stack buffer. The overwritten stack memory can crash the device, resulting in a denial of service. This flaw is an out‑of‑bounds write (CWE‑121) and does not provide remote code execution.
Affected Systems
All lwIP 2.2.1 and earlier implementations are affected. This includes embedded systems, IoT devices, routers, and other network appliances running the lwIP TCP/IP stack that enable mDNS service discovery. The flaw resides in the mdns.c source file of the lwIP project, and the vulnerability applies to any build that includes this code.
Risk and Exploitability
The CVSS base score is 6, indicating moderate severity. The EPSS score is below 1 %, suggesting a low but nonzero exploitation probability. The vulnerability is not listed in the CISA KEV catalog. Because the attack requires only local network traffic, the risk is confined to compromised LAN segments. Exploitation is straightforward: a local attacker can craft and send malicious mDNS packets using standard tools or scripts without authentication or privilege checks before processing the responses.