High severity7.5NVD Advisory· Published Jun 10, 2026· Updated Sep 10, 2026
CVE-2026-10143
CVE-2026-10143
Description
kafka-python prior to 2.3.2 contains a denial-of-service vulnerability in SCRAM authentication handling that allows a malicious or machine-in-the-middle broker to freeze the client event loop by supplying an excessively large iteration count. In scram.py, ScramClient.process_server_first_message() passes the broker-controlled SCRAM iteration count directly to hashlib.pbkdf2_hmac() without validation, blocking producer sends, consumer polls, admin operations, and heartbeats, which can cause consumer group eviction and repeated reconnect failures.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
kafka-pythonPyPI | < 2.3.2 | 2.3.2 |
Affected products
7cpe:2.3:a:dpkp:kafka-python:*:*:*:*:*:python:*:*+ 2 more
- cpe:2.3:a:dpkp:kafka-python:*:*:*:*:*:python:*:*range: <2.3.2
- (no CPE)range: <2.3.2
- (no CPE)
- osv-coords4 versionspkg:apk/chainguard/mlrunpkg:apk/chainguard/mlrun-apipkg:apk/chainguard/mlrun-api-fipspkg:apk/chainguard/mlrun-fips
< 1.11.0-r5+ 3 more
- (no CPE)range: < 1.11.0-r5
- (no CPE)range: < 1.11.0-r5
- (no CPE)range: < 1.11.0-r2
- (no CPE)range: < 1.11.0-r2
Patches
Vulnerability mechanics
References
17- github.com/dpkp/kafka-python/commit/6e4831444f972d169cdd11f5c8d50333cea3f19bnvdPatchWEB
- github.com/dpkp/kafka-python/pull/3019nvdIssue TrackingPatchWEB
- github.com/dpkp/kafka-python/pull/3026nvdIssue TrackingPatchWEB
- www.vulncheck.com/advisories/kafka-python-prior-to-dos-via-scram-iteration-count-in-scram-pynvdPatchThird Party AdvisoryWEB
- github.com/advisories/GHSA-2jcm-hq8r-84wxghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-10143ghsaADVISORY
- access.redhat.com/errata/RHSA-2026:28571nvdWEB
- access.redhat.com/errata/RHSA-2026:30076nvdWEB
- access.redhat.com/errata/RHSA-2026:33683nvdWEB
- access.redhat.com/errata/RHSA-2026:41066nvdWEB
- access.redhat.com/errata/RHSA-2026:42796nvdWEB
- access.redhat.com/security/cve/CVE-2026-10143nvdWEB
- bugzilla.redhat.com/show_bug.cginvdWEB
- github.com/dpkp/kafka-python/commit/74400d7ef1b54ad24d4b8170c23b58d1cab65e4fghsaWEB
- github.com/dpkp/kafka-python/releases/tag/2.3.2ghsaWEB
- github.com/pypa/advisory-database/tree/main/vulns/kafka-python/PYSEC-2026-2191.yamlghsaWEB
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-10143.jsonnvdWEB
News mentions
0No linked articles in our index yet.