
CVE catalog
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
- Severity
- High · CVSS 8.7
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.35% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | python-kafka | sid | 2.2.3-1 | fixed |
| Debian | python-kafka | forky | 2.2.3-1 | fixed |
| Debian | python-kafka | trixie | 2.0.2-9 | vulnerable |
| Debian | python-kafka | bookworm | 2.0.2-3 | vulnerable |
| Cpe | python-kafka | Not reported | Not reported | vulnerable |
| Cpe | kafka-python | Not reported | 2.3.2 | fixed |
| Pip | kafka-python | Not reported | 2.3.2 | fixed |
| Cpe | kafka-python | Not reported | 2.3.2 | fixed |
| Opensuse | python-kafka-python | tumbleweed | 2.3.2-1.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | python-kafka | source | sid | 2.0.2-13 | not yet assigned | Not reported | [1139878] |
| Debian | python-kafka | source | forky | 2.0.2-13 | not yet assigned | Not reported | [1139878] |
| Debian | python-kafka | source | trixie | (unfixed) | not yet assigned | Not reported | [1139878] |
| Debian | python-kafka | source | bookworm | (unfixed) | not yet assigned | Not reported | [1139878] |
| Cpe | kafka-python | cpe | Not reported | 2.3.2 | Not reported | Not reported | Not reported |
| Pip | kafka-python | pip | Not reported | 2.3.2 | Not reported | GHSA-M3PX-Q5GJ-J9X7 | Not reported |
| Cpe | kafka-python | cpe | Not reported | 2.3.2 | Not reported | NVD-CVE-2026-10142 | Not reported |
| Opensuse | python-kafka-python | rpm | tumbleweed | 2.3.2-1.1 | Not reported | OPENSUSE-SU-2026:11004-1 | Not reported |
Notes
[trixie] python-kafka: Minor issue [bookworm] python-kafka: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [python3-kafka]Affected
Source package: [python-kafka]
Details (2)
2.0.2-3· all · bookwormAffected
nvd · python-kafka · debian · bookworm; nvd · python-kafka · debian · 12
2.0.2-3· all · bookwormAffected
nvd · python-kafka · debian · bookworm; nvd · python-kafka · debian · 12
- [python-kafka-doc]Affected
Source package: [python-kafka]
Details (2)
2.0.2-3· all · bookwormAffected
nvd · python-kafka · debian · bookworm; nvd · python-kafka · debian · 12
2.0.2-3· all · bookwormAffected
nvd · python-kafka · debian · bookworm; nvd · python-kafka · debian · 12
[Debian 13 (Trixie)]
- [python3-kafka]Affected
Source package: [python-kafka]
Details (2)
2.0.2-9· all · trixieAffected
nvd · python-kafka · debian · 13
2.0.2-9· all · trixieAffected
nvd · python-kafka · debian · 13
- [python-kafka-doc]Affected
Source package: [python-kafka]
Details (2)
2.0.2-9· all · trixieAffected
nvd · python-kafka · debian · 13
2.0.2-9· all · trixieAffected
nvd · python-kafka · debian · 13
[openSUSE Tumbleweed]
- [python313-kafka-python]Unknown
Source package: [python-kafka-python]
Details (1)
3.0.11-1.1· noarch · tumbleweedUnknown · Fixed:
2.3.2-1.1Version impact unknown
nvd · python-kafka-python · opensuse · tumbleweed
- [python314-kafka-python]Unknown
Source package: [python-kafka-python]
Details (1)
3.0.11-1.1· noarch · tumbleweedUnknown · Fixed:
2.3.2-1.1Version impact unknown
nvd · python-kafka-python · opensuse · tumbleweed
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2026_11004-1.json]
- [https://github.com/advisories/GHSA-m3px-q5gj-j9x7]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-10142]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-10142]
- [https://osv.dev/vulnerability/openSUSE-SU-2026:11004-1]
- [https://security-tracker.debian.org/tracker/CVE-2026-10142]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-10142.json]
[Debian Security Tracker] · [FIRST EPSS] · [GitHub Advisory Database] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]