Skip to content
OpenAdvisories
Medium · 5.3 CVE-2026-48487 EUVD-2026-45252GHSA-qc2x-6f54-m6h9PYSEC-2026-3438

Zeroconf: Unvalidated rdlength in record payload readers allows LAN-local cache corruption via crafted mDNS packet

Published Jul 17, 2026 · Updated Jul 20, 2026 · Assigned by GitHub_M

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 products

VendorProductAffectedFixed
python-zeroconf python-zeroconf < 0.149.16 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 python-zeroconf 0.149.16-1 —
Debian 13 python-zeroconf No fix yet —
Debian 12 python-zeroconf No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.04 LTS python-zeroconf No fix yet —
Ubuntu 24.04 LTS python-zeroconf No fix yet —
Ubuntu 22.04 LTS python-zeroconf No fix yet —
Ubuntu 20.04 LTS python-zeroconf No fix yet —
Ubuntu 18.04 LTS python-zeroconf No fix yet —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS python-zeroconf No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed python-zeroconf 0.149.16-1.1 openSUSE-SU-2026:11036-1
openSUSE Leap 16.0 python-zeroconf 0.136.0-bp160.2.1 openSUSE-SU-2026:21175-1

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI zeroconf < 0.149.16 0.149.16 GHSA-qc2x-6f54-m6h9

Advisories 2

References