CVE-2026-47184

Zeroconf: Unbounded DNS record cache allows LAN-local memory exhaustion via multicast flood

Published Jul 17, 2026 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

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

Remediation

No solution or workaround provided in the CVE record.

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
Type Values Removed Values Added
First Time appeared Paulsm
Paulsm zeroconf
CPEs cpe:2.3:a:paulsm:zeroconf:*:*:*:*:*:python:*:*
Vendors & Products Paulsm
Paulsm zeroconf
Type Values Removed Values Added
First Time appeared Python-zeroconf
Python-zeroconf python-zeroconf
Vendors & Products Python-zeroconf
Python-zeroconf python-zeroconf
Type Values Removed Values Added
Metrics ssvc

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

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'}

Weaknesses
  • CWE-770

    Allocation of Resources Without Limits or Throttling

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jul 21, 2026, 1:50 AM
Reserved
May 18, 2026, 10:07 PM
Status
Analyzed
Published
Jul 17, 2026, 7:17 PM
Modified
Aug 17, 2026, 7:56 PM
Severity
Moderate
Public date
Jul 17, 2026, 6:25 PM