---
cve: "CVE-2026-10142"
severity: "HIGH"
cvss: 8.7
epss: "35%"
vendor: "Dana Powers"
kev: false
exploited: false
published: "2026-06-10 22:16:55"
tags: [cve, security, high]
source: tsecurity.de CVE-Dossier
exported: "2026-09-17T23:32:52+02:00"
---

# CVE-2026-10142

> 8.7 HIGH · 🧪 PoC

## Beschreibung

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-Vektor

```
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
```

| Metrik | Wert | Bewertung |
|---|---|---|
| AV Angriffsvektor | Netzwerk | bad |
| AC Komplexität | Gering | bad |
| PR Privilegien | Keine | bad |
| UI Interaktion | Keine | bad |

## Patch verfügbar (OSV)

- 054b570c971f6747aeb01a130d80f7d156152e13 (Commit)
- 6e4831444f972d169cdd11f5c8d50333cea3f19b (Commit)

## Referenzen

- <https://www.vulncheck.com/advisories/kafka-python-prior-to-denial-of-service-via-protocol-parser-frame-length>
- <https://github.com/dpkp/kafka-python/pull/3019>
- <https://github.com/dpkp/kafka-python/pull/3026>
- <https://github.com/dpkp/kafka-python/commit/6e4831444f972d169cdd11f5c8d50333cea3f19b>

---
_Exportiert aus dem [tsecurity.de CVE-Dossier](https://tsecurity.de/cve?cve=CVE-2026-10142) · Datenquellen: EUVD (ENISA), NVD, OSV, CISA KEV, FIRST EPSS, Exploit-DB, BSI BITS_
