Quick answers
- Is CVE-2026-48487 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-48487 being exploited in the wild.
- How severe is CVE-2026-48487?
- Medium severity, with a CVSS score of 6.5, published 17 July 2026.
- Which products and versions are affected?
- zeroconf (PyPI) < 0.149.16, ECOSYSTEM:introduced=0,fixed=0.149.16; Python-Zeroconf < 0.149.16.
- Is there a fix for CVE-2026-48487?
- Yes. zeroconf (PyPI): upgrade to 0.149.16 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2026-48487 attacked?
- It is attacked from the adjacent network, in a software library.
- Am I affected by CVE-2026-48487?
- Check whether you run zeroconf (PyPI) or Python-Zeroconf at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- zeroconf (PyPI): upgrade to 0.149.16 or later
pip install "zeroconf>=0.149.16"
Technical details
A vulnerability exists in the `_read_character_string` and `_read_string` functions within `src/zeroconf/_protocol/incoming.py`. The parser advances the internal data offset by an attacker-declared `RDLENGTH` without verifying it against the actual remaining buffer length (`self._data_len`). Because Python's slicing mechanism silently returns fewer bytes when an index exceeds the buffer, the library constructs and caches truncated TXT, HINFO, or A/AAAA records before a subsequent parse error occurs. This allows unauthenticated adjacent attackers to perform cache poisoning and parser-state desynchronization. The issue is addressed in version 0.149.16 by implementing explicit bounds checks.
Affected products
- python-zeroconf zeroconf < 0.149.16
Identifiers
- CVE-2026-48487
- GHSA-qc2x-6f54-m6h9
- PYSEC-2026-3438
Timeline
- 2026-05-20: patched: Fix merged in PR #1756
- 2026-05-21: advisory: GHSA-qc2x-6f54-m6h9 published
- 2026-07-17: disclosed: CVE-2026-48487 published to NVD
References
- https://github.com/python-zeroconf/python-zeroconf/commit/544449596e645fcaad3834fa0cb614a54f847a82
- https://github.com/python-zeroconf/python-zeroconf/issues/1752
- https://github.com/python-zeroconf/python-zeroconf/pull/1756
- https://github.com/python-zeroconf/python-zeroconf/releases/tag/0.149.16
- https://github.com/python-zeroconf/python-zeroconf/security/advisories/GHSA-qc2x-6f54-m6h9