VDB
CVE-2026-10142
CVE-2026-10142
PUBLISHED
CVSS 7.5 HIGH
Reported by VulnCheck · Published June 10, 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.
Risk Scores
CVSS 3.1
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Dana Powers | kafka-python | 0 |
| PyPI | kafka-python | 0 |
| Dana Powers | kafka-python | 0, 0, 0 |
| chainguard | mlrun | 0 |
| dpkp | kafka-python | |
| chainguard | mlrun-fips | 0 |
Timeline
- Jun 10, 2026 CVE Published
- Jun 11, 2026 Coalition ESS Score
- Jun 15, 2026 Security Advisory
- Aug 7, 2026 EPSS Score
- Aug 24, 2026 EPSS Score
- Aug 26, 2026 EPSS Score
- Aug 30, 2026 EPSS Score
- Sep 4, 2026 EPSS Score
References
- technical-descriptionthird-party-advisory
- issue-tracking
- issue-tracking
- patch
- https://nvd.nist.gov/vuln/detail/CVE-2026-10142 advisory
- https://github.com/advisories/GHSA-m3px-q5gj-j9x7 advisory
- https://github.com/dpkp/kafka-python/commit/9f92d0f53ecfee738c54638867c3d67f83017bca patch
- https://github.com/dpkp/kafka-python/releases/tag/2.3.2 url
- https://github.com/pypa/advisory-database/tree/main/vulns/kafka-python/PYSEC-2026-2190.yaml advisory