Patchwire CVEs, their patch status, and feeds to follow them

CVE-2026-10142

Fixed in a distro release EPSS <1%CVSS 7.5

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.

Published 2026-06-10 · CVE record · OSV

Products: Dana Powers kafka-python

Fixed upstream

EcosystemPackageFixed in
PyPIkafka-python2.3.2

Distro releases

ReleasePackageFixed in
Chainguardmlrun1.11.0-r5
Chainguardmlrun-api1.11.0-r5
Chainguardmlrun-api-fips1.11.0-r2
Chainguardmlrun-fips1.11.0-r2
Debian 12python-kafkano fix
Debian 13python-kafkano fix
Debian 14python-kafka2.0.2-13
Ubuntu 16.04 LTSpython-kafkano fix
Ubuntu 18.04 LTSpython-kafkano fix
Ubuntu 20.04 LTSpython-kafkano fix
Ubuntu 22.04 LTSpython-kafkano fix
Ubuntu 24.04 LTSpython-kafkano fix
Ubuntu 25.10python-kafkano fix
Ubuntu 26.04 LTSpython-kafkano fix
Ubuntu 26.10python-kafkano fix
openSUSE Tumbleweedpython-kafka-python2.3.2-1.1