ADVISORIES

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
    CVE-2026-10142 Chainguard Updated 5 November 2026
  • CGA-83f6-4222-5c7h
    CVE-2026-10142 Chainguard Updated 5 November 2026
  • CGA-8xmp-w8hj-vq76
    CVE-2026-10142 Chainguard Updated 5 November 2026
  • CGA-cp2h-gwvj-7qm6
    CVE-2026-10142 Chainguard Updated 5 November 2026
  • CGA-j4hp-466r-mxrx
    CVE-2026-10142 Chainguard Updated 5 November 2026
  • CGA-jv9h-p5vr-c9xr
    CVE-2026-10142 Chainguard Updated 5 November 2026
  • CGA-q5qp-w72m-6qhp
    CVE-2026-10142 Chainguard Updated 5 November 2026
  • CGA-x4mg-4mv5-h4j4
    CVE-2026-10142 Chainguard Updated 5 November 2026
  • 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…

    CVE-2026-10142 Debian Updated 9 October 2026
  • GHSA-m3px-q5gj-j9x7

    kafka-python vulnerable to denial of service through an unvalidated protocol frame length

    High CVE-2026-10142 PyPI Updated 10 September 2026
  • 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…

    CVE-2026-10142 PyPI Updated 10 September 2026
  • 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…

    CVE-2026-10142 Ubuntu Updated 17 October 2026
  • openSUSE-SU-2026:11004-1

    python311-kafka-python-2.3.2-1.1 on GA media

    CVE-2026-10142 openSUSE Updated 12 June 2026

References