CVE-2026-10142Dpkp Kafka-python
High 8.7 No auth needed
Follow: this CVE · Dpkp · Dpkp Kafka-python We alert you by email or Slack (account required).
- Priority
- 67
- CVSS 4.0
- 8.7
- EPSS
- —
- Auth required
- No
- Published
- Jun 10, 2026
- Updated
- Oct 8, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-789
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
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
What happens
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.
What to do
- Apply the vendor's security update for Kafka-python.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | kafka-python |
< 2.3.2 |
2.3.2 |
pip install "kafka-python>=2.3.2" |
| PyPI | kafka-python |
< 2.3.2 |
2.3.2 |
pip install "kafka-python>=2.3.2" |
Per OSV / GitHub Advisories (GHSA-m3px-q5gj-j9x7, PYSEC-2026-2190). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| dpkp | kafka-python | < 2.3.2 |
Official advisories
- python311-kafka-python-2.3.2-1.1 on GA media · SUSE · openSUSE-SU-2026:11004-1 · Jun 11, 2026 High
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Issue Tracking Patch
- github.com Issue Tracking Patch
- www.vulncheck.com Patch Third Party Advisory