PatchSiren cyber security CVE debrief
CVE-2026-10142 Dana Powers CVE debrief
CVE-2026-10142 is a high-severity denial-of-service vulnerability in kafka-python prior to version 2.3.2. The vulnerability 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.
- Vendor
- Dana Powers
- Product
- kafka-python
- CVSS
- HIGH 8.7
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-06-10
- Original CVE updated
- 2026-06-11
- Advisory published
- 2026-06-10
- Advisory updated
- 2026-06-11
Who should care
Users of kafka-python prior to version 2.3.2 should update to version 2.3.2 or later to mitigate this vulnerability.
Technical summary
The vulnerability is caused by a lack of bounds validation in the protocol parser of kafka-python. Specifically, the receive_bytes() function does not validate the 4-byte frame length value sent by the broker or machine-in-the-middle attacker. This allows an attacker to send a crafted frame length that can trigger a multi-gigabyte memory allocation or an uncaught ValueError, leading to a denial-of-service condition.
Defensive priority
High
Recommended defensive actions
- Update kafka-python to version 2.3.2 or later.
- Implement bounds validation for the 4-byte frame length value in the protocol parser.
Evidence notes
The vulnerability is documented in the NVD database and has a CVSS score of 8.7.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-10142 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-10142
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-10142 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-10142
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Mitigation or vendor reference
Unverified legacy reference
URL: https://github.com/dpkp/kafka-python/commit/6e4831444f972d169cdd11f5c8d50333cea3f19b
[email protected] - Patch
-
Mitigation or vendor reference
Unverified legacy reference
URL: https://github.com/dpkp/kafka-python/pull/3019
[email protected] - Issue Tracking, Patch
-
Mitigation or vendor reference
Unverified legacy reference
URL: https://github.com/dpkp/kafka-python/pull/3026
[email protected] - Issue Tracking, Patch
-
Mitigation or vendor reference
Unverified legacy reference
URL: https://www.vulncheck.com/advisories/kafka-python-prior-to-denial-of-service-via-protocol-parser-frame-length
[email protected] - Patch, Third Party Advisory
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.