Skip to main content

python-zeroconf EUVDEUVD-2026-45248

| CVE-2026-47183 MEDIUM
Uncontrolled Resource Consumption (CWE-400)
2026-05-29 https://github.com/python-zeroconf/python-zeroconf GHSA-phvx-9mgw-67r5 PYSEC-2026-3437
6.5
CVSS 3.1 · Vendor: https://github.com/python-zeroconf/python-zeroconf
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain L2 adjacency (same LAN, Wi-Fi, or container bridge)
  2. Delivery
    Send malformed mDNS packets to 224.0.0.251:5353 with rotating source ports and offsets
  3. Exploit
    Each packet triggers IncomingDecodeError with unique exception string
  4. Execution
    Unique key inserted into unbounded _seen_logs dict retaining full traceback and ~9 KB packet buffer
  5. Persist
    Heap exhausted across sustained flood
  6. Impact
    OOM-kill zeroconf process, disabling mDNS-dependent services

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource consumption limits
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The target must be running python-zeroconf (pip package zeroconf) in a version prior to 0.149.6 with an active mDNS listener bound to UDP/5353. The attacker must have Layer-2 network adjacency to the target - physically on the same LAN segment, same Wi-Fi SSID (without AP client isolation), same container bridge network, or same VLAN - because mDNS uses link-local multicast addresses (224.0.0.251 for IPv4, ff02::fb for IPv6) that do not traverse L3 routers. No authentication is required (CVSS PR:N) and no user interaction is needed (CVSS UI:N); the attack works against default configurations of any application using zeroconf for service discovery. Exploitation is limited by: (1) L2 adjacency requirement - internet-based remote exploitation is not possible; (2) Impact is pure availability - no confidentiality or integrity compromise is possible through this vulnerability; (3) Practical severity scales inversely with available RAM - well-resourced server deployments are significantly more resilient than embedded/IoT targets like Raspberry Pi; (4) The attack requires sustained traffic volume to produce OOM conditions, which may be detectable by network monitoring as anomalous mDNS flood from a single source.

Impact

The CVSS 6.5 score with vector AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H accurately reflects the risk profile: adjacent-only attack vector is the primary constraint, but 'adjacent' encompasses guest Wi-Fi, IoT VLANs, shared Docker bridge networks, and apartment Wi-Fi - a realistic threat surface for consumer and prosumer deployments. Attack complexity is genuinely low (no memory corruption, no timing dependency, no knowledge of internal state required - only the ability to send unique malformed UDP multicast packets). The CVSS availability impact of High is realistic for the canonical victim class (Home Assistant on Raspberry Pi with 1-4 GB RAM) but is less severe on well-provisioned servers. No EPSS score was included in the source data, so exploitation probability cannot be quantified from that signal. The vulnerability is not listed in CISA KEV and no public exploit code has been identified. Despite the moderate CVSS score, the deterministic exploitability (no randomness or guessing involved) and the zero-authentication, zero-interaction requirements mean any LAN-adjacent adversary can reliably trigger the condition. The lack of any in-process workaround - the vendor explicitly states upgrading is the only fix - elevates urgency for affected deployments.

Exploit ScenarioDerived

An attacker on the same Wi-Fi network as a Home Assistant installation - such as a guest on an unisolated guest SSID, a compromised smart plug on the IoT VLAN, or a container on a shared Docker bridge - sends a continuous flood of malformed mDNS UDP packets to 224.0.0.251:5353, rotating source ports and label offsets across each packet to ensure each exception string is unique. Every packet causes zeroconf to insert a new entry into _seen_logs holding the full traceback and raw 8966-byte packet buffer; on a Raspberry Pi 4 with 2 GB RAM, saturating the dict with unique packets at LAN line rate exhausts available heap within minutes, triggering an OOM kill of the zeroconf process and disabling all HomeKit, Chromecast/Matter, and AirPlay discovery. No public exploit code has been identified in the source data, but the attack is mechanistically trivial given the fully public PR diff and issue tracker disclosure at https://github.com/python-zeroconf/python-zeroconf/issues/1714.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 29, 2026

Memory exhaustion in python-zeroconf's exception deduplication logic allows any unauthenticated LAN-adjacent host to permanently pin approximately 9 KB of heap memory per unique malformed mDNS packet, enabling denial of service against zeroconf-dependent applications. The flaw affects all versions of the pip package zeroconf prior to 0.149.6; the unbounded _seen_logs dict in QuietLogger and DNSIncoming._log_exception_debug retained full Python traceback objects - and thus raw inbound packet buffers - keyed by attacker-influenced exception strings derived from ephemeral source ports, byte offsets, and pointer links. No public exploit or CISA KEV listing exists at time of analysis, but the attack is mechanistically straightforward and particularly severe on memory-constrained deployments such as Home Assistant on Raspberry Pi-class hardware, where sustained flood traffic can OOM-kill the process and disable HomeKit, Chromecast/Matter, and AirPlay discovery.

