medium CVSS 5.3 EPSS 0.32%

CVE-2026-48487·Python vulnerability

Zeroconf is a pure Python implementation of multicast DNS service discovery. Prior to 0.149.16, _read_character_string and _read_string in src/zeroconf/_protocol/incoming.py advanced self.offset by attacker-declared RDLENGTH without checking it against self._data_len, allowing unauthenticated hosts on the local link over UDP/5353 (224.0.0.251 / ff02::fb) to send a TXT, HINFO, or A/AAAA record with rdlength=65535 and seed DNSCache and ServiceInfo.properties with truncated, attacker-shaped key/value or address records. This issue is fixed in version 0.149.16.

Severity
medium
Software
Python
Fixed in
0.149.16
Published

How likely is exploitation

FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.32% — higher than 24% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.

Affected versions

Until: 0.149.16

Fixed in: 0.149.16

How to fix this CVE

Update the Python zeroconf library to version 0.149.16 or later to patch an input validation flaw in mDNS record parsing. Systems running zeroconf prior to 0.149.16 are vulnerable to DNS cache poisoning attacks originating from local network hosts. Verify the patch is installed and restart any services that depend on zeroconf.

sudo dnf upgrade python3-zeroconf

Defensia detects this vulnerability

What an exploitation attempt looks like

Sample log line indicative of exploitation attempts:

UDP packets to port 5353 (mDNS) containing TXT, HINFO, or A/AAAA records where the RDLENGTH field value (typically 65535) exceeds the actual packet data length; detection requires parsing DNS record structure and comparing declared length fields against remaining buffer size

How to check if you are affected

  1. Check installed zeroconf version: python3 -c "import zeroconf; print(zeroconf.__version__)"
  2. Identify services using zeroconf: grep -r "import zeroconf" /opt /home /srv --include="*.py" 2>/dev/null || ps aux | grep -i zeroconf
  3. Monitor UDP port 5353 for traffic from untrusted sources: sudo tcpdump -i any -n 'udp port 5353' -c 20
  4. Verify patch: python3 -c "import zeroconf; print('Vulnerable' if zeroconf.__version__ < '0.149.16' else 'Patched')"

FAQ

What is CVE-2026-48487?

This vulnerability allows unauthenticated attackers on a local network to inject malicious mDNS records by exploiting improper bounds checking in the zeroconf library's DNS record parsing functions. An attacker can craft records with inflated length values to corrupt the DNS cache with attacker-controlled data.

Is CVE-2026-48487 being actively exploited?

No, there are no known active exploits or public proof-of-concept code for this vulnerability at this time.

What versions of Python zeroconf are affected by CVE-2026-48487?

All versions of python-zeroconf prior to 0.149.16 are vulnerable. The affected code path exists in the _read_character_string and _read_string functions.

How do I check if my server is vulnerable to CVE-2026-48487?

Run 'python3 -c "import zeroconf; print(zeroconf.__version__)"' and compare the version number to 0.149.16. If your version is lower, the system is vulnerable.

Does Defensia detect CVE-2026-48487?

Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Python zeroconf is installed on a monitored server, CVE-2026-48487 will appear in your dashboard with remediation steps.

Related Python CVEs

CVE-2026-28505CVSS 10Tautulli is a Python based monitoring and tracking tool for Plex Media Server. Prior to version 2.17.0, the str_eval() function in notification_handler.py implements a sandboxed eval() for notification text templates. The sandbox attempts to restrict callable names by inspecting code.co_names of the compiled code object. However, co_names only contains names from the outer code object. When a lambda expression is used, it creates a nested code object whose attribute accesses are stored in code.co_consts, NOT in code.co_names. The sandbox never inspects nested code objects. This issue has been patched in version 2.17.0.
CVE-2026-34938CVSS 10PraisonAI is a multi-agent teams system. Prior to version 1.5.90, execute_code() in praisonai-agents runs attacker-controlled Python inside a three-layer sandbox that can be fully bypassed by passing a str subclass with an overridden startswith() method to the _safe_getattr wrapper, achieving arbitrary OS command execution on the host. This issue has been patched in version 1.5.90.
CVE-2026-33054CVSS 10Mesop is a Python-based UI framework that allows users to build web applications. Versions 1.2.2 and below contain a Path Traversal vulnerability that allows any user supplying an untrusted state_token through the UI stream payload to arbitrarily target files on the disk under the standard file-based runtime backend. This can result in application denial of service (via crash loops when reading non-msgpack target files as configurations), or arbitrary file manipulation. This vulnerability heavily exposes systems hosted utilizing FileStateSessionBackend. Unauthorized malicious actors could interact with arbitrary payloads overwriting or explicitly removing underlying service resources natively outside the application bounds. This issue has been fixed in version 1.2.3.
CVE-2026-25632CVSS 10EPyT-Flow is a Python package designed for the easy generation of hydraulic and water quality scenario data of water distribution networks. Prior to 0.16.1, EPyT-Flow’s REST API parses attacker-controlled JSON request bodies using a custom deserializer (my_load_from_json) that supports a type field. When type is present, the deserializer dynamically imports an attacker-specified module/class and instantiates it with attacker-supplied arguments. This allows invoking dangerous classes such as subprocess.Popen, which can lead to OS command execution during JSON parsing. This also affects the loading of JSON files. This vulnerability is fixed in 0.16.1.
CVE-2026-26030CVSS 9.9Semantic Kernel, Microsoft's semantic kernel Python SDK, has a remote code execution vulnerability in versions prior to 1.39.4, specifically within the `InMemoryVectorStore` filter functionality. The problem has been fixed in version `python-1.39.4`. Users should upgrade this version or higher. As a workaround, avoid using `InMemoryVectorStore` for production scenarios.

References

Track CVEs across your fleet automatically

Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-48487. Free for 1 server.

Get started free