{"schemaVersion":3,"id":"CVE-2026-112062","aliases":["DEBIAN-CVE-2026-112062"],"status":"published","duplicateOf":null,"title":"lwIP through 2.2.1 Stack Out-of-Bounds Write via mDNS Search Response Handler","description":"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.","dates":{"published":"2026-10-18T12:19:52.023Z","modified":"2026-10-19T17:56:37.505Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6,"severity":"medium","version":"4.0","versionLabel":"v4.0","source":"CVE.org","vector":"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","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":6,"severity":"medium","vector":"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","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":5.9,"severity":"medium","vector":"CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":6,"severity":"medium","vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.9,"severity":"medium","vector":"CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00229,"percentile":0.12978,"severity":"low","asOf":"2026-10-22T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-10-19T00:00:00.000Z","score":0.00218,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00229,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00229,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.00229,"percentile":0.12978}],"last30":[{"date":"2026-10-19T00:00:00.000Z","score":0.00218,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00229,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00229,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.00229,"percentile":0.12978}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_8538B08A8056A546","name":"Exploit Reference (hackmd.io)","source":"reference","url":"https://hackmd.io/@haindpwn/cve-2026-112062-lwip-mdns-search-result-domain-oob-write","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-121","name":"Stack-based Buffer Overflow","description":"A stack-based buffer overflow condition is a condition where the buffer being overwritten is allocated on the stack (i.e., is a local variable or, rarely, a parameter to a function).","type":"weakness","status":"Draft","abstraction":"Variant","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/121.html"}],"affected":[{"vendor":"debian","product":"lwip","name":"lwip","label":"lwip","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/lwip","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"lwip","product":"lwip","name":"lwIP","label":"lwip","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 2.2.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 2.2.1","eol":null,"hubHref":"/vendor/lwip/lwip"}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://hackmd.io/@haindpwn/lwip-mdns-search-result-domain-oob-write","label":"hackmd.io/@haindpwn/lwip-mdns-search-result-domain-oob-write","hostname":"hackmd.io","tags":["Third Party Advisory"]},{"url":"https://github.com/lwip-tcpip/lwip/commit/ab2f69c7d8980c01cdd67ed4b23ac61118ed0205","label":"github.com/lwip-tcpip/lwip/commit/ab2f69c7d8980c01cdd67ed4b23ac61118ed0205","hostname":"github.com","tags":["Patch"]},{"url":"https://github.com/lwip-tcpip/lwip/blob/STABLE-2_2_1_RELEASE/src/apps/mdns/mdns.c","label":"github.com/lwip-tcpip/lwip/blob/STABLE-2_2_1_RELEASE/src/apps/mdns/mdns.c","hostname":"github.com","tags":["Technical Description"]},{"url":"https://www.vulncheck.com/advisories/lwip-through-2.2.1-stack-out-of-bounds-write-via-mdns-search-response-handler","label":"www.vulncheck.com/advisories/…","hostname":"www.vulncheck.com","tags":["Third Party Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-112062","label":"security-tracker.debian.org/tracker/CVE-2026-112062","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://hackmd.io/@haindpwn/cve-2026-112062-lwip-mdns-search-result-domain-oob-write","label":"hackmd.io/@haindpwn/cve-2026-112062-lwip-mdns-search-result-domain-oob-write","hostname":"hackmd.io","tags":["Exploit"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-10-18T12:19:52.023Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-10-19T17:56:37.505Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":34,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T21:45:46.761Z","stale":false,"partial":false}}