RemediationAI

Upgrade to zeroconf 0.149.6 or later, confirmed fixed via PR #1717 at https://github.com/python-zeroconf/python-zeroconf/pull/1717. The fix replaces the unbounded _seen_logs class-variable dict with a module-level bounded dict capped at _MAX_SEEN_LOGS = 512 entries that stores only None values (not traceback objects), eliminating both the unbounded growth and the packet buffer retention via frame locals. No in-process workaround is available per the vendor advisory at https://github.com/python-zeroconf/python-zeroconf/security/advisories/GHSA-phvx-9mgw-67r5. If immediate upgrade is not possible, apply network-layer compensating controls: (1) Enable AP client isolation on Wi-Fi access points to block guest-to-host multicast - trade-off is that isolated clients lose mDNS-based discovery including AirPlay and printer access from the isolated segment; (2) Implement VLAN-based guest network separation so untrusted devices cannot reach the mDNS multicast group on the trusted LAN - trade-off is infrastructure complexity and loss of cross-VLAN mDNS without a reflector/proxy; (3) Configure host firewall rules to drop inbound UDP/5353 from untrusted source CIDRs (e.g., iptables -A INPUT -p udp --dport 5353 ! -s <trusted-subnet>/24 -j DROP) - trade-off is that this breaks legitimate mDNS discovery from blocked segments and must be maintained as network topology changes.

Affected VersionsENISA

python-zeroconf < 0.149.6

Affected Packages

pypi zeroconf fix: 0.149.6
euvd python_zeroconf fix: 0.149.6

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in pypi, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability resides in src/zeroconf/_logger.py and src/zeroconf/_protocol/incoming.py of the python-zeroconf library (PURL: pkg:pip/zeroconf), which implements the mDNS/DNS-SD protocol stack in pure Python. The root cause is CWE-400 (Uncontrolled Resource Consumption): the QuietLogger class stored a ClassVar[dict[str, int | tuple]] named _seen_logs that was never bounded or evicted. The dict values were the full sys.exc_info() triple - including the traceback object - whose frame locals retained self.data, the raw inbound UDP payload of up to 8966 bytes per RFC 6762 §17. The dedup keys were constructed from IncomingDecodeError exception strings raised by _read_name and _decode_labels_at_offset during RFC 6762 §18 label-decoding error paths; these strings embedded self.source (the peer's ephemeral source port), byte offset, and pointer link - all attacker-controllable fields that vary per packet. The mDNS transport (UDP/5353, multicast 224.0.0.251 and ff02::fb) is inherently unauthenticated and reachable from any host on the same Layer-2 segment without prior authorization.

Know when Python gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (https://github.com/python-zeroconf/python-zeroconf) PRIMARY 6.5 MEDIUM
AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
SUSE MEDIUM
Red Hat 6.5 MEDIUM

Primary rating from Vendor (https://github.com/python-zeroconf/python-zeroconf).

CVSS VectorVendor: https://github.com/python-zeroconf/python-zeroconf

Attack Vector
Adjacent
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

DescriptionCVE.org

Impact

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.

Patches

Fixed in zeroconf 0.149.6 (PR #1717). Upgrade to >= 0.149.6.

Workarounds

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

Resources

Threat Intelligence Overview

EPSS Score
0.0%
Top 94% exploitable
Threat Intel
1
1 source
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS GHSA Vendor GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Controlled
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

More in Python

View all
CVE-2025-24016 CRITICAL POC
9.9 Feb 10

Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t

CVE-2025-27520 CRITICAL POC
9.8 Apr 04

BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser

CVE-2025-2945 CRITICAL POC
9.9 Apr 03

pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi

CVE-2013-5093 MEDIUM POC
6.8 Sep 27

The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python

CVE-2025-32375 CRITICAL POC
9.8 Apr 09

BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica

CVE-2014-0224 HIGH POC
7.4 Jun 05

OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph

CVE-2024-21644 HIGH POC
7.5 Jan 08

pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.

CVE-2026-33017 CRITICAL POC
9.3 Mar 17

Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301

CVE-2017-9462 HIGH POC
8.8 Jun 06

In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse

CVE-2026-49869 CRITICAL POC
10.0 Jun 26

Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to

CVE-2026-39987 CRITICAL POC
9.3 Apr 08

Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/

CVE-2024-21645 MEDIUM POC
5.3 Jan 08

pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne

Vendor StatusVendor

SUSE

Severity: Moderate

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy