Vulnerability
CVE-2026-10142
kafka-python prior to 2.3.2 contains a denial-of-service vulnerability in the protocol parser that allows a malicious broker or machine-in-the-middle attacker to exhaust memory or hang connections by sending a crafted 4-byte frame length value without bounds validation. Attackers can send a specially crafted frame length through the receive_bytes() function to trigger either a multi-gigabyte memory allocation or an uncaught ValueError that leaves the connection in a broken state, causing requests to hang and consumers to stop heartbeating until restart.
13 advisories report this vulnerability, across 5 ecosystems.
Advisories
- CGA-4w8r-rjf5-5787
- CGA-83f6-4222-5c7h
- CGA-8xmp-w8hj-vq76
- CGA-cp2h-gwvj-7qm6
- CGA-j4hp-466r-mxrx
- CGA-jv9h-p5vr-c9xr
- CGA-q5qp-w72m-6qhp
- CGA-x4mg-4mv5-h4j4
-
DEBIAN-CVE-2026-10142
kafka-python prior to 2.3.2 contains a denial-of-service vulnerability in the protocol parser that allows a malicious broker or machine-in-the-middle attacker to exhaust memory or hang connections by sending a crafted…
-
GHSA-m3px-q5gj-j9x7
kafka-python vulnerable to denial of service through an unvalidated protocol frame length
-
PYSEC-2026-2190
kafka-python prior to 2.3.2 contains a denial-of-service vulnerability in the protocol parser that allows a malicious broker or machine-in-the-middle attacker to exhaust memory or hang connections by sending a crafted…
-
UBUNTU-CVE-2026-10142
kafka-python prior to 2.3.2 contains a denial-of-service vulnerability in the protocol parser that allows a malicious broker or machine-in-the-middle attacker to exhaust memory or hang connections by sending a crafted…
-
openSUSE-SU-2026:11004-1
python311-kafka-python-2.3.2-1.1 on GA media