Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. zeroconf
  4. ›
  5. CVE-2026-47183

CVE-2026-47183: zeroconf: Unbounded exception-dedup state retains packet buffers via traceback frame locals, enabling LAN-local memory exhaustion

May 29, 2026

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.

Any 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.

References

  • github.com/advisories/GHSA-phvx-9mgw-67r5
  • github.com/python-zeroconf/python-zeroconf/issues/1714
  • github.com/python-zeroconf/python-zeroconf/pull/1717
  • github.com/python-zeroconf/python-zeroconf/security/advisories/GHSA-phvx-9mgw-67r5
  • nvd.nist.gov/vuln/detail/CVE-2026-47183

Code Behaviors & Features

Detect and mitigate CVE-2026-47183 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.149.6

Fixed versions

  • 0.149.6

Solution

Upgrade to version 0.149.6 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-400: Uncontrolled Resource Consumption

Source file

pypi/zeroconf/CVE-2026-47183.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 30 May 2026 12:18:06 +0000.