CVE-2026-10143
Published:June 10, 2026
Updated:June 28, 2026
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.
Affected Packages
kafka-python (CONDA):
Affected version(s) >=2.3.0 <2.3.2Fix Suggestion:
Update to version 2.3.2kafka-python (CONDA):
Affected version(s) >=1.3.3 <2.2.20Fix Suggestion:
Update to version 2.2.20kafka-python (PYTHON):
Affected version(s) >=2.3.0 <2.3.2Fix Suggestion:
Update to version 2.3.2kafka-python (PYTHON):
Affected version(s) >=0.9.0 <2.2.20Fix Suggestion:
Update to version 2.2.20Related Resources (4)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.7
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Weakness Type (CWE)
Uncontrolled Resource Consumption
EPSS
Base Score:
0.39