CVE-2026-10143
HIGHkafka-python prior to 2.3.2 DoS via SCRAM Iteration Count in scram.py
Title source: cnaDescription
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.
References (4)
Core 4
Core References
Technical Description technical-description
https://github.com/dpkp/kafka-python/pull/3019
Third Party Advisory third-party-advisory
https://www.vulncheck.com/advisories/kafka-python-prior-to-dos-via-scram-iteration-count-in-scram-py
Scores
CVSS v3
7.5
EPSS
0.0039
EPSS Percentile
30.9%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
yes
Technical Impact
partial
Details
CWE
CWE-400
Status
published
Products (2)
Dana Powers/kafka-python
< 2.3.2
dpkp/kafka-python
< 2.3.2
Published
Jun 10, 2026
Tracked Since
Jun 11, 2026