Description
Zeroconf is a pure Python implementation of multicast DNS service discovery. Prior to 0.149.7, DNSCache._async_add inserted every response record into cache, _expirations, _expire_heap, and service_cache without a cap, allowing unauthenticated hosts on the local link over UDP/5353 (224.0.0.251 / ff02::fb) to multicast valid mDNS responses with unique names and cause memory exhaustion, slower cache lookups, slower async_expire passes, and broken discovery, registration, and ServiceBrowser callbacks. This issue is fixed in version 0.149.7.
Published: 2026-07-17
Score: 6.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Zeroconf library implements multicast DNS service discovery in pure Python. Before version 0.149.7, each mDNS response was accepted by the DNSCache._async_add method and stored without any limits in the cache, the expirations list, the expire heap, and the service_cache. This unbounded growth allows any host on the local network to send crafted mDNS responses with unique names, causing the process's memory to grow until exhaustion. The result is slower cache lookups, delayed async expiration processing, and broken service discovery, registration, and callback functionality.

Affected Systems

The vulnerable code is in the python-zeroconf library, version numbers prior to 0.149.7. Any Python application that imports python-zeroconf and uses the Zeroconf service discovery on a local network is affected.

Risk and Exploitability

The CVSS score of 6.5 reflects moderate severity, while the EPSS score of less than 1% and the absence from the CISA KEV catalog indicate a low likelihood of widespread exploitation. Attackers would need local network access to craft and send repeated mDNS responses over UDP port 5353. If successful, the affected process could consume excessive memory until it fails, resulting in a denial of service on the local host.

Generated by OpenCVE AI on July 30, 2026 at 23:52 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the python-zeroconf package to 0.149.7 or newer.
  • If upgrade is not immediately possible, disable mDNS traffic on the local network by blocking UDP port 5353 or restricting multicast routing to trusted hosts.
  • Monitor memory usage of applications that use python-zeroconf and alert if memory consumption rises rapidly, indicating a potential exploit.

Generated by OpenCVE AI on July 30, 2026 at 23:52 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-rfg2-pjw2-56x2 zeroconf has unbounded DNS record cache that allows LAN-local memory exhaustion via multicast flood
History

Wed, 29 Jul 2026 00:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Moderate


Thu, 23 Jul 2026 21:45:00 +0000

Type Values Removed Values Added
First Time appeared Python-zeroconf
Python-zeroconf python-zeroconf
Vendors & Products Python-zeroconf
Python-zeroconf python-zeroconf

Tue, 21 Jul 2026 02:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 17 Jul 2026 18:45:00 +0000

Type Values Removed Values Added
Description Zeroconf is a pure Python implementation of multicast DNS service discovery. Prior to 0.149.7, DNSCache._async_add inserted every response record into cache, _expirations, _expire_heap, and service_cache without a cap, allowing unauthenticated hosts on the local link over UDP/5353 (224.0.0.251 / ff02::fb) to multicast valid mDNS responses with unique names and cause memory exhaustion, slower cache lookups, slower async_expire passes, and broken discovery, registration, and ServiceBrowser callbacks. This issue is fixed in version 0.149.7.
Title Zeroconf: Unbounded DNS record cache allows LAN-local memory exhaustion via multicast flood
Weaknesses CWE-770
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}


Subscriptions

Python-zeroconf Python-zeroconf
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-21T01:50:36.488Z

Reserved: 2026-05-18T22:07:37.434Z

Link: CVE-2026-47184

cve-icon Vulnrichment

Updated: 2026-07-21T01:50:31.334Z

cve-icon NVD

No data.

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-07-17T18:25:07Z

Links: CVE-2026-47184 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-07-31T00:00:06Z

Weaknesses
  • CWE-770

    Allocation of Resources Without Limits or Throttling