{"id":"CVE-2026-47183","aliases":["CVE-2026-47183","GHSA-phvx-9mgw-67r5","PYSEC-2026-3437"],"related":[],"kind":"vulnerability","state":"published","title":"Zeroconf: Unbounded exception-dedup state retains packet buffers via traceback frame locals, enabling LAN-local memory exhaustion","summary":"Zeroconf is a pure Python implementation of multicast DNS service discovery. Prior to 0.149.6, DNSIncoming._log_exception_debug and the four QuietLogger exception-dedup methods stored an unbounded _seen_logs dictionary keyed by attacker-influenced IncomingDecodeError messages, retaining sys.exc_info() tracebacks whose frame locals kept raw packet self.data buffers and allowing unauthenticated hosts on the local link over UDP/5353 (224.0.0.251 / ff02::fb) to drive memory growth until mDNS-dependent features degrade or the process is OOM-killed. This issue is fixed in version 0.149.6.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Zeroconf is a pure Python implementation of multicast DNS service discovery. Prior to 0.149.6, DNSIncoming._log_exception_debug and the four QuietLogger exception-dedup methods stored an unbounded _seen_logs dictionary keyed by attacker-influenced IncomingDecodeError messages, retaining sys.exc_info() tracebacks whose frame locals kept raw packet self.data buffers and allowing unauthenticated hosts on the local link over UDP/5353 (224.0.0.251 / ff02::fb) to drive memory growth until mDNS-dependent features degrade or the process is OOM-killed. This issue is fixed in version 0.149.6.","source":"cvelist"},{"lang":"en","text":"### Impact\n`DNSIncoming._log_exception_debug` and the four `QuietLogger` exception-dedup methods stored an unbounded `_seen_logs` dict keyed by `str(sys.exc_info()[1])`. The seven `IncomingDecodeError` messages raised from `_read_name` / `_decode_labels_at_offset` (RFC 6762 §18 name-decoding error paths) all embed `self.source` — the peer's ephemeral source port, varying per packet — plus byte `offset` and pointer `link`, so every attacker-influenced combination produced a fresh dedup key. The stored value was the full `sys.exc_info()` triple, whose traceback's frame locals retained `self.data` (the raw inbound packet, up to 8966 bytes per RFC 6762 §17). Each unique malformed packet therefore pinned ~9 KB until process exit.\n\nAny unauthenticated host on the local link (UDP/5353, `224.0.0.251` / `ff02::fb`) can drive memory growth at line rate; that includes a guest on the same Wi-Fi, a compromised IoT device, or a container on a shared bridge. On memory-constrained deployments (Home Assistant on Raspberry-Pi-class hardware is the canonical victim) sustained traffic trivially OOM-kills the process, and mDNS-dependent features (HomeKit, Chromecast/Matter, AirPlay, printers) degrade or fail.\n\n### Patches\nFixed in `zeroconf` 0.149.6 ([PR #1717](https://github.com/python-zeroconf/python-zeroconf/pull/1717)). Upgrade to `>= 0.149.6`.\n\n### Workarounds\nThere is no in-process workaround; upgrading is the fix. Otherwise, restrict mDNS (UDP/5353) to trusted Layer-2 segments via AP client isolation, guest-network separation, or host firewall rules.\n\n### Resources\n- [PR #1717](https://github.com/python-zeroconf/python-zeroconf/pull/1717), fix\n- [Issue #1714](https://github.com/python-zeroconf/python-zeroconf/issues/1714), public tracking issue\n- [RFC 6762 §17](https://www.rfc-editor.org/rfc/rfc6762#section-17), [RFC 6762 §18](https://www.rfc-editor.org/rfc/rfc6762#section-18), [CWE-400](https://cwe.mitre.org/data/definitions/400.html)","format":"markdown","source":"ghsa"}],"published":"2026-05-29T20:13:08.000Z","modified":"2026-08-17T19:50:03.170Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":6.5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":6.5,"rating":"MEDIUM"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-400"],"affected":[{"ranges":[{"version":"< 0.149.6","status":"affected"}],"vendor":"python-zeroconf","product":"python-zeroconf","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.149.6"}],"ecosystem":"PyPI","package":"zeroconf","purl":"pkg:pypi/zeroconf","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"0.149.6"}],"vendor":"paulsm","product":"zeroconf","cpe":"cpe:2.3:a:paulsm:zeroconf:*:*:*:*:*:python:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.149.6"}],"ecosystem":"PyPI","package":"zeroconf","purl":"pkg:pypi/zeroconf","source":"pysec"}],"references":[{"url":"https://github.com/python-zeroconf/python-zeroconf/security/advisories/GHSA-phvx-9mgw-67r5","tags":["patch","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/python-zeroconf/python-zeroconf/issues/1714","tags":["issue-tracking","patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/python-zeroconf/python-zeroconf/pull/1717","tags":["issue-tracking","patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/python-zeroconf/python-zeroconf/commit/95561e28b24922358f1991e38e3a86d70d72dcec","tags":["patch","x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/python-zeroconf/python-zeroconf/releases/tag/0.149.6","tags":["release-notes","x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/python-zeroconf/python-zeroconf","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/zeroconf","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-phvx-9mgw-67r5","tags":["advisory"],"sources":["pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-47183","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-07-17T21:08:53.994Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-47183","url":"https://www.cve.org/CVERecord?id=CVE-2026-47183","licence":"CVE Terms of Use","modified":"2026-07-17T23:15:36.656Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-phvx-9mgw-67r5","url":"https://github.com/advisories/GHSA-phvx-9mgw-67r5","licence":"CC-BY-4.0","modified":"2026-07-13T16:43:37.806Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-47183","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-47183","licence":"Public domain","modified":"2026-08-17T19:50:03.170Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-3437","url":"https://osv.dev/vulnerability/PYSEC-2026-3437","licence":"CC-BY-4.0","modified":"2026-07-13T16:32:47.255Z"}],"updatedAt":"2026-11-25T22:59:28.510Z","epss":{"score":0.00238,"percentile":0.15853,"date":"2026-12-01T12:00:22.000Z"}}