Skip to main content
CVE-2026-10142VulnerabilityPublished Updated

Python kafka: kafka-python prior to 2.3.2 contains a denial-of-service vulnerability in the protocol parser that

Affects python-kafkaSource GCVE Database

0
Compare
Authoritative record:CVE-2026-10142· High 7.5

Not known to be exploited · CVSS 7.5 High.

Data as of 24 Nov 2026, 21:15 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (VulnCheck)CVSS 3.17.5
CNA (VulnCheck)CVSS 4.08.7
EPSS
0.3% chance of exploitation in 30 days – higher than 28% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 10 Jun 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10python-kafkapkg:deb/ubuntu/python-kafka?arch=source&distro=stonkingOther threatsAffected
  • =2.0.2-11
  • =2.0.2-12
Fixed in–
Ubuntu 26.04 LTSpython-kafkapkg:deb/ubuntu/python-kafka?arch=source&distro=resoluteOther threatsAffected
  • =2.0.2-9
  • =2.0.2-10
  • =2.0.2-11
Fixed in–
Ubuntu 25.10python-kafkapkg:deb/ubuntu/python-kafka?arch=source&distro=questingOther threatsAffected
  • =2.0.2-9
Fixed in–
Ubuntu 24.04 LTSpython-kafkapkg:deb/ubuntu/python-kafka?arch=source&distro=nobleOther threatsAffected
  • =2.0.2-4
  • =2.0.2-5
Fixed in–
Ubuntu 22.04 LTSpython-kafkapkg:deb/ubuntu/python-kafka?arch=source&distro=jammyOther threatsAffected
  • =2.0.1-2
  • =2.0.2-2
Fixed in–
Ubuntu 20.04 LTSpython-kafkapkg:deb/ubuntu/python-kafka?arch=source&distro=focalOther threatsAffected
  • =1.4.3-1
  • =1.4.6-1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

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.

References

Community reviews

Loading reviews…