CVSS 4.0
8.7 highCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NHigh (8.7) in dpkp kafka-python. EPSS 0.3% estimated probability of exploitation activity in the next 30 days. Fixed in kafka-python 2.3.2.
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:Hkafka-python (PyPI): fixed in 2.3.2Explain CVE-2026-10142 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-10142?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-10142?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-10142 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| dpkp:kafka-python | before 2.3.2 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-m3px-q5gj-j9x7 | PyPI | kafka-python | <2.3.2 | 2.3.2 |
| PYSEC-2026-2190 | PyPI | kafka-python | <2.3.2 | 2.3.2 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12, 13 | python-kafka | no fix listed | DEBIAN-CVE-2026-10142 |
| Debian | 14 | python-kafka | 2.0.2-13 | DEBIAN-CVE-2026-10142 |
| Ubuntu | 16.04:LTS, 18.04:LTS, 20.04:LTS and 5 more | python-kafka | no fix listed | UBUNTU-CVE-2026-10142 |
| openSUSE | Tumbleweed | python-kafka-python | 2.3.2-1.1 | openSUSE-SU-2026:11004-1 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · openSUSE.
Red Hat rates this Moderate.
A flaw was found in kafka-python. The protocol parser does not validate frame length values, allowing a malicious broker or man-in-the-middle attacker to exhaust memory or hang connections by sending a crafted 4-byte frame length. This can cause multi-gigabyte memory allocation or leave connections in a broken state, causing consumers to stop heartbeating until restart.
Upgrade to kafka-python 2.3.2 or later. As a workaround, ensure Kafka broker connections use TLS with mutual authentication to prevent man-in-the-middle attacks.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Quay 3 | quay/quay-rhel8 | Fix deferred | |
| Red Hat Quay 3 | quay/quay-rhel9 | Fix deferred |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-10142.