# CVE-2026-112062: lwIP 2.2.0 - 2.2.1 Stack Out-of-Bounds Write via mDNS Search Response Handler

- Severity: Medium 6.0 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 15% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-18T12:19:52.023Z
- Modified: 2026-11-24T17:18:12.140Z
- Weaknesses: CWE-121
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulnCheck

## Description

lwIP 2.2.0 through 2.2.1, fixed in commit ab2f69c, 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.

(As written by CVE List.)

## Affected

- lwIP lwIP: from 2.2.0 up to 2.2.1 (not affected: ab2f69c7d8980c01cdd67ed4b23ac61118ed0205)

## Every score

- VulnCheck: CVSS:4.0 6.0 Medium `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`
- VulnCheck: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H`

## References

- <https://hackmd.io/@haindpwn/cve-2026-112062-lwip-mdns-search-result-domain-oob-write> (exploit)
- <https://hackmd.io/@haindpwn/lwip-mdns-search-result-domain-oob-write> (third-party-advisory)
- <https://github.com/lwip-tcpip/lwip/commit/ab2f69c7d8980c01cdd67ed4b23ac61118ed0205> (patch)
- <https://github.com/lwip-tcpip/lwip/blob/STABLE-2_2_1_RELEASE/src/apps/mdns/mdns.c> (technical-description)
- <https://www.vulncheck.com/advisories/lwip-through-2.2.1-stack-out-of-bounds-write-via-mdns-search-response-handler> (third-party-advisory)
- <https://www.legacymind.de/en/knowledge/lwip-cves#cve-2026-112062> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-112062](https://www.cve.org/CVERecord?id=CVE-2026-112062), CVE Terms of Use, modified 2026-11-24
- NVD: [CVE-2026-112062](https://nvd.nist.gov/vuln/detail/CVE-2026-112062), Public domain, modified 2026-11-24

---

Page: https://cve.day/CVE-2026-112062 · Whole record: https://cve.day/CVE-2026-112062.json · Rebuilt by cve.day 2026-11-25T22:59:45.179Z
