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
Not known to be exploited · CVSS 7.5 High.
Data as of 24 Nov 2026, 21:15 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 3.1 | 7.5 |
|---|---|---|
| CNA (VulnCheck) | CVSS 4.0 | 8.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:HExploitation evidence
Disclosed: evidence found.
CVE published 10 Jun 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10python-kafkapkg:deb/ubuntu/python-kafka?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSpython-kafkapkg:deb/ubuntu/python-kafka?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 25.10python-kafkapkg:deb/ubuntu/python-kafka?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSpython-kafkapkg:deb/ubuntu/python-kafka?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSpython-kafkapkg:deb/ubuntu/python-kafka?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 20.04 LTSpython-kafkapkg:deb/ubuntu/python-kafka?arch=source&distro=focalOther threats | Affected
| 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
- ubuntu.com/security/CVE-2026-10142 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-10142 (opens in a new tab)
- github.com/dpkp/kafka-python/pull/3019 (opens in a new tab)
- github.com/dpkp/kafka-python/pull/3026 (opens in a new tab)
- github.com/dpkp/kafka-python/commit/6e4831444f972d169cdd11f5c8d50333cea3f19b (opens in a new tab)
- vulncheck.com/advisories/kafka-python-prior-to-denial-of-service-via-protocol-parser-frame-length (opens in a new tab)