CVE-2026-10142
HIGH EPSS 26.7%
Published Jun 10, 20263w ago · Modified Jun 17, 20262w ago
8.7 CVSS 4.0
Published Jun 10, 2026 3w ago
Last Modified Jun 17, 2026 2w ago
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.
CVSS Details
Base Score
Exploitability
Impact
Vector string
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 Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction None
Scope X
Threat Intelligence
EPSS Exploit Probability
26.7% percentile
Exploit & Patch Status
No Known Exploit
Patch Available
Weaknesses 1
CWE-789
Affected Products 1
| Vendor | Product | Version | Range |
|---|---|---|---|
| dpkp | kafka-python | * | <2.3.2 |
References 4
- github.com https://github.com/dpkp/kafka-python/commit/6e4831444f972d169cdd11f5c8d50333cea3f19b
- github.com https://github.com/dpkp/kafka-python/pull/3019
- github.com https://github.com/dpkp/kafka-python/pull/3026
- vulncheck.com https://www.vulncheck.com/advisories/kafka-python-prior-to-denial-of-service-via-protocol-parser-frame-length
Remediation
- github.com https://github.com/dpkp/kafka-python/commit/6e4831444f972d169cdd11f5c8d50333cea3f19b
- github.com https://github.com/dpkp/kafka-python/pull/3019
- github.com https://github.com/dpkp/kafka-python/pull/3026
- vulncheck.com https://www.vulncheck.com/advisories/kafka-python-prior-to-denial-of-service-via-protocol-parser-frame-length