Vulnerability · Published Jul 17, 2026 · Assigned by GitHub_M
CVE-2026-48487Zeroconf: Unvalidated rdlength in record payload readers allows LAN-local cache corruption via crafted mDNS packet
Medium 5.3
In plain English
A medium-severity security flaw in python-zeroconf from python-zeroconf. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 41% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | python-zeroconf | no fix listed | DEBIAN-CVE-2026-48487 |
| Debian:13 | python-zeroconf | no fix listed | DEBIAN-CVE-2026-48487 |
| Debian:14 | python-zeroconf | 0.149.16-1 | DEBIAN-CVE-2026-48487 |
| PyPI | zeroconf | 0.149.16 | GHSA-qc2x-6f54-m6h9 |
| PyPI | zeroconf | 0.149.16 | PYSEC-2026-3438 |
| Ubuntu:22.04:LTS | python-zeroconf | no fix listed | UBUNTU-CVE-2026-48487 |
| Ubuntu:24.04:LTS | python-zeroconf | no fix listed | UBUNTU-CVE-2026-48487 |
| Ubuntu:26.04:LTS | python-zeroconf | no fix listed | UBUNTU-CVE-2026-48487 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| python-zeroconf | python-zeroconf | < 0.149.16 |
Weakness: CWE-130 · Vector: CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
References
- https://github.com/python-zeroconf/python-zeroconf/security/advisories/GHSA-qc2x-6f54-m6h9 x_refsource_CONFIRM
- https://github.com/python-zeroconf/python-zeroconf/issues/1752 x_refsource_MISC
- https://github.com/python-zeroconf/python-zeroconf/pull/1756 x_refsource_MISC
- https://github.com/python-zeroconf/python-zeroconf/commit/544449596e645fcaad3834fa0cb614a54f847a82 x_refsource_MISC
- https://github.com/python-zeroconf/python-zeroconf/releases/tag/0.149.16 x_refsource_MISC